DBFILE (Read from a File)
Utility Routine Interface
CALL DBFILE(LOP,ARRAY,JRCD)
Variables to Be Provided to the Utility Routine
- LOP
-
A flag, which you must set before calling DBFILE, indicating the operation. Set LOP=0 to read the next record in the file; set LOP=2 to rewind the file currently being read (for example, if it is necessary to read the file more than once, it must be rewound since it is a sequential file). If LOP=2 is used, the file must first be read to the end, and it should be rewound only when the end-of-file is reached.
Variables Returned from the Utility Routine
- ARRAY
-
The array containing one record from the file, in the format described in Results File. When LOP=0, this array will be filled by the data management routines with the contents of the next record in the file as each call to DBFILE is executed. ARRAY must be dimensioned adequately in your routines to contain the largest record in the file. For almost all cases 500 words is sufficient. The exceptions arise if the problem definition includes user elements or user materials that use more than this many state variables or if substructures with a large number of retained degrees of freedom are used (see Using Substructures for more details regarding substructures). When the results file has been written on a system on which Abaqus runs in double precision, ARRAY must be declared double precision in your routine.
- JRCD
-
Returned as nonzero if an end-of-file marker is read when DBFILE is called with LOP=0.