The *Boundary Conditions* tab allows you to specify how each bounding connector of a domain will be treated when using the T-Rex anisotropic
meshing tool. The list operates nearly identically to the *Set Boundary Conditions*
command for CAE use. It displays information on all the boundary conditions that have been set (including for blocks) regardless of your current domain
selection.

This is the basic workflow:

- Use the
*New*command to create a new T-Rex boundary condition. - Select the connectors to be assigned to the new T-Rex boundary condition.
- Check the appropriate
*Set*checkbox to effectively assign the selected connectors to the T-Rex boundary condition.

When setting T-Rex boundary conditions, the currently selected connectors are highlighted in white (see figure below). Note that when there is either a connection between two domains or a baffle connector, arrows normal to the boundary are rendered to indicate which side of the connection or the baffle you are currently selecting.

There are five types of boundary conditions available for the T-Rex algorithm:

**Wall:**Sets bounding connectors to have anisotropic cells (quads and/or triangles) grown off of them. The accompanying*Δ*defines the initial height of those anisotropic cells.**Angle:**Sets bounding connectors to have anisotropic cells (quads and/or triangles) grown off of them. The accompanying*Δ*defines the 2D T-Rex turning angle (expressed in degrees) used to compute the initial height of those anisotropic cells along the bounding connectors.This computation consists of walking along the bounding connector(s) assigned to this T-Rex boundary condition and sampling the underlying database surface in the transverse direction. For each grid point on the connector(s) (Point A), the algorithm will find the closest point on the underlying database surface (Point B) for which the angle between the normals to the underlying database surface at Point A and Point B is smaller than or equal to the specified turning angle. The distance between Point A and Point B is the calculated initial height at that particular grid point.

The final result is a moothed distribution of T-Rex initial height values at each grid point along the connectors assigned to this T-Rex boundary condition.

**Match:**Sets bounding connectors to have a grid point distribution that matches the growth of the interior anisotropic cells (quads and/or triangles). Note that for the connectors to be modified, you need to have the*Push Attributes*option checked on.**Adjacent Grid:**Sets bounding connectors to have anisotropic cells (quads and/or triangles) grown off of them while matching the initial cell hight to an adjacent domain.**Off:**Sets bounding connectors to not have anisotropic cells (quads and/or triangles) grown off of them. Note that these connectors will have isotropic triangles applied along with the remaining domain interior outside of the anisotropic layer.

**Tip:** The *Angle* T-Rex boundary condition calculates a distribution of T-Rex initial heights along the connector(s) bounding a
given domain based on the curvature of the underlying database surface. This functionality therefore requires the domain in question to be constrained to
such database surface.

**Tip:** When applying T-Rex boundary conditions, you can always leave connectors as *Unspecified* when you want to use
type *Off* since *Unspecified* defaults to the *Off* boundary condition type.