🎉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

find surface area of 2 component with some tolerance to create contact

User: "Pandurang"
Altair Community Member
Updated by Pandurang

Hi All,

 

by selecting 2 components , can we find surface area of both component close to each other with some tolerance to create contact.

is there any direct API?

any one having any idea regarding this?

@tinh

@Imoto

@vipin

Regards,

PD

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    Do you mean area of FE comp or area of surfs entites (CAD comp)

     

    For FE comp we use hm_getmass to get area

    But for CAD comp we have to loop foreach surface entity and use hm_getareaofsurface to get area and add it to comp area. It costs longer time.

     

    User: "Pandurang"
    Altair Community Member
    OP
    Updated by Pandurang

    @tinh Thanks for quick response...

     

    in my case..

    1. user will select 2 comp (CAD)....only input

    2. then i have to find surfaces of these comp having give tolerance gap.

    3. find smallest(area) out of 2.

    4  Mesh it (tria) smallest one

    5. project the mesh on other surface. (so that mesh will be matching for contact creation)

    6. create contact between them

    7. then create mesh for remaining surfaces of these two component.

    @Manjunath Dasar 

    @tinh

    @Imoto

    @vipin

    any idea how i can do this?

    any relevant API's...

     

    User: "tinh"
    Altair Community Member
    Updated by tinh

    No 2. You should use hm_measureshortestdistance

    No 3. Just a loop to find out smallest number