How to calculate the average Max Principal Stresses and Strains using a Python script?
How to calculate the average Max Principal Stresses and Strains using a Python script?
(OP)
Hello,
I have a very large model that is comprised of about 278k elements. I want to calculate the average Max Principal Stresses and Strains and the software crashes because of the too much data if I try to do that from the viewport, so I want to use a Python script. I have managed to calculate the stresses and strains S11,S22,S23,E11,E22,E23 etc but I'd like some help altering the python file to also calculate the max principal stresses and strains. I am a noob in python scripting and I am not getting anywhere with the documentation. I have attached the script that I am using. I appreciate your help in advance.
Thanks!
I have a very large model that is comprised of about 278k elements. I want to calculate the average Max Principal Stresses and Strains and the software crashes because of the too much data if I try to do that from the viewport, so I want to use a Python script. I have managed to calculate the stresses and strains S11,S22,S23,E11,E22,E23 etc but I'd like some help altering the python file to also calculate the max principal stresses and strains. I am a noob in python scripting and I am not getting anywhere with the documentation. I have attached the script that I am using. I appreciate your help in advance.
Thanks!





RE: How to calculate the average Max Principal Stresses and Strains using a Python script?
So when you want to get these principals into the ODB to read them out of there with a python script, you have to request them as Field Output. The varaibles are SP and EP.
See Abaqus users Manual 4.2.1 Abaqus/Standard output variable identifiers - Principal value output
RE: How to calculate the average Max Principal Stresses and Strains using a Python script?
Are you new to this forum? If so, please read these FAQ:
http://www.eng-tips.com/faqs.cfm?fid=376
http://www.eng-tips.com/faqs.cfm?fid=1083
RE: How to calculate the average Max Principal Stresses and Strains using a Python script?