2.1.6. geom_fromVoronoiTessellation
Purpose
Generate geometry description and material configuration by tessellation of given seeds file.
Usage
> geom_fromVoronoiTessellation options seedfile(s)
Options
General
Tessellation
-
-l
/ --laguerre
- use Laguerre (weighted Voronoi) tessellation
-
--cpus
[ 2 ] - number of parallel processes to use for Laguerre tessellation
-
--nonperiodic
- nonperiodic tessellation
Geometry
-
-g
/ --grid
- a,b,c grid of hexahedral box
-
-s
/ --size
- x,y,z size of hexahedral box
-
-o
/ --origin
- origin of grid
-
--nonnormalized
- seed coordinates are not normalized to a unit cube
Seeds
-
-p
/ --seedposition
[ pos ] - label of coordinates
-
-w
/ --weight
[ weight ] - label of weights
-
-m
/ --microstructure
[ microstructure ] - label of microstructures
-
-e
/ --eulers
[ euler ] - label of Euler angles
-
--axes
- orientation coordinate frame in terms of position coordinate frame
Configuration
-
--without-config
- omit material configuration header
-
--homogenization
[ 1 ] - homogenization index to be used
-
--crystallite
[ 1 ] - crystallite index to be used
-
--phase
[ 1 ] - phase index to be used
Examples
Defaults from seeds file
> geom_fromVoronoiTessellation < 20grains.seeds > 20grains_161616_111.geom
In this example, the grid point number is taken from the
seeds file as 16 x 16 x 16.
Since no size is specified, the default of 1.0 along the longest edge results in a physical size of 1.0 x 1.0 x 1.0 for the
resulting geometry.
Arbitrary grid and size
> geom_fromVoronoiTessellation -g 32 16 8 -s 1 0.5 0.25 < 20grains.seeds > 20grains_32168_105025.geom
The next example explicitly overrides the grid and specifies a size maintaining (by choice) an equidistant grid.
Since the physical size of the geometry gives different relative positions of the seed points compared to the former example, a different
geometry results from the tessellation.
Generating material configuration
The <microstructure> and <texture> parts of a
material.config are automatically included within the header part of the resulting geometry file.
Therefore, a geometry file can be directly linked from the
material.config by using the » {
theFile.geom} « inclusion format.
> geom_fromVoronoiTessellation --phase 3 < 20grains.seeds | showTable --info --nolabels
grid a 16 b 16 c 16
size x 1.0 y 1.0 z 1.0
origin x 0.0 y 0.0 z 0.0
homogenization 1
microstructures 20
<microstructure>
[Grain01]
crystallite 1
(constituent) phase 3 texture 1 fraction 1.0
[Grain02]
crystallite 1
(constituent) phase 3 texture 2 fraction 1.0
[Grain03]
crystallite 1
(constituent) phase 3 texture 3 fraction 1.0
[Grain04]
crystallite 1
(constituent) phase 3 texture 4 fraction 1.0
[Grain05]
crystallite 1
(constituent) phase 3 texture 5 fraction 1.0
[Grain06]
crystallite 1
(constituent) phase 3 texture 6 fraction 1.0
[Grain07]
crystallite 1
(constituent) phase 3 texture 7 fraction 1.0
[Grain08]
crystallite 1
(constituent) phase 3 texture 8 fraction 1.0
[Grain09]
crystallite 1
(constituent) phase 3 texture 9 fraction 1.0
[Grain10]
crystallite 1
(constituent) phase 3 texture 10 fraction 1.0
[Grain11]
crystallite 1
(constituent) phase 3 texture 11 fraction 1.0
[Grain12]
crystallite 1
(constituent) phase 3 texture 12 fraction 1.0
[Grain13]
crystallite 1
(constituent) phase 3 texture 13 fraction 1.0
[Grain14]
crystallite 1
(constituent) phase 3 texture 14 fraction 1.0
[Grain15]
crystallite 1
(constituent) phase 3 texture 15 fraction 1.0
[Grain16]
crystallite 1
(constituent) phase 3 texture 16 fraction 1.0
[Grain17]
crystallite 1
(constituent) phase 3 texture 17 fraction 1.0
[Grain18]
crystallite 1
(constituent) phase 3 texture 18 fraction 1.0
[Grain19]
crystallite 1
(constituent) phase 3 texture 19 fraction 1.0
[Grain20]
crystallite 1
(constituent) phase 3 texture 20 fraction 1.0
<texture>
[Grain01]
(gauss) phi1 197.573 Phi 16.8164 phi2 129.423 scatter 0.0 fraction 1.0
[Grain02]
(gauss) phi1 257.468 Phi 53.2505 phi2 157.332 scatter 0.0 fraction 1.0
[Grain03]
(gauss) phi1 216.995 Phi 94.4185 phi2 251.147 scatter 0.0 fraction 1.0
[Grain04]
(gauss) phi1 196.158 Phi 55.871 phi2 21.6812 scatter 0.0 fraction 1.0
[Grain05]
(gauss) phi1 152.516 Phi 139.769 phi2 240.036 scatter 0.0 fraction 1.0
[Grain06]
(gauss) phi1 232.522 Phi 73.7492 phi2 241.43 scatter 0.0 fraction 1.0
[Grain07]
(gauss) phi1 157.531 Phi 135.504 phi2 75.7377 scatter 0.0 fraction 1.0
[Grain08]
(gauss) phi1 321.038 Phi 27.2098 phi2 46.4135 scatter 0.0 fraction 1.0
[Grain09]
(gauss) phi1 346.919 Phi 87.4956 phi2 113.554 scatter 0.0 fraction 1.0
[Grain10]
(gauss) phi1 138.039 Phi 99.8271 phi2 130.936 scatter 0.0 fraction 1.0
[Grain11]
(gauss) phi1 285.021 Phi 118.092 phi2 205.271 scatter 0.0 fraction 1.0
[Grain12]
(gauss) phi1 190.402 Phi 56.7381 phi2 157.897 scatter 0.0 fraction 1.0
[Grain13]
(gauss) phi1 204.496 Phi 95.0313 phi2 355.815 scatter 0.0 fraction 1.0
[Grain14]
(gauss) phi1 333.215 Phi 82.1334 phi2 36.7361 scatter 0.0 fraction 1.0
[Grain15]
(gauss) phi1 25.573 Phi 164.243 phi2 75.1956 scatter 0.0 fraction 1.0
[Grain16]
(gauss) phi1 31.3665 Phi 76.3924 phi2 58.0714 scatter 0.0 fraction 1.0
[Grain17]
(gauss) phi1 7.27862 Phi 77.0447 phi2 235.119 scatter 0.0 fraction 1.0
[Grain18]
(gauss) phi1 299.743 Phi 76.4751 phi2 91.185 scatter 0.0 fraction 1.0
[Grain19]
(gauss) phi1 280.136 Phi 27.4397 phi2 167.872 scatter 0.0 fraction 1.0
[Grain20]
(gauss) phi1 313.204 Phi 68.6761 phi2 87.9932 scatter 0.0 fraction 1.0