Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation General Mechanical Changing Body Dimension in API Reply To: Changing Body Dimension in API

ErKo
Ansys Employee

 

 

 

HI

The easiest is just to go to the system and change under the Geometry/Properties, the Analysis Type to 2D.

As for your question related to mechanical scripting:

You need another line to set dimensions to 2D:

 

        Body.Dimension=ShellBodyDimension.Two_D
        Body.Behavior=Model2DBehavior.PlaneStrain

All the best

Erik

 

 

 

[bingo_chatbox]