Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Probelm Assigning Matid in ansys

Status
Not open for further replies.

chris456s

Structural
Joined
Feb 2, 2017
Messages
50
Location
SG
I have a problem similar to the one discussed in thread569-361789.

Im using Ansys workbench 17.1
I use the *get command to retrieve some model data.
It would be useful to have the matid to get data related to each body.
But how do you find the Matid for each body?
Previous closed threads (like thread569-361789) have suggested assigning a command object "*set,x,matid" to each body.
This works great for small models, but what if I have a model with hundreds or thousands of bodies?
It is not practical to manually enter a command object for each body.
 
As 0rel mentioned in your linked discussion:

0rel said:
PS: I think Workbench assigns a matid to each and every solid in a descending order. If so, you can manually set your X to the position of the solid in the sub-tree. It can be faster but it is not clean and should be verified :)

You can verify it in Ansys Classic with ELIST,P.


Best regards,
Sze Kwan (Jason) Cheah
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top