Element Location and attached Nodes

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

Hi,

I am using an imported mesh in HyperMesh. I would like to define boundaries based on faces locations. Firstly, I create faces using the following:

*createmark elements 1 'displayed'
*findfaces elements 1

This seems to have created extra elements (initial element count was 61, and after this command 307).

When I export the modified mesh as an .inp file, the new elements do not seem to appear (reading the .inp file in Notepad shows that there are only 61 elements). Therefore, I am unable to see what nodes are attached to each of the elements and can't locate the elements.

Would anyone be able to help me?

I am just looking for anyway to get location information about elements that were created when the faces where created.

Thanks

Then I would like to know

After I create faces on this mesh, I would like to be able to read in the new mesh

When I export an Abaqus type mesh (.inp) from HyperMesh

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2012

    here is a snippet to get the nodes of the faces... try it and make sure that it does what you need.



    hm_createmark elems 1 'advanced' 'displayed';
    *findfaces elems 1;

    hm_createmark nodes 1 'by comp name' '^faces'
    set nodeList [ hm_getmark nodes 1 ];

    foreach nodeId $nodeList {
    puts $nodeId;
    }

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2012

    Great,

    Thanks for that!