Automate process: Import CAD - Mesh - BC

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

Hi all,

 

I want to run simulation for some similar models (design 1, design 2, design 3).

I can record and play xml or python script. However I can not automate apply load  & bc.

 

Could you advise or any example for this?

Tagged:

Answers

  • Santhoshkumar
    Santhoshkumar
    Altair Employee
    edited March 2020

    Hi,

     

    Below are the different approach to automate the process

     

    Approach 1

     

    • Import a CAD (Imported CAD should contains groups / colors)
    • Generate mesh
    • Transfer the groups from CAD to mesh
    • Assign loads based on groups

    In this approach, when we bring the new model, the group / color information should be present in the CAD. In this way, we can fully automate the process

     


    <script> </script>

     

    Approach 2

     

    • Import a CAD (Imported CAD does not have groups / colors)
    • Import group template (Contains empty groups with standardized group names)
    • Generate mesh
    • Transfer groups from CAD to mesh
    • Assign loads based on groups

    In this approach, step 1 and 2 is manual. This is semi automated process. 

     

    Refer the attached 'Con_rod_automation.mp4' video.

     

    Approach 3

    • Import a CAD (Imported CAD does not have groups / colors)
    • Using select features tool (body right click > Select features), identify the features and create group
    • Generate mesh
    • Transfer groups from CAD to mesh
    • Assign loads based on groups

    This approach is fully automated. Refer 'How to record python script?' tutorial in SimLab help page. Click on F1 will take you to the help page.

     

    Kindly try any of the above approach which suits your process. Let me know if you have any difficulty.

    Unable to find an attachment - read this blog

  • alpha_21885
    alpha_21885 Altair Community Member
    edited March 2020

    Hi Santhos,

     

    Thanks for your great help. I will try to follow your suggestion.