×
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

Nodal strain outputs using Abaqus Python for Post-Processing

Nodal strain outputs using Abaqus Python for Post-Processing

Nodal strain outputs using Abaqus Python for Post-Processing

(OP)
Hello all!

After going through all possible forums, I haven't been able to solve the problem of accessing nodal output variables using python to post-process my results. My model is just a simple beam model (Eltype=B31), that is subjected to bending. In this case I want to extract the nodal strain values at the top of the beam. Getting the values at the integration points proves no trouble. However generating a subset of nodal outputs doesn't seem to work. Instead of getting 1 output value per element as when using Int. Points as fieldOutput, I get two values per element. These values are however equal to each other and equal to the result at the integration point... I have requested 'element output, position=NODAL' in my input file. Can anyone help me with finding my mistake? Thank you very much in advance!

Here is my code:

# Open the output database.
psOdb = odbAccess.openOdb(path='bend-El-Output.odb')
# Select Node Set
elset=psOdb.rootAssembly.instances['PART-3-1'].elementSets['ELSET'] # Just a collection of all elements in the beam
nset=psOdb.rootAssembly.instances['PART-3-1'].nodeSets['NSET']

sCat = psOdb.SectionCategory(name='SC',description='n/a')
sP = sCat.SectionPoint(number=2,description='n/a')

A=psOdb.steps['Bending'].frames[10].fieldOutputs['LE'].getSubset(position=ELEMENT_NODAL, region=elset) #position=INTEGRATION_POINT works fine
A.getSubset(sectionPoint = elset.elements[0].sectionCategory.sectionPoints[4])

print A.values[2].data[0] # Probe a value of LE11

Cheers, Morten

RE: Nodal strain outputs using Abaqus Python for Post-Processing

Have you tried to use the node set and nodes as region?

RE: Nodal strain outputs using Abaqus Python for Post-Processing

(OP)
I tried that indeed, but it didn't give me results whatsoever sad

But a B31 element has 2 integration points right? Because when probing values in the viewer I can only find 1 value for integration point results. And with 1 integration point I can't see how interpolation can be applied in the element.. It also seems that only averaging is applied when nodal values are output in the viewer.

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