Академический Документы
Профессиональный Документы
Культура Документы
cross section is not MAG. FACTOR =+5.0E+00 DISPLACED MESH ORIGINAL MESH
determines how long the frame takes to store and how large PEEQ VALUE
-INFINITY
+2.22E-16
+4.42E-02
window, the shorter the capture time and the smaller the size
+2.65E-01
+3.09E-01
+3.54E-01
+3.98E-01
+4.42E-01
image data are read directly from the file on disk. This will PEEQ VALUE
-INFINITY
+2.22E-16
+4.42E-02
3 1
PEEQ VALUE
-INFINITY
+2.22E-16
In small displacement analysis ABAQUS/Post magnifies The following ABAQUS/Post commands create a simple
the deformation so it is clearly visible. To avoid this animation file. The analysis used is Example Problem 4.2.14.
magnification varying from increment to increment, To extract the input file use the command:
constant magnification can be specified using the ∗SET,
DMAG or ∗SET, CMAG commands before the capture is abaqus fetch input=4021401 job=punch
started.
This extracts the input file from the examples directory in
The first thing ABAQUS/Post does after the command your ABAQUS installation and puts it into the current
∗SET, CAPTURE has been typed is to store the image that working directory as punch.inp. You should edit this file
is currently on the screen. It is therefore important to ensure to modify the ∗RESTART, WRITE command so that data
that the first image you require in the animation sequence is are written every 10 increments, and then run the analysis.
the image on the screen when ∗SET, CAPTURE is typed. To
Then use the following commands in ABAQUS/Post to
avoid the first frame appearing in the animation twice, any
create the animation. (The commands may be put together
subsequent sequence commands should start from the
and submitted as a journal file.)
second frame in the animation. The BSTEP and BINC
parameters on the ∗SEQUENCE command can be used to ∗restart, file=punch
start the sequence at the desired point. ∗∗SET UP THE VIEW
For contour plots it is usually best to maintain one set of ∗zoom, factor=0.9
contour levels for the entire animation sequence using the ∗view, view=(1,1,1), up=(0,1,0)
∗set, axisymmetric angle=180
∗SET, CMIN and ∗SET, CMAX commands (by default ∗detail, elset=metal
ABAQUS/Post will set the contour levels to cover the range ∗set, center=(0,0,-18)
of data in the current plot). ∗set, ctitle=off, dtitle=off
The smoothness of the animation depends on the number ∗∗SCALE THE SCREEN
of frames and the changes occurring in the plot between each ∗draw, displaced
frame. For most animations it is desirable to have around 20 ∗set, rescale=off,
∗set, undeformed=off, dcolor=off
frames covering the period of the analysis. You may need ∗set, shade=on, normalsmooth=70
more if the deformations are particularly large. You should ∗∗SET CONSTANT CONTOUR LEVELS
ensure that enough states are stored in the restart file to create ∗set, cmin=0, cmax=0.487
a reasonable animation. ∗set, clegend=(0.1,0.5)
Page 4 ABAQUS/Answers
∗∗SET UP THE FIRST FRAME The routines used to read the .fil file are:
∗restart, step=1, inc=1
∗contour, var=peeq • INITPF, with which you specify the name of the file, the
∗set, hide=on, erase=off initial unit number to read from, and whether a new .fil
∗colorset, elset=metal, color=black file will be written.
∗draw, displaced
∗set, shade=on, erase=on • DBRNU, which specifies the unit number for a particular
∗∗START CAPTURING THE ANIMATION file.
∗set, capture=punch.flc
∗∗SEQUENCE THROUGH ALL STORED DATA • DBFILE, which reads a record from a file.
∗sequence, time, bstep=2
&contour, v=peeq
&set, hide=on, erase=off The file contains a series of records, each with a number
&colorset, elset=metal, color=black of words. The first word gives the number of words in the
&draw, displaced record. The second contains an integer key that identifies the
&set, shade=on, erase=on record type. The remainder of the record contains the data
&end
∗∗CLOSE THE ANIMATION FILE relevant to that particular record type. Section 6.1.1 of the
∗set, capture=close User’s manual describes these data for each type of record,
explains how to extract the data from each record, and
To play back the animation use the ABAQUS/Post presents a simple example of a program that reads a results
command: file. Chapter 7 of the ABAQUS/Standard Verification
manual contains further examples of such programs.
∗animate,file=punch.flc,direct,filecolors
FORTRAN errors are the most common problem with
user-written postprocessing programs. You should ensure
that your code compiles successfully before attempting to
link it with the ABAQUS libraries. Another common
Postprocessing from the problem is that the compile and link commands may not be
ABAQUS Results File set correctly in the abaqus.env environment file. Consult
the ABAQUS Site Guide to determine the correct commands
The results (.fil) file produced by ABAQUS is a for your computer.
sequential file, in binary or ASCII format, in which each The libraries supplied with the ABAQUS installation are
record contains a set of results data. The format of the file is created using a particular version of the FORTRAN compiler
described in Chapter 6 of the User’s manual.
and operating system. If your machine does not have
The .fil file can be used for x–y plots in ABAQUS/Post, compatible FORTRAN and operating system levels your
to transfer results to external postprocessors, or to program may not link successfully with the ABAQUS
postprocess results with your own programs. libraries. The correct system requirements for all machines
FORTRAN interface routines are supplied with the are given in the ABAQUS Site Guide.
ABAQUS installation to allow you to access the .fil file
and extract the contents of any record. These routines must The ∗FILE FORMAT option allows the .fil file to be
be called from within a FORTRAN program which is written in ASCII format, so that it may be moved between
compiled and linked with the ABAQUS libraries. This is dissimilar computers. The ascfil command line option also
done by using the make option. To compile and link a allows .fil files to be converted between binary and ASCII
program stored in a file prog.f, use the command: format . ASCII format files are not in a “readable” form: they
must be accessed through the interface routines described
abaqus make job=prog user=prog.f above.