Files
LaGriT/test/level03/poisson_unit_square/reference/outx3dgen

1062 lines
75 KiB
Plaintext
Raw Normal View History

2025-12-17 11:00:57 +08:00
* * * * * * * * * * * * * * * * * * * * * * * * *
* * *
* * Program: LaGriT V3.3.3 Linux *
* * Date Compile: 2023/12/20 *
* * Run Time: 2023/Dec 22 08:59:42 *
* * Manual: https://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: lagrit.out
Command log file: lagrit.log
# lagrit < input.lgi
#
# Required files:
# input.lgi
# input_unit_square.poly
# input_h_field_att.mlgi
#
# Mesh a unit square with uniform and variable resolution tringles.
#
# Read polygon from a file.
#
read/avs/input_unit_square.poly/mo_polygon
cmo/status/brief
The current-mesh-object(CMO) is: mo_polygon
1 Mesh Object name: mo_polygon
number of nodes = 4 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = active
finish
#
# Uniform resolution, unit square polygon, vertex spacing 0.05:
#
createpts/poisson_disk/2d_polygon/mo_poisson_pts/mo_polygon/0.05/connect
---------------------------------------
===== Begin driver for Poisson disk vertex distribution. =====
---------------------------------------
setsize
finish
resetpts/itp
geniee
geniee_cmo warning: no elements with faces so no jtet
finish
finish
Poisson disk driver:Polygon minimum edge length is
Poisson disk driver:compatible with user defined h
Poisson disk driver: h = 5.000000E-02 poi_poly_h_min = 7.071068E-01
define/POI_H_FACTOR/5.000000E-02
finish
define/POI_H_FACTORX0.5/2.500000E-02
finish
define/POI_H_FACTORX2/1.000000E-01
finish
define/POI_H_FACTORX5/2.500000E-01
finish
define/POI_H_FACTORX8/4.000000E-01
finish
define/POI_H_FACTORX10/5.000000E-01
finish
define/POI_NPX/33
finish
define/POI_NPY/33
finish
define/POI_XMIN/-5.500000E-01
finish
define/POI_XMAX/5.500000E-01
finish
define/POI_YMIN/-5.500000E-01
finish
define/POI_YMAX/5.500000E-01
finish
define/POI_ZMIN/0.000000E+00
finish
define/POI_ZMAX/0.000000E+00
finish
---------------------------------------
===== Create quad mesh object for distance field lookup =====
---------------------------------------
cmo/create/mo_poi_h_field///triplane
finish
createpts/xyz/POI_NPX POI_NPY 1/POI_XMIN POI_YMIN POI_ZMIN/POI_XMAX POI_YMAX POI
_ZMAX/1 1 1
RZ GENERATED POINTS 1 TO 1089
finish
cmo/printatt/mo_poi_h_field/-xyz-/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xic -5.500000000E-01 5.500000000E-01 1.100000000E+00 1089
yic -5.500000000E-01 5.500000000E-01 1.100000000E+00 1089
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 1089
finish
cmo/addatt/mo_poi_h_field/h_field_att/vdouble/scalar/nnodes
finish
cmo/setatt/mo_poi_h_field/h_field_att/1 0 0/5.000000E-02
Warning: nelements = 0
1089 values reset for attribute h_field_att
finish
cmo/select/mo_poi_h_field
finish
cmo/status/brief
The current-mesh-object(CMO) is: mo_poi_h_field
1 Mesh Object name: mo_polygon
number of nodes = 4 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo_poi_h_field
number of nodes = 1089 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
cmo/create/mo_poisson_pts/257/0/triplane
finish
cmo/select/mo_poisson_pts
finish
cmo/status/brief
The current-mesh-object(CMO) is: mo_poisson_pts
1 Mesh Object name: mo_polygon
number of nodes = 4 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo_poi_h_field
number of nodes = 1089 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = inactive
3 Mesh Object name: mo_poisson_pts
number of nodes = 257 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
cmo/printatt/-def-/-xyz-/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xic -5.000000000E-01 5.000000000E-01 1.000000000E+00 257
yic -5.000000000E-01 5.000000000E-01 1.000000000E+00 257
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 257
finish
sort/-def-/index/ascending/ikeyv/xic yic zic
cmo/addatt/mo_poisson_pts/ikeyv/vint/scalar/nnodes///gax/0
finish
SORT: order key written to attribute: ikeyv
finish
reorder/mo_poisson_pts/ikeyv
finish
cmo/DELATT/-def-/ikeyv
finish
cmo/select/mo_poisson_pts
finish
cmo/setatt/-def-/imt/1 0 0/1
Warning: nelements = 0
257 values reset for attribute imt1
finish
connect
Coordinates of enclosing triangle are:
-0.22500D+01-0.21000D+01 0.00000D+00
0.22500D+01-0.22500D+01 0.00000D+00
0.00000D+00 0.45000D+01 0.00000D+00
Successfully eliminated all multimaterial connections.
The mesh is now complete!
LaGriT FINISH: connect
recon/0
RECON2D reconnection loop2d: 1
RECON: done.
finish
LaGriT FINISH: recon 0 for connect 2d
finish
quality
epsilonl, epsilonaspect: 3.1401849E-13 3.0964614E-38
--------------------------------------------
elements with aspect ratio < .01: 0
elements with aspect ratio b/w .01 and .02: 0
elements with aspect ratio b/w .02 and .05: 0
elements with aspect ratio b/w .05 and .1 : 0
elements with aspect ratio b/w .1 and .2 : 0
elements with aspect ratio b/w .2 and .5 : 1
elements with aspect ratio b/w .5 and 1. : 431
min aspect ratio = 0.4873E+00 max aspect ratio = 0.9999E+00
epsilonvol: 4.4408921E-13
---------------------------------------
element volumes b/w 0.1166E-02 and 0.1549E-02: 46
element volumes b/w 0.1549E-02 and 0.2059E-02: 147
element volumes b/w 0.2059E-02 and 0.2735E-02: 129
element volumes b/w 0.2735E-02 and 0.3634E-02: 84
element volumes b/w 0.3634E-02 and 0.4828E-02: 26
min volume = 1.1662204E-03 max volume = 4.8280488E-03
-----------------------------------------------------------
432 total elements evaluated.
finish
rmpoint/compress
0 points removed and 0 elements removed.
RMPOINT: new point count is 257
RMPOINT: new element count is 432
finish
resetpts/itp
geniee
finish
finish
assign///maxiter_sm/1
cannot find global variable : maxiter_sm
maxiter_sm = 1
finish
smooth
SMOOTH: position option
nodes in point set = 257
SMOOTH: Smooth 2D triangular mesh using ESUG
Min. area BEFORE smoothing= 0.1166220E-02
Max. area BEFORE smoothing= 0.4828049E-02
Iteration= 1; root mean square error= 0.1068410E-01
Min. area AFTER smoothing= 0.1183711E-02
Max. area AFTER smoothing= 0.3747094E-02
recon 0
RECON2D reconnection loop2d: 1
Recon2d: iteration number= 1 number of flips= 6
RECON: done.
finish
smooth
SMOOTH: position option
nodes in point set = 257
SMOOTH: Smooth 2D triangular mesh using ESUG
Min. area BEFORE smoothing= 0.1183711E-02
Max. area BEFORE smoothing= 0.3747094E-02
Iteration= 1; root mean square error= 0.4935167E-02
Min. area AFTER smoothing= 0.1183711E-02
Max. area AFTER smoothing= 0.3641674E-02
recon 1
RECON2D reconnection loop2d: 1
Recon2d: iteration number= 1 number of flips= 2
RECON: done.
finish
createpts/median
cmo/addatt//xmed/VDOUBLE/scalar/nelements///gal/0.
finish
cmo/addatt//ymed/VDOUBLE/scalar/nelements///gal/0.
finish
cmo/addatt//zmed/VDOUBLE/scalar/nelements///gal/0.
finish
finish
sort/-def-/index/ascending/ikeyc/xmed ymed zmed
cmo/addatt/mo_poisson_pts/ikeyc/vint/scalar/nelements///gax/0
finish
SORT: order key written to attribute: ikeyc
finish
reorder/mo_poisson_pts/ikeyc
geniee
finish
finish
cmo/DELATT/-def-/ikeyc
finish
cmo/DELATT/-def-/xmed
finish
cmo/DELATT/-def-/ymed
finish
cmo/DELATT/-def-/zmed
finish
cmo/release/mo_poi_h_field
Released Mesh Object: mo_poi_h_field
finish
cmo/select/mo_poisson_pts
finish
quality
epsilonl, epsilonaspect: 3.1401849E-13 3.0964614E-38
--------------------------------------------
elements with aspect ratio < .01: 0
elements with aspect ratio b/w .01 and .02: 0
elements with aspect ratio b/w .02 and .05: 0
elements with aspect ratio b/w .05 and .1 : 0
elements with aspect ratio b/w .1 and .2 : 0
elements with aspect ratio b/w .2 and .5 : 0
elements with aspect ratio b/w .5 and 1. : 432
min aspect ratio = 0.6185E+00 max aspect ratio = 0.9999E+00
epsilonvol: 4.4408921E-13
---------------------------------------
element volumes b/w 0.1184E-02 and 0.1482E-02: 5
element volumes b/w 0.1482E-02 and 0.1856E-02: 61
element volumes b/w 0.1856E-02 and 0.2323E-02: 165
element volumes b/w 0.2323E-02 and 0.2909E-02: 158
element volumes b/w 0.2909E-02 and 0.3642E-02: 43
min volume = 1.1837109E-03 max volume = 3.6416741E-03
-----------------------------------------------------------
432 total elements evaluated.
finish
poisson_disk exit
dump/avs/output01_unit_square_uniform.inp/mo_poisson_pts
cmo/modatt/-def-/-def-/ioflag/x
finish
cmo/delete/mo_poisson_pts
Released Mesh Object: mo_poisson_pts
#
# Variable resolution, unit square polygon, vertex spacing 0.01:
#
# WIDTH_FACTOR is used in input_h_field_att.mlgi
#
define/WIDTH_FACTOR/10.0
createpts/poisson_disk/2d_polygon/mo_poisson_pts/mo_polygon/0.01/connect/input_h
_field_att.mlgi
---------------------------------------
===== Begin driver for Poisson disk vertex distribution. =====
---------------------------------------
setsize
finish
resetpts/itp
geniee
geniee_cmo warning: no elements with faces so no jtet
finish
finish
Poisson disk driver:Polygon minimum edge length is
Poisson disk driver:compatible with user defined h
Poisson disk driver: h = 1.000000E-02 poi_poly_h_min = 7.071068E-01
define/POI_H_FACTOR/1.000000E-02
finish
define/POI_H_FACTORX0.5/5.000000E-03
finish
define/POI_H_FACTORX2/2.000000E-02
finish
define/POI_H_FACTORX5/5.000000E-02
finish
define/POI_H_FACTORX8/8.000000E-02
finish
define/POI_H_FACTORX10/1.000000E-01
finish
define/POI_NPX/153
finish
define/POI_NPY/153
finish
define/POI_XMIN/-5.100000E-01
finish
define/POI_XMAX/5.100000E-01
finish
define/POI_YMIN/-5.100000E-01
finish
define/POI_YMAX/5.100000E-01
finish
define/POI_ZMIN/0.000000E+00
finish
define/POI_ZMAX/0.000000E+00
finish
---------------------------------------
===== Create quad mesh object for distance field lookup =====
---------------------------------------
cmo/create/mo_poi_h_field///triplane
finish
createpts/xyz/POI_NPX POI_NPY 1/POI_XMIN POI_YMIN POI_ZMIN/POI_XMAX POI_YMAX POI
_ZMAX/1 1 1
RZ GENERATED POINTS 1 TO 23409
finish
cmo/printatt/mo_poi_h_field/-xyz-/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xic -5.100000000E-01 5.100000000E-01 1.020000000E+00 23409
yic -5.100000000E-01 5.100000000E-01 1.020000000E+00 23409
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 23409
finish
cmo/addatt/mo_poi_h_field/h_field_att/vdouble/scalar/nnodes
finish
cmo/setatt/mo_poi_h_field/h_field_att/1 0 0/1.000000E-02
Warning: nelements = 0
23409 values reset for attribute h_field_att
finish
infile/input_h_field_att.mlgi
#####################################################
# User defined h field function assignment
#####################################################
#
# h_field_att is already set to POI_H_FACTOR
#
define/MO_H_FIELD/mo_poi_h_field
#
# x**2
math/power/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/xic/2.0
cmo/printatt/MO_H_FIELD/h_field_att/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
h_field_att 9.003993324E-31 2.601000000E-01 2.601000000E-01 23409
# sqrt(x**2)
math/power/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/h_field_att/0.5
cmo/printatt/MO_H_FIELD/h_field_att/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
h_field_att 9.488937414E-16 5.100000000E-01 5.100000000E-01 23409
# POI_H_FACTOR*sqrt(x**2)
math/multiply/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/h_field_att/POI_H_FACTOR
math/multiply/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/h_field_att/WIDTH_FACTOR
cmo/printatt/MO_H_FIELD/h_field_att/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
h_field_att 9.488937414E-17 5.100000000E-02 5.100000000E-02 23409
math/floor/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/h_field_att/POI_H_FACTOR
cmo/printatt/MO_H_FIELD/h_field_att/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
h_field_att 1.000000000E-02 5.100000000E-02 4.100000000E-02 23409
cmo/status/brief
The current-mesh-object(CMO) is: mo_poi_h_field
1 Mesh Object name: mo_polygon
number of nodes = 4 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo_poi_h_field
number of nodes = 23409 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
#
# As a diagnostic one can output MO_H_FIELD and view
# the h(x,y) attribute that will be used to set resolution.
#
dump/avs/h_field_out.inp/MO_H_FIELD
cmo/modatt/-def-/-def-/ioflag/x
finish
#
finish
finish
cmo/select/mo_poi_h_field
finish
cmo/status/brief
The current-mesh-object(CMO) is: mo_poi_h_field
1 Mesh Object name: mo_polygon
number of nodes = 4 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo_poi_h_field
number of nodes = 23409 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
cmo/create/mo_poisson_pts/2107/0/triplane
finish
cmo/select/mo_poisson_pts
finish
cmo/status/brief
The current-mesh-object(CMO) is: mo_poisson_pts
1 Mesh Object name: mo_polygon
number of nodes = 4 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo_poi_h_field
number of nodes = 23409 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = inactive
3 Mesh Object name: mo_poisson_pts
number of nodes = 2107 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
cmo/printatt/-def-/-xyz-/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xic -5.000000000E-01 5.000000000E-01 1.000000000E+00 2107
yic -5.000000000E-01 5.000000000E-01 1.000000000E+00 2107
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2107
finish
sort/-def-/index/ascending/ikeyv/xic yic zic
cmo/addatt/mo_poisson_pts/ikeyv/vint/scalar/nnodes///gax/0
finish
SORT: order key written to attribute: ikeyv
finish
reorder/mo_poisson_pts/ikeyv
finish
cmo/DELATT/-def-/ikeyv
finish
cmo/select/mo_poisson_pts
finish
cmo/setatt/-def-/imt/1 0 0/1
Warning: nelements = 0
2107 values reset for attribute imt1
finish
connect
Coordinates of enclosing triangle are:
-0.22500D+01-0.21000D+01 0.00000D+00
0.22500D+01-0.22500D+01 0.00000D+00
0.00000D+00 0.45000D+01 0.00000D+00
Successfully eliminated all multimaterial connections.
The mesh is now complete!
LaGriT FINISH: connect
recon/0
RECON2D reconnection loop2d: 1
RECON: done.
finish
LaGriT FINISH: recon 0 for connect 2d
finish
quality
epsilonl, epsilonaspect: 3.1401849E-13 3.0964614E-38
--------------------------------------------
elements with aspect ratio < .01: 0
elements with aspect ratio b/w .01 and .02: 0
elements with aspect ratio b/w .02 and .05: 0
elements with aspect ratio b/w .05 and .1 : 0
elements with aspect ratio b/w .1 and .2 : 0
elements with aspect ratio b/w .2 and .5 : 7
elements with aspect ratio b/w .5 and 1. : 4061
min aspect ratio = 0.4745E+00 max aspect ratio = 0.9999E+00
epsilonvol: 4.4408921E-13
---------------------------------------
element volumes b/w 0.4104E-04 and 0.9696E-04: 1605
element volumes b/w 0.9696E-04 and 0.2291E-03: 1469
element volumes b/w 0.2291E-03 and 0.5411E-03: 523
element volumes b/w 0.5411E-03 and 0.1278E-02: 361
element volumes b/w 0.1278E-02 and 0.3020E-02: 110
min volume = 4.1043587E-05 max volume = 3.0198978E-03
-----------------------------------------------------------
4068 total elements evaluated.
finish
rmpoint/compress
0 points removed and 0 elements removed.
RMPOINT: new point count is 2107
RMPOINT: new element count is 4068
finish
resetpts/itp
geniee
finish
finish
assign///maxiter_sm/1
cannot find global variable : maxiter_sm
maxiter_sm = 1
finish
smooth
SMOOTH: position option
nodes in point set = 2107
SMOOTH: Smooth 2D triangular mesh using ESUG
Min. area BEFORE smoothing= 0.4104359E-04
Max. area BEFORE smoothing= 0.3019898E-02
Iteration= 1; root mean square error= 0.4271388E-02
Min. area AFTER smoothing= 0.4604825E-04
Max. area AFTER smoothing= 0.2365754E-02
recon 0
RECON2D reconnection loop2d: 1
Recon2d: iteration number= 1 number of flips= 44
RECON: done.
finish
smooth
SMOOTH: position option
nodes in point set = 2107
SMOOTH: Smooth 2D triangular mesh using ESUG
Min. area BEFORE smoothing= 0.4604825E-04
Max. area BEFORE smoothing= 0.2365754E-02
Iteration= 1; root mean square error= 0.2906350E-02
Min. area AFTER smoothing= 0.4766329E-04
Max. area AFTER smoothing= 0.2039642E-02
recon 1
RECON2D reconnection loop2d: 1
Recon2d: iteration number= 1 number of flips= 13
RECON: done.
finish
createpts/median
cmo/addatt//xmed/VDOUBLE/scalar/nelements///gal/0.
finish
cmo/addatt//ymed/VDOUBLE/scalar/nelements///gal/0.
finish
cmo/addatt//zmed/VDOUBLE/scalar/nelements///gal/0.
finish
finish
sort/-def-/index/ascending/ikeyc/xmed ymed zmed
cmo/addatt/mo_poisson_pts/ikeyc/vint/scalar/nelements///gax/0
finish
SORT: order key written to attribute: ikeyc
finish
reorder/mo_poisson_pts/ikeyc
geniee
finish
finish
cmo/DELATT/-def-/ikeyc
finish
cmo/DELATT/-def-/xmed
finish
cmo/DELATT/-def-/ymed
finish
cmo/DELATT/-def-/zmed
finish
cmo/release/mo_poi_h_field
Released Mesh Object: mo_poi_h_field
finish
cmo/select/mo_poisson_pts
finish
quality
epsilonl, epsilonaspect: 3.1401849E-13 3.0964614E-38
--------------------------------------------
elements with aspect ratio < .01: 0
elements with aspect ratio b/w .01 and .02: 0
elements with aspect ratio b/w .02 and .05: 0
elements with aspect ratio b/w .05 and .1 : 0
elements with aspect ratio b/w .1 and .2 : 0
elements with aspect ratio b/w .2 and .5 : 0
elements with aspect ratio b/w .5 and 1. : 4068
min aspect ratio = 0.5301E+00 max aspect ratio = 0.1000E+01
epsilonvol: 4.4408921E-13
---------------------------------------
element volumes b/w 0.4766E-04 and 0.1010E-03: 1755
element volumes b/w 0.1010E-03 and 0.2142E-03: 1238
element volumes b/w 0.2142E-03 and 0.4539E-03: 498
element volumes b/w 0.4539E-03 and 0.9622E-03: 344
element volumes b/w 0.9622E-03 and 0.2040E-02: 233
min volume = 4.7663291E-05 max volume = 2.0396420E-03
-----------------------------------------------------------
4068 total elements evaluated.
finish
poisson_disk exit
dump/avs/output02_unit_square_var.inp/mo_poisson_pts
cmo/modatt/-def-/-def-/ioflag/x
finish
cmo/delete/mo_poisson_pts
Released Mesh Object: mo_poisson_pts
define/WIDTH_FACTOR/20.0
createpts/poisson_disk/2d_polygon/mo_poisson_pts/mo_polygon/0.01/connect/input_h
_field_att.mlgi
---------------------------------------
===== Begin driver for Poisson disk vertex distribution. =====
---------------------------------------
setsize
finish
resetpts/itp
geniee
geniee_cmo warning: no elements with faces so no jtet
finish
finish
Poisson disk driver:Polygon minimum edge length is
Poisson disk driver:compatible with user defined h
Poisson disk driver: h = 1.000000E-02 poi_poly_h_min = 7.071068E-01
define/POI_H_FACTOR/1.000000E-02
finish
define/POI_H_FACTORX0.5/5.000000E-03
finish
define/POI_H_FACTORX2/2.000000E-02
finish
define/POI_H_FACTORX5/5.000000E-02
finish
define/POI_H_FACTORX8/8.000000E-02
finish
define/POI_H_FACTORX10/1.000000E-01
finish
define/POI_NPX/153
finish
define/POI_NPY/153
finish
define/POI_XMIN/-5.100000E-01
finish
define/POI_XMAX/5.100000E-01
finish
define/POI_YMIN/-5.100000E-01
finish
define/POI_YMAX/5.100000E-01
finish
define/POI_ZMIN/0.000000E+00
finish
define/POI_ZMAX/0.000000E+00
finish
---------------------------------------
===== Create quad mesh object for distance field lookup =====
---------------------------------------
cmo/create/mo_poi_h_field///triplane
finish
createpts/xyz/POI_NPX POI_NPY 1/POI_XMIN POI_YMIN POI_ZMIN/POI_XMAX POI_YMAX POI
_ZMAX/1 1 1
RZ GENERATED POINTS 1 TO 23409
finish
cmo/printatt/mo_poi_h_field/-xyz-/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xic -5.100000000E-01 5.100000000E-01 1.020000000E+00 23409
yic -5.100000000E-01 5.100000000E-01 1.020000000E+00 23409
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 23409
finish
cmo/addatt/mo_poi_h_field/h_field_att/vdouble/scalar/nnodes
finish
cmo/setatt/mo_poi_h_field/h_field_att/1 0 0/1.000000E-02
Warning: nelements = 0
23409 values reset for attribute h_field_att
finish
infile/input_h_field_att.mlgi
#####################################################
# User defined h field function assignment
#####################################################
#
# h_field_att is already set to POI_H_FACTOR
#
define/MO_H_FIELD/mo_poi_h_field
#
# x**2
math/power/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/xic/2.0
cmo/printatt/MO_H_FIELD/h_field_att/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
h_field_att 9.003993324E-31 2.601000000E-01 2.601000000E-01 23409
# sqrt(x**2)
math/power/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/h_field_att/0.5
cmo/printatt/MO_H_FIELD/h_field_att/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
h_field_att 9.488937414E-16 5.100000000E-01 5.100000000E-01 23409
# POI_H_FACTOR*sqrt(x**2)
math/multiply/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/h_field_att/POI_H_FACTOR
math/multiply/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/h_field_att/WIDTH_FACTOR
cmo/printatt/MO_H_FIELD/h_field_att/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
h_field_att 1.897787483E-16 1.020000000E-01 1.020000000E-01 23409
math/floor/MO_H_FIELD/h_field_att/1,0,0/MO_H_FIELD/h_field_att/POI_H_FACTOR
cmo/printatt/MO_H_FIELD/h_field_att/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
h_field_att 1.000000000E-02 1.020000000E-01 9.200000000E-02 23409
cmo/status/brief
The current-mesh-object(CMO) is: mo_poi_h_field
1 Mesh Object name: mo_polygon
number of nodes = 4 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo_poi_h_field
number of nodes = 23409 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
#
# As a diagnostic one can output MO_H_FIELD and view
# the h(x,y) attribute that will be used to set resolution.
#
dump/avs/h_field_out.inp/MO_H_FIELD
cmo/modatt/-def-/-def-/ioflag/x
finish
#
finish
finish
cmo/select/mo_poi_h_field
finish
cmo/status/brief
The current-mesh-object(CMO) is: mo_poi_h_field
1 Mesh Object name: mo_polygon
number of nodes = 4 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo_poi_h_field
number of nodes = 23409 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
cmo/create/mo_poisson_pts/1059/0/triplane
finish
cmo/select/mo_poisson_pts
finish
cmo/status/brief
The current-mesh-object(CMO) is: mo_poisson_pts
1 Mesh Object name: mo_polygon
number of nodes = 4 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo_poi_h_field
number of nodes = 23409 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = inactive
3 Mesh Object name: mo_poisson_pts
number of nodes = 1059 number of elements = 0
dimensions geometry = 2 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
cmo/printatt/-def-/-xyz-/minmax
Warning: nelements = 0
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xic -5.000000000E-01 5.000000000E-01 1.000000000E+00 1059
yic -5.000000000E-01 5.000000000E-01 1.000000000E+00 1059
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 1059
finish
sort/-def-/index/ascending/ikeyv/xic yic zic
cmo/addatt/mo_poisson_pts/ikeyv/vint/scalar/nnodes///gax/0
finish
SORT: order key written to attribute: ikeyv
finish
reorder/mo_poisson_pts/ikeyv
finish
cmo/DELATT/-def-/ikeyv
finish
cmo/select/mo_poisson_pts
finish
cmo/setatt/-def-/imt/1 0 0/1
Warning: nelements = 0
1059 values reset for attribute imt1
finish
connect
Coordinates of enclosing triangle are:
-0.22500D+01-0.21000D+01 0.00000D+00
0.22500D+01-0.22500D+01 0.00000D+00
0.00000D+00 0.45000D+01 0.00000D+00
Successfully eliminated all multimaterial connections.
The mesh is now complete!
LaGriT FINISH: connect
recon/0
RECON2D reconnection loop2d: 1
RECON: done.
finish
LaGriT FINISH: recon 0 for connect 2d
finish
quality
epsilonl, epsilonaspect: 3.1401849E-13 3.0964614E-38
--------------------------------------------
elements with aspect ratio < .01: 0
elements with aspect ratio b/w .01 and .02: 0
elements with aspect ratio b/w .02 and .05: 0
elements with aspect ratio b/w .05 and .1 : 0
elements with aspect ratio b/w .1 and .2 : 0
elements with aspect ratio b/w .2 and .5 : 8
elements with aspect ratio b/w .5 and 1. : 2022
min aspect ratio = 0.4248E+00 max aspect ratio = 0.1000E+01
epsilonvol: 4.4408921E-13
---------------------------------------
element volumes b/w 0.4599E-04 and 0.1350E-03: 1125
element volumes b/w 0.1350E-03 and 0.3966E-03: 470
element volumes b/w 0.3966E-03 and 0.1164E-02: 231
element volumes b/w 0.1164E-02 and 0.3419E-02: 141
element volumes b/w 0.3419E-02 and 0.1004E-01: 63
min volume = 4.5992267E-05 max volume = 1.0039727E-02
-----------------------------------------------------------
2030 total elements evaluated.
finish
rmpoint/compress
0 points removed and 0 elements removed.
RMPOINT: new point count is 1059
RMPOINT: new element count is 2030
finish
resetpts/itp
geniee
finish
finish
assign///maxiter_sm/1
cannot find global variable : maxiter_sm
maxiter_sm = 1
finish
smooth
SMOOTH: position option
nodes in point set = 1059
SMOOTH: Smooth 2D triangular mesh using ESUG
Min. area BEFORE smoothing= 0.4599227E-04
Max. area BEFORE smoothing= 0.1003973E-01
Iteration= 1; root mean square error= 0.7694454E-02
Min. area AFTER smoothing= 0.5191965E-04
Max. area AFTER smoothing= 0.7183227E-02
recon 0
RECON2D reconnection loop2d: 1
Recon2d: iteration number= 1 number of flips= 20
RECON: done.
finish
smooth
SMOOTH: position option
nodes in point set = 1059
SMOOTH: Smooth 2D triangular mesh using ESUG
Min. area BEFORE smoothing= 0.5191965E-04
Max. area BEFORE smoothing= 0.7183227E-02
Iteration= 1; root mean square error= 0.6680462E-02
Min. area AFTER smoothing= 0.5335979E-04
Max. area AFTER smoothing= 0.5731873E-02
recon 1
RECON2D reconnection loop2d: 1
Recon2d: iteration number= 1 number of flips= 22
RECON: done.
finish
createpts/median
cmo/addatt//xmed/VDOUBLE/scalar/nelements///gal/0.
finish
cmo/addatt//ymed/VDOUBLE/scalar/nelements///gal/0.
finish
cmo/addatt//zmed/VDOUBLE/scalar/nelements///gal/0.
finish
finish
sort/-def-/index/ascending/ikeyc/xmed ymed zmed
cmo/addatt/mo_poisson_pts/ikeyc/vint/scalar/nelements///gax/0
finish
SORT: order key written to attribute: ikeyc
finish
reorder/mo_poisson_pts/ikeyc
geniee
finish
finish
cmo/DELATT/-def-/ikeyc
finish
cmo/DELATT/-def-/xmed
finish
cmo/DELATT/-def-/ymed
finish
cmo/DELATT/-def-/zmed
finish
cmo/release/mo_poi_h_field
Released Mesh Object: mo_poi_h_field
finish
cmo/select/mo_poisson_pts
finish
quality
epsilonl, epsilonaspect: 3.1401849E-13 3.0964614E-38
--------------------------------------------
elements with aspect ratio < .01: 0
elements with aspect ratio b/w .01 and .02: 0
elements with aspect ratio b/w .02 and .05: 0
elements with aspect ratio b/w .05 and .1 : 0
elements with aspect ratio b/w .1 and .2 : 0
elements with aspect ratio b/w .2 and .5 : 1
elements with aspect ratio b/w .5 and 1. : 2029
min aspect ratio = 0.4633E+00 max aspect ratio = 0.1000E+01
epsilonvol: 4.4408921E-13
---------------------------------------
element volumes b/w 0.5336E-04 and 0.1360E-03: 1056
element volumes b/w 0.1360E-03 and 0.3465E-03: 463
element volumes b/w 0.3465E-03 and 0.8828E-03: 235
element volumes b/w 0.8828E-03 and 0.2249E-02: 158
element volumes b/w 0.2249E-02 and 0.5732E-02: 118
min volume = 5.3359787E-05 max volume = 5.7318728E-03
-----------------------------------------------------------
2030 total elements evaluated.
finish
poisson_disk exit
dump/avs/output03_unit_square_var.inp/mo_poisson_pts
cmo/modatt/-def-/-def-/ioflag/x
finish
cmo/delete/mo_poisson_pts
Released Mesh Object: mo_poisson_pts
## commented out for test suite, users can uncomment and run
## output04_unit_square_var.inp is included in the reference dir
# define / WIDTH_FACTOR / 40.0
# createpts / poisson_disk / 2d_polygon / mo_poisson_pts / mo_polygon &
# / 0.01 / connect / input_h_field_att.mlgi
# dump / avs / output04_unit_square_var.inp / mo_poisson_pts
# cmo / delete / mo_poisson_pts
finish
LaGriT successfully completed