464 lines
30 KiB
Plaintext
Executable File
464 lines
30 KiB
Plaintext
Executable File
|
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * *
|
|
* * *
|
|
* * Program: LaGriT V3.330 Linux *
|
|
* * date_compile: 2021/10/15 test *
|
|
* * Run Time: 2021/Nov 4 15:42:09 *
|
|
* * Manual: http://lagrit.lanl.gov *
|
|
* * *
|
|
* * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
-----oOo-----
|
|
LaGriT V3 LA-CC-15-069 https://github.com/lanl/LaGriT
|
|
Copyright 2016. Triad National Security, LLC. All rights reserved. This
|
|
program was produced under U.S. Government contract 89233218CNA000001
|
|
for Los Alamos National Laboratory (LANL), which is operated by Triad
|
|
National Security, LLC for the U.S. Department of Energy/National Nuclear
|
|
Security Administration. All rights in the program are reserved by Triad
|
|
National Security, LLC, and the U.S. Department of Energy/National Nuclear
|
|
Security Administration. The Government is granted for itself and others
|
|
acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license
|
|
in this material to reproduce, prepare derivative works, distribute copies
|
|
to the public, perform publicly and display publicly, and to permit others to
|
|
do so. This software is open source and available under the BSD-3 License.
|
|
-----oOo-----
|
|
|
|
|
|
Output log file: outx3dgen
|
|
Command log file: logx3dgen
|
|
|
|
# Hybrid control volume tests
|
|
# These tests verify the hybrid and nohybrid options of dump / fehm and dump /
|
|
# stor. They also test cmo / addatt / / hybrid_volume, which is closely related.
|
|
# Note: gmv read/write commented out to avoid binary files in testing
|
|
# Input files:
|
|
# input03.inp
|
|
# input04.inp
|
|
# input08.gmv
|
|
# input09.inp
|
|
# Output files:
|
|
# out_01.{gmv,stor}
|
|
# out_02.gmv
|
|
# out_03.gmv
|
|
# out_04.{gmv,stor}
|
|
# out_05.stor
|
|
# out_06.stor
|
|
# out_07.stor
|
|
# out_08.stor
|
|
# out_09.gmv
|
|
# out_09_{hybrid,nohybrid}.stor
|
|
# out_11.{gmv,stor}
|
|
# out_11_h.stor
|
|
# Verify that the sum of the Voronoi volumes, the sum of the hybrid volumes, and
|
|
# the sum of the element volumes are all the same.
|
|
cmo/create/mo1///tet
|
|
createpts/xyz/11,11,11/0,0,0/10,10,10/1,1,1
|
|
RZ GENERATED POINTS 1 TO 1331
|
|
connect
|
|
No materials associated with 1331 noninterface points.
|
|
Coordinates of enclosing tetrahedron are:
|
|
-0.20000D+02 -0.75000D+01 -0.75000D+01
|
|
0.50000D+01 -0.75000D+01 0.42500D+02
|
|
0.30000D+02 -0.75000D+01 -0.75000D+01
|
|
0.50000D+01 0.42500D+02 0.50000D+01
|
|
Candidate connections that may cross boundaries = 2494
|
|
|
|
Successfully eliminated all multimaterial connections.
|
|
|
|
The mesh is now complete!
|
|
|
|
LaGriT FINISH: connect
|
|
|
|
# dump / out_01.gmv / mo1
|
|
dump/stor/out_01/mo1/hybrid
|
|
|
|
*** Construct and Compress Sparse Matrix:3D ***
|
|
*** Compress Area Coefficient Values ***
|
|
|
|
AMatbld3d_stor: Matrix compress_eps: 0.1000000E-07
|
|
AMatbld3d_stor: Local epsilon: 0.1000000E-14
|
|
|
|
AMatbld3d_stor: Using hybrid median-Voronoi volumes
|
|
cmo/addatt/mo1/hybrid_factor/vdouble/scalar/nelements
|
|
finish
|
|
AMatbld3d_stor: *****Negative Coefficients ******
|
|
AMatbld3d_stor: Total Number of Negative Coefficients 1
|
|
AMatbld3d_stor: Number of Significant Negative Coefs 0
|
|
AMatbld3d_stor: Number of 'zero' (< 10e-8 *max) coefs 1
|
|
cmo/addatt/mo1/ccoef/VDOUBLE/scalar/nnodes/linear/permanent/afgx/0.0/
|
|
finish
|
|
cmo/addatt/mo1/ij_ccoef/VINT/scalar/nnodes/linear/permanent/afgx/0.0/
|
|
finish
|
|
AMatbld3d_stor: npoints = 1331 ncoefs = 8593
|
|
AMatbld3d_stor: Number of unique coefs = 4
|
|
AMatbld3d_stor: Maximum num. connections to a node = 8
|
|
AMatbld3d_stor: Volume min = 1.2500000E-01
|
|
AMatbld3d_stor: Volume max = 1.0000000E+00
|
|
AMatbld3d_stor: Total Volume: 1.0000000E+03
|
|
AMatbld3d_stor: abs(Aij/xij) min = 4.9065389E-18
|
|
AMatbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
|
|
AMatbld3d_stor: (Aij/xij) max = 4.9065389E-18
|
|
AMatbld3d_stor: (Aij/xij) min = -1.0000000E+00
|
|
AMatbld3d_stor Matrix coefficient values stored as scalar area/distance
|
|
AMatbld3d_stor Matrix compression used for graph and coefficient values
|
|
ascii STOR file written with name out_01.stor
|
|
|
|
*** SPARSE COEFFICIENT MATRIX _astor SUCCESSFUL ***
|
|
|
|
3D Matrix Coefficient file written with name out_01.stor
|
|
|
|
cmo/addatt/mo1/hybrid_volume/hybrid
|
|
ADDATT/hybrid_volume: creating new attribute: hybrid
|
|
|
|
AMatbld3d_stor: Matrix compress_eps: 0.1000000E-07
|
|
AMatbld3d_stor: Local epsilon: 0.1000000E-14
|
|
|
|
AMatbld3d_stor: Using hybrid median-Voronoi volumes
|
|
cmo/addatt/mo1/hybrid_factor/vdouble/scalar/nelements
|
|
CMO_ADDATT warning: attribute already exist: mo1 hybrid_factor
|
|
finish
|
|
AMatbld3d_stor: *****Negative Coefficients ******
|
|
AMatbld3d_stor: Total Number of Negative Coefficients 1
|
|
AMatbld3d_stor: Number of Significant Negative Coefs 0
|
|
AMatbld3d_stor: Number of 'zero' (< 10e-8 *max) coefs 1
|
|
AMatbld3d_stor: npoints = 1331 ncoefs = 8593
|
|
AMatbld3d_stor: Number of unique coefs = 4962
|
|
AMatbld3d_stor: Maximum num. connections to a node = 8
|
|
AMatbld3d_stor: Volume min = 1.2500000E-01
|
|
AMatbld3d_stor: Volume max = 1.0000000E+00
|
|
AMatbld3d_stor: Total Volume: 1.0000000E+03
|
|
AMatbld3d_stor: abs(Aij/xij) min = 0.0000000E+00
|
|
AMatbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
|
|
AMatbld3d_stor: (Aij/xij) max = 4.9065389E-18
|
|
AMatbld3d_stor: (Aij/xij) min = -1.0000000E+00
|
|
AMatbld3d_stor Matrix coefficient values stored as scalar area/distance
|
|
AMatbld3d_stor Matrix compression used for graph, not coefficient values
|
|
mo1 attribute with voronoi volumes created with name hybrid
|
|
|
|
*** SPARSE COEFFICIENT MATRIX _gstor SUCCESSFUL ***
|
|
|
|
3D Matrix Coefficient file written with name -notset-
|
|
|
|
cmo/addatt/mo1/voronoi_volume/voronoi
|
|
ADDATT/voronoi_volume: creating new attribute: voronoi
|
|
|
|
AMatbld3d_stor: Matrix compress_eps: 0.1000000E-07
|
|
AMatbld3d_stor: Local epsilon: 0.1000000E-14
|
|
AMatbld3d_stor: *****Negative Coefficients ******
|
|
AMatbld3d_stor: Total Number of Negative Coefficients 1
|
|
AMatbld3d_stor: Number of Significant Negative Coefs 0
|
|
AMatbld3d_stor: Number of 'zero' (< 10e-8 *max) coefs 1
|
|
AMatbld3d_stor: npoints = 1331 ncoefs = 8593
|
|
AMatbld3d_stor: Number of unique coefs = 4962
|
|
AMatbld3d_stor: Maximum num. connections to a node = 8
|
|
AMatbld3d_stor: Volume min = 1.2500000E-01
|
|
AMatbld3d_stor: Volume max = 1.0000000E+00
|
|
AMatbld3d_stor: Total Volume: 1.0000000E+03
|
|
AMatbld3d_stor: abs(Aij/xij) min = 0.0000000E+00
|
|
AMatbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
|
|
AMatbld3d_stor: (Aij/xij) max = 4.9065389E-18
|
|
AMatbld3d_stor: (Aij/xij) min = -1.0000000E+00
|
|
AMatbld3d_stor Matrix coefficient values stored as scalar area/distance
|
|
AMatbld3d_stor Matrix compression used for graph, not coefficient values
|
|
mo1 attribute with voronoi volumes created with name voronoi
|
|
|
|
*** SPARSE COEFFICIENT MATRIX _gstor SUCCESSFUL ***
|
|
|
|
3D Matrix Coefficient file written with name -notset-
|
|
|
|
cmo/addatt/mo1/volume/element_volume
|
|
ADDATT/volume: creating new attribute: element_volume
|
|
math/sum/mo1/total_hybrid_volume/1 0 0/mo1/hybrid
|
|
nodes in indexed point set = 1331
|
|
sink attribute being created: cmo = mo1 att = total_hybrid_volume
|
|
cmo/addatt/mo1/total_hybrid_volume/REAL/scalar/scalar/constant/permanent/
|
|
finish
|
|
1331 values summed from attribute hybrid
|
|
hybrid sum = 0.100000000000E+04
|
|
cmo select mo1
|
|
finish
|
|
math/sum/mo1/total_voronoi_volume/1 0 0/mo1/voronoi
|
|
nodes in indexed point set = 1331
|
|
sink attribute being created: cmo = mo1 att = total_voronoi_volume
|
|
cmo/addatt/mo1/total_voronoi_volume/REAL/scalar/scalar/constant/permanent/
|
|
finish
|
|
1331 values summed from attribute voronoi
|
|
voronoi sum = 0.100000000000E+04
|
|
cmo select mo1
|
|
finish
|
|
math/sum/mo1/total_element_volume/1 0 0/mo1/element_volume
|
|
sink attribute being created: cmo = mo1 att = total_element_volume
|
|
cmo/addatt/mo1/total_element_volume/REAL/scalar/scalar/constant/permanent/
|
|
finish
|
|
5826 values summed from attribute element_volume
|
|
element_volume sum = 0.100000000000E+04
|
|
cmo select mo1
|
|
finish
|
|
# Check that the code gives an error message when given a hex mesh instead of a
|
|
# tet mesh.
|
|
cmo/create/mo2///hex
|
|
createpts/brick/xyz/11,11,11/0,0,0/10,10,10/1,1,1
|
|
Number of nodes: 1331
|
|
Number of elements: 1000
|
|
Number of negative volume elements: 0
|
|
Total volume: 0.100000000000E+04
|
|
# dump / out_02.gmv / mo2
|
|
dump/stor/out_02/mo2/hybrid
|
|
|
|
*** DUMP/STOR Mesh object does not qualify for sparse matrix. ***
|
|
|
|
Mesh object has unsupported dimension: 3
|
|
cmo/status/mo2 brief
|
|
|
|
The current-mesh-object(CMO) is: mo2
|
|
|
|
2 Mesh Object name: mo2
|
|
number of nodes = 1331 number of elements = 1000
|
|
dimensions geometry = 3 element type = hex
|
|
dimensions topology = 3 8 nodes 6 faces 12 edges
|
|
boundary flag = 16000000 status = active
|
|
|
|
|
|
finish
|
|
|
|
*** DUMP/STOR Finished early, no stor file written! ***
|
|
|
|
# Check that it gives an error message if it gets a hybrid tet and hex mesh.
|
|
read/input03.inp/mo3
|
|
read/avs/input03.inp/mo3
|
|
geniee
|
|
finish
|
|
cmo/status/brief
|
|
|
|
The current-mesh-object(CMO) is: mo3
|
|
|
|
1 Mesh Object name: mo1
|
|
number of nodes = 1331 number of elements = 5826
|
|
dimensions geometry = 3 element type = tet
|
|
dimensions topology = 3 4 nodes 4 faces 6 edges
|
|
boundary flag = 16000000 status = inactive
|
|
|
|
2 Mesh Object name: mo2
|
|
number of nodes = 1331 number of elements = 1000
|
|
dimensions geometry = 3 element type = hex
|
|
dimensions topology = 3 8 nodes 6 faces 12 edges
|
|
boundary flag = 16000000 status = inactive
|
|
|
|
3 Mesh Object name: mo3
|
|
number of nodes = 12 number of elements = 2
|
|
dimensions geometry = 3 element type = hyb
|
|
dimensions topology = 3 10 nodes 10 faces 12 edges
|
|
boundary flag = 16000000 status = active
|
|
|
|
|
|
finish
|
|
finish
|
|
# dump / out_03.gmv / mo3
|
|
dump/stor/out_03/mo3/hybrid
|
|
|
|
*** DUMP/STOR Mesh object does not qualify for sparse matrix. ***
|
|
|
|
Mesh object has unsupported dimension: 3
|
|
cmo/status/mo3 brief
|
|
|
|
The current-mesh-object(CMO) is: mo3
|
|
|
|
3 Mesh Object name: mo3
|
|
number of nodes = 12 number of elements = 2
|
|
dimensions geometry = 3 element type = hyb
|
|
dimensions topology = 3 10 nodes 10 faces 12 edges
|
|
boundary flag = 16000000 status = active
|
|
|
|
|
|
finish
|
|
|
|
*** DUMP/STOR Finished early, no stor file written! ***
|
|
|
|
# Check that it behaves alright if it gets a 2D (triangular) mesh. Actually
|
|
# right now if the 2D code (matbld2d_stor) is called, it mostly ignores any
|
|
# superfluous arguments passed to it, including "hybrid" and "nohybrid". Ideally
|
|
# it should check the arguments and complain about the ones that don't make
|
|
# sense.
|
|
read/input04.inp/mo4
|
|
read/avs/input04.inp/mo4
|
|
geniee
|
|
finish
|
|
cmo/status/brief
|
|
|
|
The current-mesh-object(CMO) is: mo4
|
|
|
|
1 Mesh Object name: mo1
|
|
number of nodes = 1331 number of elements = 5826
|
|
dimensions geometry = 3 element type = tet
|
|
dimensions topology = 3 4 nodes 4 faces 6 edges
|
|
boundary flag = 16000000 status = inactive
|
|
|
|
2 Mesh Object name: mo2
|
|
number of nodes = 1331 number of elements = 1000
|
|
dimensions geometry = 3 element type = hex
|
|
dimensions topology = 3 8 nodes 6 faces 12 edges
|
|
boundary flag = 16000000 status = inactive
|
|
|
|
3 Mesh Object name: mo3
|
|
number of nodes = 12 number of elements = 2
|
|
dimensions geometry = 3 element type = hyb
|
|
dimensions topology = 3 10 nodes 10 faces 12 edges
|
|
boundary flag = 16000000 status = inactive
|
|
|
|
4 Mesh Object name: mo4
|
|
number of nodes = 41 number of elements = 64
|
|
dimensions geometry = 3 element type = tri
|
|
dimensions topology = 2 3 nodes 3 faces 3 edges
|
|
boundary flag = 16000000 status = active
|
|
|
|
|
|
finish
|
|
finish
|
|
# dump / out_04.gmv / mo4
|
|
dump/stor/out_04/mo4/hybrid
|
|
***Construct Regular Sparse Matrix:2D***
|
|
------------
|
|
Matbldtri
|
|
Number of Nodes = 41
|
|
Max. Connection to a Node = 9
|
|
Number of Area Coefficients = 249
|
|
Minimum Voronoi area = 7.8125000E-03
|
|
Maximum Voronoi area = 3.1250000E-02
|
|
Minimum Voronoi edge length = 0.0000000E+00
|
|
Maximum Voronoi edge length = 1.0000000E+00
|
|
Total Voronoi area = 1.0000000E+00
|
|
Total Triangle area = 1.0000000E+00
|
|
|
|
Matbldtri writing FEHM stor format.
|
|
|
|
*** SPARSE COEFFICIENT MATRIX for 2D SUCCESSFUL ***
|
|
|
|
2D Matrix Coefficient file written with name out_04.stor
|
|
|
|
dump/stor/out_04/mo4/nohybrid
|
|
***Construct Regular Sparse Matrix:2D***
|
|
------------
|
|
Matbldtri
|
|
Number of Nodes = 41
|
|
Max. Connection to a Node = 9
|
|
Number of Area Coefficients = 249
|
|
Minimum Voronoi area = 7.8125000E-03
|
|
Maximum Voronoi area = 3.1250000E-02
|
|
Minimum Voronoi edge length = 0.0000000E+00
|
|
Maximum Voronoi edge length = 1.0000000E+00
|
|
Total Voronoi area = 1.0000000E+00
|
|
Total Triangle area = 1.0000000E+00
|
|
|
|
Matbldtri writing FEHM stor format.
|
|
|
|
*** SPARSE COEFFICIENT MATRIX for 2D SUCCESSFUL ***
|
|
|
|
2D Matrix Coefficient file written with name out_04.stor
|
|
|
|
# Check that it gives an error message if it is asked to do the hybrid option
|
|
# along with the "none" or "coefs" compression options.
|
|
dump/stor/out_05/mo1/none/hybrid
|
|
|
|
Warning: ignoring hybrid option because it is not supported in combination with
|
|
the other chosen options.
|
|
|
|
*** Construct Sparse Matrix:3D ***
|
|
Matbld3d_stor: npoints = 1331 n connections = 16843
|
|
Matbld3d_stor: Ave. num connections (ncoefs/npoints) = 12.6543951
|
|
Matbld3d_stor: Maximum num. connections to a node = 22
|
|
Matbld3d_stor: Volume min = 1.2500000E-01
|
|
Matbld3d_stor: Volume max = 1.0000000E+00
|
|
Matbld3d_stor: abs(Aij/xij) min = 0.0000000E+00
|
|
Matbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
|
|
Matbld3d_stor: Total Volume: 1.0000000E+03 1.0000000E+03 1.0000000E+03
|
|
Matbld3d_stor: mmgetblk itemp: 18175
|
|
Matbld3d_stor:mmgetblk imatptrs: 18175
|
|
Matbld3d_stor: Aij/xij min = -8.3411162E-17
|
|
Matbld3d_stor: Aij/xij max = 1.0000000E+00
|
|
Matbld3d_stor: total neg 1060 mincoef= -8.3411162E-17 maxcoef= 1.0000000E
|
|
+00
|
|
NegC: sort edge vor_coeff row_node
|
|
col_node
|
|
|
|
Total suspect coeffs: 0
|
|
|
|
Compression used for for none
|
|
The area coefficient values were written as scalar area/distance
|
|
ascii STOR file written with name out_05.stor
|
|
|
|
*** SPARSE COEFFICIENT MATRIX _nstor SUCCESSFUL ***
|
|
|
|
dump/stor/out_06/mo1/coefs/hybrid
|
|
|
|
Warning: ignoring hybrid option because it is not supported in combination with
|
|
the other chosen options.
|
|
|
|
*** Construct Sparse Matrix:3D ***
|
|
*** Compress Area Coefficient Values ***
|
|
Matbld3d_stor: npoints = 1331 n connections = 16843
|
|
Matbld3d_stor: Ave. num connections (ncoefs/npoints) = 12.6543951
|
|
Matbld3d_stor: Maximum num. connections to a node = 22
|
|
Matbld3d_stor: Volume min = 1.2500000E-01
|
|
Matbld3d_stor: Volume max = 1.0000000E+00
|
|
Matbld3d_stor: abs(Aij/xij) min = 0.0000000E+00
|
|
Matbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
|
|
Matbld3d_stor: Total Volume: 1.0000000E+03 1.0000000E+03 1.0000000E+03
|
|
Matbld3d_stor: mmgetblk itemp: 18175
|
|
Matbld3d_stor:mmgetblk imatptrs: 18175
|
|
Matbld3d_stor: Aij/xij min = -8.3411162E-17
|
|
Matbld3d_stor: Aij/xij max = 1.0000000E+00
|
|
Matbld3d_stor: total neg 1060 mincoef= -8.3411162E-17 maxcoef= 1.0000000E
|
|
+00
|
|
NegC: sort edge vor_coeff row_node
|
|
col_node
|
|
|
|
Total suspect coeffs: 0
|
|
|
|
Compression used for for coefficient values
|
|
The area coefficient values were written as scalar area/distance
|
|
ascii STOR file written with name out_06.stor
|
|
|
|
*** SPARSE COEFFICIENT MATRIX _cstor SUCCESSFUL ***
|
|
|
|
|
|
** MATBLD3D WARNING: **
|
|
Repeated calls with compressed coefs (_cstor)
|
|
may lead to errors in subsequent stor files.
|
|
|
|
# Make sure that with the nohybrid option (default), the results haven't changed
|
|
# from previous versions of LaGriT. Actually there should be slight numerical
|
|
# differences because the new code calculates area coefficients in a slightly
|
|
# different way.
|
|
dump/stor/out_07/mo1
|
|
|
|
*** Construct and Compress Sparse Matrix:3D ***
|
|
*** Compress Area Coefficient Values ***
|
|
|
|
AMatbld3d_stor: Matrix compress_eps: 0.1000000E-07
|
|
AMatbld3d_stor: Local epsilon: 0.1000000E-14
|
|
AMatbld3d_stor: *****Negative Coefficients ******
|
|
AMatbld3d_stor: Total Number of Negative Coefficients 1
|
|
AMatbld3d_stor: Number of Significant Negative Coefs 0
|
|
AMatbld3d_stor: Number of 'zero' (< 10e-8 *max) coefs 1
|
|
AMatbld3d_stor: npoints = 1331 ncoefs = 8593
|
|
AMatbld3d_stor: Number of unique coefs = 4
|
|
AMatbld3d_stor: Maximum num. connections to a node = 8
|
|
AMatbld3d_stor: Volume min = 1.2500000E-01
|
|
AMatbld3d_stor: Volume max = 1.0000000E+00
|
|
AMatbld3d_stor: Total Volume: 1.0000000E+03
|
|
AMatbld3d_stor: abs(Aij/xij) min = 4.9065389E-18
|
|
AMatbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
|
|
AMatbld3d_stor: (Aij/xij) max = 4.9065389E-18
|
|
AMatbld3d_stor: (Aij/xij) min = -1.0000000E+00
|
|
AMatbld3d_stor Matrix coefficient values stored as scalar area/distance
|
|
AMatbld3d_stor Matrix compression used for graph and coefficient values
|
|
ascii STOR file written with name out_07.stor
|
|
|
|
*** SPARSE COEFFICIENT MATRIX _astor SUCCESSFUL ***
|
|
|
|
3D Matrix Coefficient file written with name out_07.stor
|
|
|
|
finish
|
|
LaGriT successfully completed
|