Appearance
Dimension
The dimension element contains six child elements:
- nx, ny, and nz are integer values of the unitless simulation grid counts in three dimension, for example nx=100 means there are 100 uniform grids along x direction in the simulation space.
- dx, dy, and dz are floating point values for each simulation grid size in meter, for example dx=1e-6 means 1 simulation grid along x direction in simulation space represent 1 micron in real space. Thus, will give you the real space simulation dimension along x in meter. Notice, you must set a numeric value for all six child elements.
An example dimension element of 64 micron cubic with 64 simulation grids along each dimension looks like this:
xml
<dimension>
<nx>64</nx>
<ny>64</ny>
<nz>64</nz>
<dx>1e-6</dx>
<dy>1e-6</dy>
<dz>1e-6</dz>
</dimension>
Structure
The structure element has one required child element:
- sourceType, choose how the structure is defined, 4 possible choices, xml, dat, vti, dream3d And depending on the sourceType you choose, the structure element will need to have more child elements:
xml
If you choose xml for sourceType, then you need to set
- matrixLabel The default(matrix) phase label
- geometry List of geometries An example structure element looks like this:
xml
<structure>
<sourceType>xml</sourceType>
<matrixLabel>0</matrixLabel>
<geometry>
<type>slab</type>
<centerX>128</centerX>
<centerY>1</centerY>
<centerZ>128</centerZ>
<normalX>0</normalX>
<normalY>0</normalY>
<normalZ>1</normalZ>
<thickness>85</thickness>
<label>2</label>
<matrixLabel>0</matrixLabel>
</geometry>
</structure>
dat or vti
If you choose dat or vti for sourceType, then you need to set:
- file Path to the dat or vti file
- dataType Either continuous or discrete type
- keypoints When choosing the continuous data type, you need to set a series of threshold values, so that the program can assign the phase label to each value range. An example structure element looks like this, the program will automatically assign anything smaller than 0.5 as phase label 0, and anything larger than 0.5 as phase label 1.
xml
<structure>
<sourceType>dat</sourceType>
<dataType>continuous</dataType>
<keypoints>
<value>0.5</value>
</keypoints>
</structure>
dream3d
If you choose dream3d for sourceType, then you need to set:
- file Path to the ASCII export from Dream3D.
Updated on 2023-03-18 at 16:29:26 -0400