The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
How to get the area, inertia and torsion properties of cbar elements using the tcl/tk script.
Hello @brahmadev
It's up to which UserProfile are you using...
If you are using OptiStruct profile, you can get the data with follwoing commands.
AREA : hm_getvalue elems id=1 dataname=property.BeamSecA.results_area; Inertia 1a : hm_getvalue elems id=1 dataname=property.BeamSecA.results_Icentroid1; Inertia 2a : hm_getvalue elems id=1 dataname=property.BeamSecA.results_Icentroid0; Inertia 12a : hm_getvalue elems id=1 dataname=property.BeamSecA.results_Icentroid2; Torsion : hm_getvalue elems id=1 dataname=property.BeamSecA.results_J; Note: id= have to chage to your actual model's element ID.
Thanks, Imoto
hello imoto san
I am using nastran user profile.how would the syntax differs in that profile.
thanks
brahmadev
Fortunately OptiStruct and Nastran profile almost same:-) I guess you can get the data with last posted commands.
Sorry I found my misstake, you are asking about CBAR, but I was consider about CBEAM.
For the CBAR, the attribute name is little bit changed.
Following commands should be works fine for CBAR on OptiStruct and Nastran profiles.
AREA : hm_getvalue elems id=1 dataname=property.BeamSec.results_area; Inertia 1a : hm_getvalue elems id=1 dataname=property.BeamSec.results_Icentroid1; Inertia 2a : hm_getvalue elems id=1 dataname=property.BeamSec.results_Icentroid0; Inertia 12a : hm_getvalue elems id=1 dataname=property.BeamSec.results_Icentroid2; Torsion : hm_getvalue elems id=1 dataname=property.BeamSec.results_J;
Thanks,
Imoto
Thank you imoto san
Above commands are working to find area,inertia and torsion
Join us for a community conversation on Pulse Width Modulation (PWM), a fundamental technique in electric motor control, and explore how different PWM strategies can yield significantly different results. This webinar provides a comparative analysis of various PWM methods and their effects on motor efficiency, torque…
Join us for a community conversation to discover the Advanced Iterative Solver(AIS) in Simcenter Feko and its application to electrically large and computationally demanding electromagnetic models. The session will provide a general overview of how iterative solution methods can help improve efficiency of large scale…
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…