Product: ABAQUS/Standard
This example illustrates the use of a FORTRAN program to read selected element integration point records from an ABAQUS results file to facilitate the postprocessing of elbow element results. X–Y data are created that are suitable for use with the X–Y plotting capability in ABAQUS/CAE.
This program shows how to retrieve integration point data for elbow elements from an ABAQUS results file to visualize one of the following:
Variation of a variable along a line of elbow elements,
Variation of a variable around the circumference of a given elbow element, or
Ovalization of a given elbow element.
To execute option 1, the elbow elements must be numbered such that they increase monotonically within the range of elements considered; all elements in the desired range must be elbow elements. X–Y data will be created with the X-data being the distance along the line of elbow elements, measured along the elbow centerline and the Y-data being the variable value. The user must ensure that the integration point coordinates (COORD) are written to the results file if either option 2 or 3 is needed. For option 2 X-data are the distance around the circumference of the elbow element, measured along the middle surface, and Y-data are the variable value. For option 3 the X–Y data are the current coordinates of the middle-surface integration points around the circumference of the elbow element, projected to a local coordinate system in the plane of the deformed cross-section. The origin of the local system coincides with the center of the cross-section; the plane of the deformed cross-section is defined as the plane that contains the center of the cross-section and integration points 1 and 2.
The user is prompted for the name of the results file (assumed to be binary) and the postprocessing option (1, 2, or 3). The user is then prompted for additional information depending on the option that was chosen; this information includes
The range of element numbers (options 2 and 3 require only a single element number),
The section point number (options 1 and 2 only),
The integration point number (option 1 only),
The element variable (options 1 and 2 only),
The component of the variable (as defined in Results file output format, Section 5.1.2 of the ABAQUS Analysis User's Manual, options 1 and 2 only),
The step number, and
The increment number.
The data are processed in a double DO-loop over all records, via a call to DBFILE. The desired data are stored in variable VAR; the integration point coordinates are stored in COORDS. The program checks to make sure the requested data are available in the results file. An error is issued if the user tries to process data that are not found in the results file.
Before program execution, compile and link the FORTRAN program by using the abaqus make utility:
abaqus make job=felbowRepeat this command until all FORTRAN errors are corrected. After successful compilation, the program's object code is linked automatically with the ABAQUS object codes stored in the shared program library and interface library to build the executable program. Refer to Chapter 4, Customizing the ABAQUS environment,” of the ABAQUS Installation and Licensing Guide to see which compile and link commands are used for a particular computer.
Before executing the program, run an analysis that creates a results file containing the appropriate output. This analysis includes, for example, output for the elements in a given range and the integration point coordinates of the elements. When the program is executed using the command abaqus felbow, the prompt
Enter the name of the input file (w/o .fil):will appear. Enter the name of the results file to define FNAME. The user is then prompted for other information, such as the desired postprocessing option, element number, etc. The program processes the data and produces a file named output.dat that contains the information required to visualize the elbow element results.
Elastic-plastic collapse of a thin-walled elbow under in-plane bending and internal pressure, Section 1.1.2, contains several figures created with the aid of this program. The output agrees with the expected results.