DJStatics
Marine/Ocean
- Sep 22, 2021
- 14
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.
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.