Skip to content
Discussion options

You must be logged in to vote

@govindarajumd-lab ,

You can definitely do this with PyMechanical, and there are already good examples you can refer to. A good starting point is the official PyMechanical examples page:
https://mechanical.docs.pyansys.com/version/stable/examples/index.html

Look for examples related to boundary conditions or named selections.

Since you’re new to coding, an easy and very practical approach is to use Record Scripting in Ansys Mechanical. Just apply the Fixed Support to your existing named selection through the GUI, stop the recording, and then copy the relevant part of the generated script. You can paste that code directly into your VS Code Jupyter notebook and reuse or slightly adapt it.
h…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by govindarajumd-lab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants