|
FEHMN Stor File Format
The sparse matrix
data file is both an input and an output file the FEHM application uses for
storing or reading geometric coefficients associated
with a finite element mesh. The sparse matrix data file is read during FEHM
initialization if being used for input. The generated name is of the form
filename.stor and can be written in ascii or binary (unformatted) mode.
1. ASCII Header consisting of 2 lines giving code version information, date, and time. 2. One line of integer numbers defining sparse matrix parameters, including the number of written coeficients and the number of nodes. 3. The volume associated with each node. In general this is the volume of the Voronoi polygon associated with the node. 4. List indicating the number of entries for each row of the matrix. If a node in a mesh has N edge connections, this number is N+1. 5. The connectivity list. Row i is a list of all nodes j1, j2, j3... connected to node i. The list contains the matrix diagonal entry, i. 6. Pointers or index numbers into the last block containing coefficient values. 7. Geometric area coefficients. In general this is the area of each face of the Voronoi polygon associate with node i, face j. 1. ASCII Header Title Line: The first line consists
of a character string of 72 or less characters. 2. Matrix Parameters The Parameter line contains 4 or 5 integer
values: NUM_WRITTEN_COEFS, NEQ, NCOEF+NEQ+1, NUM_AREA_COEF, and [NCON_MAX}.
[] denotes the optional parameter: 3. Voronoi Volumes This block has NEQ floating point values which
are the Voronoi Volumes associated with each node 1 through NEQ. 4. Count for Each Row The purpose of this block is to indicate the
number of specified entries each row of the matrix contains. (All unspecified
entries are assumed to be 0). 5. Row Entries The purpose of the next block is to state which
entries of the matrix are explicitly represented. Since we know the number
of entries per row, (given above), we can do this by stating which columns
of each row are represented. For example, suppose in our 3x3 matrix example,
we saw the following entries in this block: 6. Indices into Coefficient List This block contains NCOEF integer pointers
to entries to the Floating Point Values Block (described below.) The actual
values of a matrix entry can be repeated many times, particularly in a
matrix arising from the discretization of a structured mesh. Because
floating point values require more storage than integers, we have set
up the following data structure to allow compression: 7. Geometric Area Coefficient Values This block contains NUM_WRITTEN_COEFS*NUM_AREA_COEF
floating point values. ASCII Stor file examples for 2x2x2 tetrahedral mesh. STOR File example nstor: No compression.
fehmstor ascir8i4 LaGriT Sparse Matrix Voronoi Coefficients
08/14 10:23:54 20093-D Linear Diffusion Model (matbld3d_nstor)
STOR File example cstor: coef compression on, graph compression off.
fehmstor ascir8i4 LaGriT Sparse Matrix Voronoi Coefficients
08/13 15:40:06 20093-D Linear Diffusion Model (matbld3d_cstor)
2 8 55 1 8
1.250000000000E-01 1.250000000000E-01 1.250000000000E-01 1.250000000000E-01 1.250000000000E-01
1.250000000000E-01 1.250000000000E-01 1.250000000000E-01
9 14 22 27 32
37 42 50 55 1
2 3 5 7 1
2 3 4 5 6
7 8 1 2 3
4 7 2 3 4
7 8 1 2 5
6 7 2 5 6
7 8 1 2 3
4 5 6 7 8
2 4 6 7 8
1 2 2 2 1
2 1 1 2 1
2 1 1 2 1
1 2 2 2 2
1 1 2 2 1
1 2 2 2 2
1 1 2 1 1
2 1 2 1 1
2 1 2 2 2
1 0 0 0 0
0 0 0 0 0
10 16 25 30 35
40 49 55
0.000000000000E+00 -2.500000000000E-01
STOR File example gstor: coef compression off, graph compression on.
fehmstor ascir8i4 LaGriT Sparse Matrix Voronoi Coefficients
08/13 15:40:06 20093-D Linear Diffusion Model (matbld3d_gstor)
20 8 41 1 4
1.250000000000E-01 1.250000000000E-01 1.250000000000E-01 1.250000000000E-01 1.250000000000E-01
1.250000000000E-01 1.250000000000E-01 1.250000000000E-01
9 13 17 21 25
29 33 37 41
1 2 3 5 1
2 4 6 1 3
4 7 2 3 4
8 1 5 6 7
2 5 6 8 3
5 7 8 4 6
7 8
1 2 3 4 2
5 6 7 3 8
9 10 6 9 11
12 4 13 14 15
7 14 16 17 10
15 18 19 12 17
19 20 0 0 0
0 0 0 0 0
0
10 15 19 24 27
32 36 41
0.000000000000E+00 -2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 0.000000000000E+00
-2.500000000000E-01 -2.500000000000E-01 0.000000000000E+00 -2.500000000000E-01 -2.500000000000E-01
0.000000000000E+00 -2.500000000000E-01 0.000000000000E+00 -2.500000000000E-01 -2.500000000000E-01
0.000000000000E+00 -2.500000000000E-01 0.000000000000E+00 -2.500000000000E-01 0.000000000000E+00
STOR File example astor: Compress all, graph compression on and coef compression on.
fehmstor ascir8i4 LaGriT Sparse Matrix Voronoi Coefficients
08/13 15:40:06 20093-D Linear Diffusion Model (matbld3d_astor)
2 8 41 1 4
1.250000000000E-01 1.250000000000E-01 1.250000000000E-01 1.250000000000E-01 1.250000000000E-01
1.250000000000E-01 1.250000000000E-01 1.250000000000E-01
9 13 17 21 25
29 33 37 41
1 2 3 5 1
2 4 6 1 3
4 7 2 3 4
8 1 5 6 7
2 5 6 8 3
5 7 8 4 6
7 8
2 1 1 1 1
2 1 1 1 2
1 1 1 1 2
1 1 2 1 1
1 1 2 1 1
1 2 1 1 1
1 2 0 0 0
0 0 0 0 0
0
10 15 19 24 27
32 36 41
-2.500000000000E-01 0.000000000000E+00
|