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!
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!