×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

extract s33 from abaqus via python script

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!

RE: extract s33 from abaqus via python script

I think that the simplest way to do that is to use history output(you can choose how many outputs you get and in which node set you want to have this output)...when your simulation is done you get tabular data and you can copy/paste this data in excel
If you have any further questions, do not hesitate to ask...

Regards

RE: extract s33 from abaqus via python script

If you are looking for field output, then the stress components are listed in a data container in the order (S11, S22, S33, S12, S13, S23). You can access the data as below:

odb.steps[].frames[].fieldOutputs['S'].values[].data[]

So S33 will be data[2].

RE: extract s33 from abaqus via python script

(OP)
Thanks a lot for your help!

RE: extract s33 from abaqus via python script

I agree with both gugi91 and cooken, but there are pros and cons to both:

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

Yes, you can control the output frequency and the region for both. In the case of field outputs you can use:

fieldOutputs['S'].getSubset(region=" ").values[].data[]

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources