🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

area,inertia and torsion values of cbar element

User: "brahmadev"
Altair Community Member
Updated by brahmadev

How to get the area, inertia and torsion properties of cbar elements using the tcl/tk script. 

Find more posts tagged with

Sort by:
1 - 5 of 51
    User: "Imoto"
    Altair Employee
    Updated by Imoto

    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

    User: "brahmadev"
    Altair Community Member
    OP
    Updated by brahmadev

    hello imoto san

     

    I am using nastran user profile.how would the syntax differs in that profile.

     

    thanks

    brahmadev

     

    User: "Imoto"
    Altair Employee
    Updated by Imoto

    Hello @brahmadev

     

    Fortunately OptiStruct and Nastran profile almost same:-)
    I guess you can get the data with last posted commands.

     

    Thanks,
    Imoto

    User: "Imoto"
    Altair Employee
    Updated by Imoto

    Hello @brahmadev

     

    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

    User: "brahmadev"
    Altair Community Member
    OP
    Updated by brahmadev

    Thank you imoto san 

    Above commands are working to find area,inertia and torsion