🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Element Location and attached Nodes

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    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;
    }

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Great,

    Thanks for that!