Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Checking of penetration in HyperMesh with a TCL script. 1

Status
Not open for further replies.

akabarten

Automotive
Jun 29, 2009
358
0
0
PL
Hi,

I want to make a TCL script for HyperMesh to test my model for penetration.
I am using *checkpenetration command. HyperMesh checks my model but I do not know how to check from TCL do I have any penetration in the model or not.
How can I test penetration status from TCL, how I can get a list of elements with penetration from a script.

Thanks for any help.
Regards,
akaBarten
 
Replies continue below

Recommended for you

Hi,

*checkpenetration is the "new" command feeding the penetration Tab. The commands to retrieve those results are not documented (yet) which usually is a sign for being under construction for the upcoming version(s).

If you use the "old" function *penetrationchecktwo,
you can easily save the results using *savefailednodesvectors
and then e.g. query the node mark
*createmark nodes 1 retrieve
and check for contents.

Is that ok or do zou explicitly need the new command?

Regards
Happy New year thought
HyperWerker
 
Hi,

Many thanks for anwser.

>>> Is that ok or do you explicitly need the new command?
I do not think so. I choose *checkpenetration option since I found it in command file.

By the way I got also anwser from Altair support with following workaround:

*checkpenetration elements 1 0 1 0 0 0 0 0
::hmCollisionGui::FindTreeSelection 0 0 0 0 0
*marktousermark elements 1

and it works as I wish.

Best Regards,
Barten
 
Status
Not open for further replies.
Back
Top