Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Scripting - Extracting envelope stresses from elements.

Status
Not open for further replies.

DJStatics

Marine/Ocean
Sep 22, 2021
14
0
0
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.
 
Replies continue below

Recommended for you

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.
Back
Top