extract s33 from abaqus via python script
extract s33 from abaqus via python script
(OP)
Hello everyone,
I am a new user in abaqus and I am using a python script to extract data from abaqus to excel. My problem is that I want to extract the stress S33 (Szz) and python does not recognize it. Do you know how can I type it in the script?
Thank you!
I am a new user in abaqus and I am using a python script to extract data from abaqus to excel. My problem is that I want to extract the stress S33 (Szz) and python does not recognize it. Do you know how can I type it in the script?
Thank you!





RE: extract s33 from abaqus via python script
If you have any further questions, do not hesitate to ask...
Regards
RE: extract s33 from abaqus via python script
odb.steps[].frames[].fieldOutputs['S'].values[].data[]
So S33 will be data[2].
RE: extract s33 from abaqus via python script
RE: extract s33 from abaqus via python script
If you follow gugi91's method, and you use a frequency of 1 in your input file, you will get every stress value calculated by Abaqus for a certain number of elements in your model. This will give you high frequency data without storing too many irrelevant data points. It's worth noting that you can also use a python script to extract that data as well.
If you use cooken's method, and you record the stress at every element in your model as a field output, (depending on the number of output steps requested) you will get lower frequency data (stress-time plots will not be smooth) and will also be recording the stresses of elements you're (possibly) not interested in. Of course you can also use cooken's method with an elset if you'd also like to inspect the stress state visually using a heat map.
RE: extract s33 from abaqus via python script
fieldOutputs['S'].getSubset(region=" ").values[].data[]