2. BODY Namelist

2.1. Overview

The BODY namelists define initial material distributions and conditions. The BODY namelists are processed in the order they appear, and identify the specified part of the computational domain not claimed by any preceding BODY namelist. Any “background” type BODY must be listed last. Each namelist is used to specify a geometry and initial state. The geometry is specified via the variables using an acceptable combination of surface_name, axis, fill, height, length, mesh_material_number, radius, rotation_angle, rotation_pt, and translation_pt, hereafter referred to as geometry-type parameters. The initial state is specified using material_number, velocity, phi, and temperature or temperature_function.

2.2. BODY Namelist Features

Required/Optional : Required
Single/Multiple Instances: Multiple

2.3. Components

axis

Description : The axis to be used for defining a cylinder or plane.
Type : string
Default : (none)
Valid Values: x, y, z

fill

Description : The side of the surface to which material is to be inserted for this body.
Type : string
Default : inside
Valid Values: inside, outside

height

Description : Height of a cylinder body.
Physcial Dimension: L
Type : real
Default : (none)
Valid Values: (0.0, \(\infty\))

length

Description : Length of each side of the box body, or the coefficients of an ellipse or ellipsoid body.
Physcial Dimension: L
Type : real triplet
Default : (none)
Valid Values: (0.0, \(\infty\))

material_name

Description : Name of the material, or material phase in the case of a multi-phase material, that occupies the volume of this body.
Type : string
Default : (none)

mesh_material_number

Description : List of material numbers (element block IDs) associated with the cells as defined in the mesh file. This parameter is only meaningful when surface_name = ’from mesh file’.
Type : integer list (16 max)
Default : (none)
Valid Values: Existing material numbers in mesh file (if the mesh file is in Exodus/Genesis format, this is the mesh block number).

phi

Description : Initial value of the diffusion solver’s multi-component scalar field in the material body.
Physcial Dimension: varies
Type : real vector of Num_Species (link broken, needs to be checked) values
Default : 0.0
Valid Values: (-\(\infty\), \(\infty\))

radius

Description : Radius of the geometric body (cylinder, sphere, ellipsoid).
Physcial Dimension: L
Type : real
Default : none
Valid Values: (0.0, \(\infty\))

rotation_angle

Description : Angle (degrees) about the (x,y,z) axes this body is to be rotated. This variable is only supported for ’plane’ and ’cylinder’ body types.
Type : real triplet
Default : 0.0, 0.0, 0.0
Valid Values: (-\(\infty\), \(\infty\))

rotation_pt

Description : Location of the point about which this body is to be rotated. This variable is only supported for ’plane’ and ’cylinder’ body types.
Physcial Dimension: L
Type : real triplet
Default : 0.0, 0.0, 0.0
Valid Values: (-\(\infty\), \(\infty\))

surface_name

Description : Type of surface characterizing the interface topology for this body. The available options are:

Option

Description

background

background body will occupy all space which has not been claimed by previously listed BODY namelists. If provided, it must be the final BODY namelist provided. When specified, no other geometry-type parameters are relevant.

plane

A plane is specified using axis, rotation_angle, rotation_pt, and fill to define the normal direction, and translation_pt to provide a point on the plane surface. The normal vector is an ’outward’ normal, such that the region defined is in the opposite direction of the normal vector unless fill = ’outside’.

box

A box is specified using translation_pt as the center, length for the length of x, y, and z sides respectively, and fill to invert the shape. This shape does not support rotation.

sphere

A sphere is specified using translation_pt as the center, radius, and fill to invert the shape.

ellipsoid

An ellipsoid of the form \(\frac{(x-x_o)^2}{{l_1}^2} + \frac{(y-y_o)^2}{{l_2}^2} + \frac{(z-z_o)^2}{{l_3}^2} <= 1\) is specified using translation_pt as the center, length for \(l_1, l_2, l_3\), and fill to invert the shape. This shape does not support rotation.

ellipse

An infinitely long elliptic cylinder of the form \(\frac{(x-x_o)^2}{{l_1}^2} + \frac{(y-y_o)^2}{{l_2}^2} <= 1\) is specified using translation_pt as the center, length for \(l_1, l_2\), and fill to invert the shape. This shape does not support rotation, and will be aligned the z axis.

cylinder

A cylinder is specified using translation_pt as the center of the base, axis, rotation_angle, and rotation_pt to define the orientation, radius, height, and fill to invert the shape.

Type : string
Default : none

temperature

Description : Initial constant temperature of the material body.
Physcial Dimension: Θ
Type : real
Default : none
Notes: Either temperature or temperature_function must specified, but not both.

temperature_function

Description : The name of a FUNCTION namelist that defines the initial temperature function for the material body. That function is expected to be a function of (x,y, z).
Type : string
Default : none
Notes: Either temperature or temperature_function must specified, but not both.

translation_pt

Description : Location to which each surface origin of this body is translated.
Physcial Dimension: L
Type : real triplet
Default : 0.0, 0.0, 0.0
Valid Values: (-\(\infty\), \(\infty\))

velocity

Description : Initial velocity of the material body.
Physcial Dimension: L/T
Type : real triplet
Default : 0.0, 0.0, 0.0
Valid Values: (-\(\infty\), \(\infty\))