×
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

ABAQUS: coordinates and strain values do not match

ABAQUS: coordinates and strain values do not match

ABAQUS: coordinates and strain values do not match

(OP)
Hi,

A simple project - we have a rectangle, a load is evenly applied on a centered line on its top, and we have to record the point coordinates and the axial strain at those coordinates. Everything seems right, the abasus picture output is a symmetrical strain field, as expected(attached picture). However, when I extract the data points' coordinates and corresponding strains and plot them on matlab, the result is off (third post picture). I want data that resembles the abaqus output - what am I doing wrong? MATLAB output is not the problem - the problem is that the coordinates do not match the strains. The code I use for extracting the data is below. Thanks for any help.



from odbAccess import *

#open file to write on and the odb

f = open('/space/gkapitanov/Desktop/gkapitanov_ayati_lab/Pseudo_ABAQUS_Plot/Full_data2.txt', 'wab')

odb = openOdb(path='/space/gkapitanov/Desktop/gkapitanov_ayati_lab/Pseudo_ABAQUS_Plot/Blunt_result2.odb')

# set up the extract

pointData = odb.rootAssembly.instances['DISK-1'].nodes;

#last frame

modelFrame = odb.steps['Step-2'].frames[-1]

strain = modelFrame.fieldOutputs['E']

# define a variable for the values of the strain data

field Values = strain.values

for v in fieldValues:

labelVar = v.elementLabel

x_var = pointData[labelVar].coordinates[0]

y_var = pointData[labelVar].coordinates[1]

f.write('%6.9f %6.9f %6.9f\n' % (x_var, y_var, v.data[2]))

odb.close()

f.close()

RE: ABAQUS: coordinates and strain values do not match

If you want to plot the deformed coordinates, you'll need to pull out the deformations as well to add to the coordinates you've extracted

RE: ABAQUS: coordinates and strain values do not match

(OP)
Zwtipp05,
Thank you for your response. I don't want the deformed coordinates. I simply want the strains and at which point they were calculated.
Furthermore, the deformations are calculated at the node values, while the strains are calculated at the integration points. And plotting the deformed values on MATLAB only deforms the rectangle itself but not the strain field.

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