13.2 Plot force vs. displacement?

You need these steps:

  1. Create a reference point (section 2.2) and assign a set to it (section 2.1)

  2. Use a rigid body constraint (subsection 6.1.2)

  3. Request variables to be saved in the History Output (section 5.2)

  4. Apply the force (or displacement) to the RP (section 7.1)

  5. Create XY Data from the History Output (section 12.1)

  6. Save XY Data to a file (section 12.2)

Once you have the data in a text file, you can plot it with your favorite program. I recommend GNUPlot. It’s free!!!


Here is an example GNUPlot file with commands to plot the abaqus.rpt file.

# plot columns 1 and 2 from abaqus.rpt file
set term pdf font "arial, 12"
unset grid
set xlabel 'displacement'
set ylabel 'force'

set linetype 1 lc rgb "black" lw 1 pt 1 ps 0.5
#set xtics 0,0.02,0.0025
set output "c:\simulia\user\abaqus-plot.pdf"
plot 'c:\simulia\user\abaqus.rpt' using 1:2 with lines t 'force'
set term wxt

With a text editor, such as Notepad++, saved these commands in a file named: abaqus.plt.

Using a text editor, open the abaqus.plt file and put a comment escape symbol # at the start of the line with the title. The # tells GNUPlot not to plot that line. It is a comment line.

Open GNUPlot. Drag and drop the file abaqus.plt inside the GNUPlot window. That’s it!!!