Instructions for using "EXT"
Compile and link program files ext.f, rmesh.f, catalog.f, and inspect.f
ext - extract data from TOUGH2 outputs and generate preplot input
ext reads a TOUGH2 output file in order to generate input for TECPLOT. Printouts are located in the file as lines starting with 'TOTAL TIME'. Tables within a printout are located as lines starting with 'ELEM' and ending with a line of @'s. Connection tables are distinguished by having 'ELEM2' as the second column heading. The third column must be 'INDEX'. The rest of the column heading indicate variable names.
If not told explicitly, ext will assume a 2-d mesh and ignore the direction with the least range and will attempt to compute a catalog of areas from the connections. To tell ext explicitly, use one of the flags '-xy', '-xz', '-yz', or, for 3-d, '-xyz'.
You may supply a list of desired headings to extract on one line in a file specified by the flag '-w filename'.
You may supply a list of zones in a file specified by the flag '-z filename'
ext uses the 'MESH' file in the local directory to determine element names and locations.
ext uses the 'locat' file for locations if none are found in 'MESH'.
Column 1 is always ignored in the TOUGH2 output file as it is frequently used for FORTRAN carriage control.
'-w' file syntax: Only 1 line is read and it should be a space delimited list of column headings indicating the columns of interest.
'-z' file syntax: Lines beginning with 'Zone' (case insensitive) are the beginning of the description of a zone. (If the first line is not of this type, the line 'Zone' is assumed.) This line is written into the output with fields appended to describe the data in the zone, specifically, 'F=FEPOINT' and 'I=' and 'J=' with the appropriate values. Each of the other lines describes a quadrilateral of the zone. Triangles are described like a quadrilateral with two coincident points. A quadrilateral is described by listing the element names of the four corners in order -- point one connected to point two connected to point three connected to point four connected back to point one. The format of these lines is '(4(1X,A5))'.
go back to Free Programs
go to TOUGH2 Homepage