Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Get stress/temperature at nodes in assembly set

Status
Not open for further replies.

Taylor W

Geotechnical
Feb 7, 2023
14
Hello all,

I'm trying to find a way to get the Mises stress and temperature at nodes on an edge using a script. I've created an assembly set at that edge, and here's roughly what I'm currently doing:

o1 = session.openOdb(name='myODB.odb')
resultsSet = o1.rootAssembly.nodeSets['Set-1']
temps = o1.steps['Step-1'].frames[-1].fieldOutputs['TEMP']
resultsSetTemps = temps.getSubset(region=resultsSet)
print wellBottomTemp.values

However, with stresses and temperatures, it just prints an empty list. What am I doing wrong?
 
Replies continue below

Recommended for you

Check the documentation chapter Scripting --> Accessing an Output Database --> Using the Abaqus Scripting Interface to access an output database --> Reading from an output database --> Using regions to read a subset of field output data. It shows how to print field output from a given set.
 
The problem is that the TEMP field output contains values at element integration points and you are trying to extract a nodal subset from it. Use either fieldOutputs['NT11'] or extrapolate the integration point values to nodes using getSubset(region=resultsSet, position=ELEMENT_NODAL).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor