Flange hex Mesh automation...

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

Dear All,

is it possible to automate hex mesh for Flange (see ref Image attached) with washer around holes (holes may more than 2) .

 

Any idea...Please Suggest...

@tinh

 

blob.png.bc680213a230a16743e96cf595517400.png

 

Regards 

PD

Answers

  • tinh
    tinh Altair Community Member
    edited November 2018

    yes,

    1) find holes

    2) washer split holes

    3) automesh upper faces

    4) drag down to generate hexas

  • Pandurang
    Pandurang Altair Community Member
    edited November 2018

    Hi Tinh

     

    hm_holedetectioninit
    *createmarkpanel surfs 1 'Please select surface'
    hm_holedetectionsetentities surfs 1
    hm_holedetectionsetholeparams hole_shape=31
    hm_holedetectionfindholes 1
    set n [hm_holedetectiongetnumberofholes]

     

    I using these commmands to find surface holes...but Not getting single hole through this..am i doing wrong?

     

  • tinh
    tinh Altair Community Member
    edited November 2018

    No, you aren't

    Select upper surface only

    It will return n=3 holes

  • Pandurang
    Pandurang Altair Community Member
    edited November 2018

    yes i am selecting upper surface only..but get nothing..

  • tinh
    tinh Altair Community Member
    edited November 2018

    Maybe lack of hm_holedetectionend

    just follow example in hm reference help

  • Pandurang
    Pandurang Altair Community Member
    edited November 2018

    Same example script is used but getting : Holes not detected.

  • tinh
    tinh Altair Community Member
    edited November 2018

    Which hm version is it?

  • Pandurang
    Pandurang Altair Community Member
    edited November 2018

    2017.2

     

  • tinh
    tinh Altair Community Member
    edited November 2018

    it's used for 2d only, this means your surfs must have red boundaries. when selecting the surfs, 'duplicate' them before 'proceed'

  • Pandurang
    Pandurang Altair Community Member
    edited November 2018

    yes,

    1) find holes

    2) washer split holes

    3) automesh upper faces

    4) drag down to generate hexas

     

    First thanks for help....

    Up to second point is done ...Now how can automesh the face..?

     

    Means how to use  *set_meshedgeparams and *set_meshfaceparams....

  • tinh
    tinh Altair Community Member
    edited November 2018

    Hi

    The usage is in hm reference help

    Or you can use *defaultremesh

    Except 2 washer surfs where you need to unify inner and outer density