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
2.3. Components
axis
fill
height
length
material_name
mesh_material_number
phi
radius
rotation_angle
rotation_pt
surface_name
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. |