Jump to content

Recommended Posts


Hello Forum!

 

How do I retrieve the beam section ID assigned for a bar2 (CBAR) element in NASTRAN profile?

 and for any given beam section ID how to I determine a given ID is "shell" or "generic"

Thanks in advance.

Regards,

Brahmadev.

Share this post


Link to post
Share on other sites

Hello brahmadev,

 

It's been a while since I've worked with beam sections or the NASTRAN profile, but I would suggest to you looking into the matrix browser.

Within the matrix browser you can see the information there is regarding all the properties the elements were assigned.

From the datanames you can then identify the path for the intended information within the database.

 

Hope this helps.

Best regards

Share this post


Link to post
Share on other sites

Hi Brahmadev,

 

You can find the config of the element using: 

hm_getvalue elems id=$elemID dataname=config

This will return a number which is associated with the type of element in this case Bar2 (60)

 

To get if it is shell or generic find the beamsect id:

hm_getvalue beamsects id=$beamId dataname=sectiontype

This will again return a number which will be associated with the sectiontype. 

 

Refer datanames help for more info. 

Share this post


Link to post
Share on other sites
10 hours ago, Livil Lyle said:

You can find the config of the element using: 

hm_getvalue elems id=$elemID dataname=config

This will return a number which is associated with the type of element in this case Bar2 (60)

 

 

Here I want to retrieve the the beam section ID which has been assigned to a given CBAR element...

Share this post


Link to post
Share on other sites

beam section is assigned to property, not bar elem.

from a bar elem, get its property (dataname: "collector.propertyid"}

then from that property id, get beamsection id (attribute name: \$BeamSec)

brahmadev likes this

Share this post


Link to post
Share on other sites
On 3/23/2019 at 10:17 AM, tinh said:

property  dataname: "collector.propertyid"}

beamsection id (attribute name: \$BeamSec)

 

Where do I find the " attributes name or dataname  "  in help files as in future I may require some other. So, from where should I refer these names ?

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...