D.11 Operating on X–Y data

An X–Y data object is a collection of ordered pairs that ABAQUS stores in two columns—an X-column and a Y-column. The Operate on XY Data dialog box allows you to create new X–Y data objects by performing operations on previously saved X–Y data objects. In this tutorial you will create a stress versus strain data object by combining a stress versus time data object with a strain versus time data object. Then, you will plot the stress-strain curve.


D.11.1 Creating the stress versus time and strain versus time data objects

The first step in creating the stress-strain curve is to create the stress versus time and the strain versus time data objects from the history output. The data objects will contain data from only the first step of the analysis, where the punch rests on the surface of the foam block and compresses the block under its own weight.

To create the X–Y data objects:

  1. In the Results Tree, double-click the XYData container.

    The Create XY Data dialog box appears.

  2. In this dialog box, select ODB history output if it is not already selected and click Continue.

    The History Output dialog box appears.

  3. In the History Output dialog box, do the following:

    1. Click the Variables tab.

    2. In the Output Variables field, select Logarithmic strain components: LE22 at Element 1 Int Point 1 in ELSET CENT.

    3. Click the Steps/Frames tab.

    4. Select Step 1.

    5. Click Save As.

      The Save XY Data As dialog box appears.

    6. Name the X–Y data Strain, and click OK.

    A data object called Strain containing logarithmic strain data (LE22) from integration point 1 of element 1 during the first step of the analysis appears in the XYData container.

  4. Use a similar technique to create a data object containing stress data (S22) from integration point 1 of element 1 during the first step of the analysis. Name this data object Stress.

    Now you are ready to combine the two data objects to create a stress versus strain data object.

  5. Dismiss the History Output dialog box.


D.11.2 Combining the data objects

In this section you will create a stress versus strain data object by combining the stress versus time and strain versus time data objects.

To combine the data objects:

  1. In the Results Tree, double-click the XYData container.

  2. From the Create XY Data dialog box that appears, select Operate on XY data and click Continue.

    An Operate on XY Data dialog box appears. The dialog box contains the following lists:

    • The XY Data field on the left contains a list of existing X–Y data objects.

    • The Operators field on the right contains a list of all the possible operations you can perform on the data objects.

  3. From the Operators field, click combine(X,X).

    combine( ) appears in the expression text field at the top of the dialog box.

  4. In the XY Data field, drag the cursor across both the Strain and the Stress data objects to select both and click Add to Expression near the bottom of the dialog box.

    The expression combine("Strain","Stress") appears in the expression text field. In this expression "Strain" will determine the X-values and "Stress" will determine the Y-values in the combined plot.

  5. From the buttons along the bottom of the Operate on XY Data dialog box, click Save As.

  6. From the Save XY Data As dialog box that appears, enter the name Stress/strain and click OK.

    The new data object Stress/strain appears in the XY Data Manager.

  7. Cancel the Operate on XY Data dialog box.


D.11.3 Plotting and customizing the stress-strain curve

You will now use the Stress/strain data object that you just created to plot the stress-strain curve.

To plot the stress-strain curve:

  1. Your plot of stress versus strain will inherit the customized settings from your previous plot. To restore the default plot options, do the following:

    1. In the Results Tree, expand the XYPlots container.

    2. Click mouse button 3 on XYPlot-1; from the menu that appears, select XY Plot Options.

    3. In the XY Plot Options dialog box that appears, click Defaults.

    4. Click Apply.

  2. In the XYData container, select Stress/strain. Click mouse button 3; from the menu that appears, select Plot.

    A plot of the stress-strain curve with default axis titles appears in the viewport.

  3. To change the axis titles, click the Titles tab in the XY Plot Options dialog box. Select User-specified for both axis titles, and type Strain for the X-axis title and Stress for the Y-axis title.

  4. Click OK to see your titles and to close the XY Plot Options dialog box.

    The plot of stress versus strain appears, as shown in Figure D–14.

    Figure D–14 X–Y plot of stress versus strain.