×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Checking of penetration in HyperMesh with a TCL script.

Checking of penetration in HyperMesh with a TCL script.

Checking of penetration in HyperMesh with a TCL script.

(OP)
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

RE: Checking of penetration in HyperMesh with a TCL script.

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
 

RE: Checking of penetration in HyperMesh with a TCL script.

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources