June 14, 2023 at 7:48 amEmmanuel LecomteSubscriber
In an old 2018 post, we were explained how to calculate a signed Von Mises stress using this formula in a user defined result:
What could be the python script to put in ANSYS 2023 R1 ?
June 14, 2023 at 8:19 amErik KostsonAnsys Employee
Can you explain more what you want to do – what is the python script for signed VM, is very generic.
The above post is about user defined reusult using that expresssion which is defined by the user manually. So do you want to automate this, say by having a mechanical script that generates this user defined result ? Then the command to do this is:
Or perhaps the question is not the above then explain much more.
All the best
June 14, 2023 at 11:48 amEmmanuel LecomteSubscriber
To be more clear, I want to write a python script which calculated the signed Von Mises stress.
My simulation have 3 times steps. For each time step, I want to collect :
- the Von Mises stress,
- the SX, SY and SZ stresses,
then I want to calculate the signed Von Mises according to the formula presented in my first post.
I just want to write a python script which will give same result than user defined result.
(it will be used after in a more complex python script).
June 14, 2023 at 11:56 amErik KostsonAnsys Employee
See this post on how to extract stresses and uses them as needed.
Also look on the the python result object (same post above)
All the best
June 15, 2023 at 2:14 pmEmmanuel LecomteSubscriber
It's interesting, I'm on the right way but not yet arrived.
Now I can collect the SX, SY, SZ and Von Mises stresses, script the first part of my equation, but I dont' know how to script the "abs(sx+sy+sz+1e-6)".
Any idea ?
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Solver Pivot Warning in Beam Element Model
- Saving & sharing of Working project files in .wbpz format
- Understanding Force Convergence Solution Output
- User manual
- An Unknown error occurred during solution. Check the Solver Output…..
- What is the difference between bonded contact region and fixed joint
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- whether have the difference between using contact and target bodies
- Defining rigid body and contact
- Colors and Mesh Display
© 2023 Copyright ANSYS, Inc. All rights reserved.