Element Merging Feature

Altair Forum User
Altair Forum User
Altair Employee
edited August 2021 in Community Q&A

Hi,

 

I wonder if there is any element merging function in HM that can automatically element sizes and then merge neighbouring small elements? For instance, merge all elements smaller than size of 0.3 with their adjacent elements by collapsing edges, merging nodes etc.

 

Many thanks,

Wensong

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2014

    Hi Wensong,

     

    there is no such option available in HyperMesh which can automatically combines elements which falls below a specific size.

     

    You may consider writing a TCL script to  automate this process image/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'>

  • tinh
    tinh Altair Community Member
    edited October 2014

    Hi,

     

    I wonder if there is any element merging function in HM that can automatically element sizes and then merge neighbouring small elements? For instance, merge all elements smaller than size of 0.3 with their adjacent elements by collapsing edges, merging nodes etc.

     

    Many thanks,

    Wensong

     

    image/emoticons/default_biggrin.png' alt=':D' srcset='/emoticons/biggrin@2x.png 2x' width='20' height='20'>

    It could have a 'semi' automatic method:

    1)F10>check elems size <0.3 >Save failed

    2)F12>elems >retrieve>elems>by adjacent> mesh

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2014

    That is a good workaround.. but choose the element size properly during step 2 image/emoticons/default_biggrin.png' alt=':D' srcset='/emoticons/biggrin@2x.png 2x' width='20' height='20'>

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2014

    Hi Tinh & Prakash,

     

    Thanks for replying! I had a go at what you had suggested but found F12 i.e. 'Automesh Panel' only works for 2D meshes?

    Is there a similar feature for 3D Tetrahedrons, too?

     

    Prakash, if I have to merge the elements manually or with TCL scripts, what are the key steps and functions that I will need to use? I have tried 3D->edit element->cleanup but that will be totally manual, right?

     

    Many thanks for your help.

     

    Regards,

    Wensong

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2014

    Yes, you can also try the element combine option (Press F6 on your keyboard) which is again a manual method.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2014

    Hi Prakash,

     

    Hmm, element combine function is also not applicable to 3D tetra element I think. Any other suggestions?

     

    Cheers,

    Wensong

  • tinh
    tinh Altair Community Member
    edited October 2014

    Hi Prakash,

     

    Hmm, element combine function is also not applicable to 3D tetra element I think. Any other suggestions?

     

    Cheers,

    Wensong

    Hi

     

    1)F10>3D>check tetra elems size <0.3  >save failed

    2)d>display none elems

    3)F5>find attach>elems>retrieve>find

    4)Tools>faces>elems>select displayed elems>elems>save>find faces

    5)F2>elems>retrieve>delete

    6)3D>tetramesh>tetra mesh >select face elems>mesh

    (set tetra elems size at 3D>tetramesh>tetramesh parameter)

     

    image/emoticons/default_wink.png' alt=';)' srcset='/emoticons/wink@2x.png 2x' width='20' height='20'>

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2014

    Yes, it is not available for 3D elements.

     

    one way is to extract faces for 3D elements, and delete the existing 3D elements.

     

    2) Remesh the 2D face elements and make it to 3D again.

     

    This works pretty much same as explained before for tetras.

  • Aravind Bhandiwad
    Aravind Bhandiwad Altair Community Member
    edited August 2021

    Hi,

    I also need this script to merge elements less than minimum element size. Anybody has this script ? Greatly appreciated if you can share the script.

    Can Altair help on this ? 

    Thanks

    Aravind