hole detection commands

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi all,

I am trying to write a tcl script which can detect holes in the solid geometry.

For this purpose, I read HyperMesh reference manual, and saw the following commands:

*createmark elems 1 all

*findholesinit elems 1 2 45 0 0

*findholessolid 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

*findholesend

I executed these commands on a tetra mesh (a solid block with some holes, meshed with tetra elements), and HyperMesh displayed following error:

'Need to first complete Hole Detection preparation'; this runs *findholesinit command '

These commands can be found in the EXAMPLE section of this page at HyperWorks' website:

http://www.altairhyperworks.com/hwhelp/Altair/hw12.0/help//hwdref/hwdref.htm?_findholesinit.htm

I have tested this method with various solid geometries and solid meshes, and always got the same error. Anyone having idea about this issue, kindly give some helpful comments.

Best regards,

Mubeen.

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2013

    Hi Mubeen,

     

    try the following:

     

    *createmark elems 1 displayed

    *findholesinit elems 1 3 30 0 0

    *findholessolid 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0

    *findholesend

     

    the example is still a copy/paste bug in the manual. It is the process for shell holes...

     

    Regards,

    Mario