Acces to job frames in Python
Acces to job frames in Python
(OP)
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





RE: Acces to job frames in Python
You need to use an odb object not mdb. mdb is just to build the model.
RE: Acces to job frames in Python
RE: Acces to job frames in Python
To access to the Stape-1/Frame1/Y displacement
To change the model you need to use mdb instead of odb
Good Luck
Mohammad Shahbazi
www.OmranAfzar.com