Initialization
Details about the variables that are used in the postprocessing programs are
discussed in
Accessing the Results File Information.
Abaqus
uses a 512-word buffer named ARRAY
for the
reading and writing of data on the results file. This is dimensioned as
ARRAY(513)
. The integer equivalent is
JRRAY(513)
for a 64-bit computer or
JRRAY(2,513)
for a 32-bit computer. The
EQUIVALENCE
statement is used to equivalence
ARRAY
and
JRRAY
to simplify manipulation of real and
integer numbers in the data record stored in the buffer.
The information concerning the Fortran unit number and format of the results
file that is read is defined in LRUNIT(2,NRU)
,
where NRU
is the number of files to be
processed. The Fortran unit number for the nth file
is stored in
LRUNIT(1,n)
. The
information about the file format is stored in
LRUNIT(2,n)
, which
is initialized to 1 for ASCII format and to 2
for binary format. If a new results file is to be created by the postprocessing
program, the file format of the output file is defined similarly via the
variable LOUTF
, which is also initialized to 1
for ASCII format and 2 for binary format. The
root file name for both input and output results files is defined through the
character variable FNAME
. The root file name
case will be the same as the case in which
FNAME
is defined;
Abaqus
defines the file extensions to be lowercase letters. See
Accessing the Results File Information
for a discussion of the naming convention for the file extensions.
The final initialization phase is done internally by calling the
Abaqus
subroutines INITPF
and
DBRNU
. The Fortran interfaces are
CALL INITPF(FNAME, NRU, LRUNIT, LOUTF) CALL DBRNU (JUNIT)
where the arguments in the call to INITPF
are as described above, and JUNIT
is the
Fortran unit number connecting the file.
These integer variables must be defined before the subroutines are called.