Mesh block

Listing 1 Mesh block in XML input file.
  <ParameterList name="Mesh">
          ...
          ...
          ...
  </ParameterList> <!-- Mesh -->
Mesh Input Type
Type:

string

Value:

File or Inline

Usage:

Required

Description:

Specify the mesh input type. Mesh can be used from an Exodus file (File) or generated at run time with the Inline option.

Inline
Element Type
Type:

string

Value:

Quad4, Tri3, Hex8, Tet4

Usage:

Required

Description:

Element type to use with inline (uniform) mesh.

Mesh
X Block
Type:

integer

Value:

\([0;\infty]\)

Usage:

Required

Description:

Number of blocks in the x-direction.

Y Block
Type:

integer

Value:

\([0;\infty]\)

Usage:

Required

Description:

Number of blocks in the y-direction.

Z Block
Type:

integer

Value:

\([0;\infty]\)

Usage:

Required in 3D

Description:

Number of blocks in the z-direction.

X Elements
Type:

integer

Value:

\([0;\infty]\)

Usage:

Required

Description:

Number of mesh elements in x-direction.

Y Elements
Type:

integer

Value:

\([0;\infty]\)

Usage:

Required

Description:

Number of mesh elements in y-direction.

Z Elements
Type:

integer

Value:

\([0;\infty]\)

Usage:

Required in 3D.

Description:

Number of mesh elements in z-direction.

X0
Type:

double

Value:

\([-\infty;\infty]\)

Usage:

Required

Description:

x-coordinate of the bottom-left vertex.

Y0
Type:

double

Value:

\([-\infty;\infty]\)

Usage:

Required

Description:

y-coordinate of the bottom-left vertex.

Z0
Type:

double

Value:

\([-\infty;\infty]\)

Usage:

Required in 3D.

Description:

z-coordinate of the bottom-left vertex.

Xf
Type:

double

Value:

\([-\infty;\infty]\)

Usage:

Required

Description:

x-coordinate of the top-right vertex.

Yf
Type:

double

Value:

\([-\infty;\infty]\)

Usage:

Required

Description:

y-coordinate of the top-right vertex.

Zf
Type:

double

Value:

\([-\infty;\infty]\)

Usage:

Required in 3D.

Description:

z-coordinate of the top-right vertex.

 1      <Parameter name="Element Type" type="string" value="Hex8"/>
 2      <ParameterList name="Mesh">
 3        <Parameter name="X Blocks" type="int" value="1"/>
 4        <Parameter name="Y Blocks" type="int" value="1"/>
 5        <Parameter name="Z Blocks" type="int" value="1"/>
 6        <Parameter name="X Elements" type="int" value="80"/>
 7        <Parameter name="Y Elements" type="int" value="80"/>
 8        <Parameter name="Z Elements" type="int" value="80"/>
 9        <Parameter name="X0" type="double" value="-0.5"/>
10        <Parameter name="Y0" type="double" value="-0.5"/>
11        <Parameter name="Z0" type="double" value="-0.5"/>
12        <Parameter name="Xf" type="double" value="0.5"/>
13        <Parameter name="Yf" type="double" value="0.5"/>
14        <Parameter name="Zf" type="double" value="0.5"/>
15      </ParameterList> <!-- Mesh -->
Periodic BCs
Count
Type:

integer

Value:

N

Usage:

Required

Description:

Number of pair of periodic boundaries in the computational domain.

No-index:

Periodic Condition N
Type:

string

Value:

N

Usage:

Required

Description:

settings for periodic boundaries. N should be replaced with an integer in the name.

1      <ParameterList name="Periodic BCs">
2        <Parameter name="Count" type="int" value="1"/>
3        <Parameter name="Periodic Condition 1" type="string" value="y-all 1e-8: left;right"/>
4      </ParameterList> <!-- Periodic BCs -->
Files
Decomp Method
Type:

string

Value:

KWAY_GEOM, RCB

Usage:

Required

Description:

method to decompose the mesh when running a HPC simulation.

Periodic BCs
Count
Type:

integer

Value:

N

Usage:

Required

Description:

Number of pair of periodic boundaries in the computational domain.

No-index:

Periodic Condition N
Type:

string

Value:

N

Usage:

Required

Description:

settings for periodic boundaries. N should be replaced with an integer in the name.

1    <ParameterList name="File">
2      <Parameter name="File Name" type="string" value="2d-short-channel-h-1-ret-5200-yp-1.exo"/>
3      <Parameter name="Decomp Method" type="string" value="KWAY_GEOM"/>
4      <ParameterList name="Periodic BCs">
5        <Parameter name="Count" type="int" value="1"/>
6        <Parameter name="Periodic Condition 1" type="string" value="y-all 1e-8: left;right"/>
7      </ParameterList> <!-- Periodic BCs -->