×
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

Retrieving Wrong Vonmisses Stress data for an Element in ABAQUS Using a macro

Retrieving Wrong Vonmisses Stress data for an Element in ABAQUS Using a macro

Retrieving Wrong Vonmisses Stress data for an Element in ABAQUS Using a macro

(OP)
Hi,

I am trying to load my ODB File and then trying to retrieve Vonmisses stress data for a particular element
I basically have a set named 'DISP_END_SET'.I am getting the set Object from Assembly .

Here is my macro:

odb = session.openOdb(name= 'H:\\MiniThessis\\MaterialModelling\\Job-4.odb')
Stress = odb.steps['Step-1'].frames[1].fieldOutputs['S']
assembly = odb.rootAssembly
elsetName = 'DISP_END_SET'
elemset = assembly.elementSets[elsetName]
SetStresses = Stress.getSubset(region=elemset)
Stress1 = SetStresses.values[400].data
print(Stress1)

When,I am printing this Stress1,I am getting an array of 6 Values.But Should n't I get 8 values instead of 6, if my element comprises of 8 nodes?
Also,I want to retrieve VonMisses Stress data.In the macro above,I have no where defined that I want to get the data of "Von Misses".

Could you please let me know the changes to be made in my code.

Thanks in Advance

RE: Retrieving Wrong Vonmisses Stress data for an Element in ABAQUS Using a macro

There are a couple of things you should think about:

- Mises stress is not written by default in the odb by the solver. But you can request that. Otherwise A/CAE calculates that, when you open the odb. But then it is a session variable and still not saved on the odb by default.

- Stresses are calculated and written by default at the integration point, not nodes. But you can request from the solver, that the stresses should be extrapolated and stored at the nodes. You can also request, that they are directly averaged there.

- The stress tensor has 6 components. I guess you are having a C3D8R element (= 8 nodes, 1 integration point) and these are the 6 data you are getting.


Overall, check out the Scripting Users Manual and especially the examples in there.

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