Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting - Extracting envelope stresses from elements.

Status
Not open for further replies.

DJStatics

Marine/Ocean
Joined
Sep 22, 2021
Messages
14
Location
BE
Hi there

I am using scripting to extract stresses from shell elements. The problem I can't solve is how to extract the max envelope stress for each element. I use the following statements in my python script to access stress (before specifying invarients):

S = Frame.fieldOutputs['S']
ElemSet = odb.rootAssembly.elementSets['SectionElem']
Set_S = S.getSubset(region=ElemSet).values


The problem is this will give stress values at the top and bottom of each shell element. How can I create an array which contains the max of the top and bottom stresses of each element? In CAE, in the visualization module, you can easily view the envelope stresses when specifying the section points and this is what I would like to extract.
 
Selecting envelope in Result --> Section Points in Abaqus/Viewer adds the following code to the replay file:

Code:
odbDisplay.basicOptions.setValues(sectionResults=USE_ENVELOPE)

Perhaps it will be useful for you. You could run the script that uses Abaqus/Viewer but runs in noGUI mode.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top