Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Python script that documents the max stress of a simulation?

Status
Not open for further replies.

TennisGuy543

Mechanical
Feb 28, 2013
15
I was wondering if it is possible to write a python script that locates the maximum stress in a simulation where the stress distribution varies with time and position.

Basically I am writing a parametric simulation. Many geometric parameters (length, thicknesses, radii, etc) can be varied. Also, there are many different time-varying loading scenarios that I need to implement. I was wondering if it is possible to write a python simulation that can loop through a simulation for X number of times and document the max stress for each simulation. Keep in mind the following

The max stress varies with time (obviously)
The max stress varies with location
Since the geometric parameters are being varied, the element/node numbering is different for each simulation


Is this possible? For some reason this seems really hard to do, but it could be a common procedure. I am asking because I do not want to spend hours trying to do something that is impossible or unreasonably difficult. However, it seems like this would be a common procedure for users who wish to find the max stress for many simulations.

Thanks!
 
Replies continue below

Recommended for you

see abaqus scripting manual: 9.10.1 Finding the maximum value of von Mises stress
You can just put a for loop around it looping over all your odb files.
Or make a bash script with abaqus python odbMaxMises.py -odb *.odb
-elset “ ALL ELEMENTS”
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor