Find Attached Elements "Dyna"

BG913
BG913 Altair Community Member
edited October 2020 in Community Q&A

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.c705033488e34bfb1c90020b7b4bc554.pngHi,

 

I would like to know, how to get the script to get the elements in contact (spotweld/tied) in dyna by giving only a node as input.

The command file does not give clear steps except for *findmark elements 1 1 1 etc.. or findfaces for getting the solid weld element faces.

I tried it manually but beyond getting the solid elements, I'm not getting the 2D elements which are defined in contact spotweld.

 

What must I do to get them too ??.   

Tagged:

Answers

  • BG913
    BG913 Altair Community Member
    edited October 2019

    @tinh @Livil Lyle @Pandurang any idea ??

  • Imoto
    Imoto
    Altair Employee
    edited October 2019

    Hello @BG913

     

    I guess 'hm_gettiedentities' is you are looking for.

     

    Ex:

    *createmark nodes 1 248;
    hm_gettiedentities nodes elems 1 2;
    hm_getmark elems 2;

     

    Thanks,

    Imoto

  • BG913
    BG913 Altair Community Member
    edited October 2019

    Yea. It is working. Thanks a ton :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />.. I thought that command was specifically for tied contact, so was trying other ones..