76185
Industrial
- Nov 7, 2008
- 16
Dear Abaqus users,
I am writting a Python subroutine which should do something for each computed frame. But how can I access to this frames in Python? Or how can I run a job frame by frame?
Example:
p=mdb.jobs['JobName']
p.submit()
"I would like to compute the next lines for the first frame."
node=mdb.model[name].rootAssembly.node[name]
If stress[node] >3000MPa:
Compute the next frame (Restart the job at the last step and last increment and go back to the first line of the subroutine.)
Else:
Run the next part of the subroutine
......(the next part)
I don't know how to do that...Any idea?
Thx
Douglas
I am writting a Python subroutine which should do something for each computed frame. But how can I access to this frames in Python? Or how can I run a job frame by frame?
Example:
p=mdb.jobs['JobName']
p.submit()
"I would like to compute the next lines for the first frame."
node=mdb.model[name].rootAssembly.node[name]
If stress[node] >3000MPa:
Compute the next frame (Restart the job at the last step and last increment and go back to the first line of the subroutine.)
Else:
Run the next part of the subroutine
......(the next part)
I don't know how to do that...Any idea?
Thx
Douglas