You can perform the boundary adaption in three different ways based on:
number of cells
In this case, the distance of a cell from the boundary is measured in number of cells.
normal distance
In this case, the cell refinement is based on the normal distance of a cell from the boundary.
target boundary volume
In this case, the cell refinement is based on a target boundary volume and growth factor.
You can use any of these methods in the Boundary Adaption Dialog Box (Figure 29.3: The Boundary Adaption Dialog Box).
Setting Up Domain → Adapt → Mark/Adapt Cells → Boundary...
The procedure for performing adaption based on the distance of a cell from the boundary in terms of the number of cells is as follows:
In the Boundary Adaption Dialog Box (Figure 29.3: The Boundary Adaption Dialog Box), select Cell Distance under Options, choose the boundary zones near which you want to refine cells in the Boundary Zones list, and click .
This operation is performed to fill the cell distance variable for each cell to be visualized in Step 2.
(optional) Click the button to open the Contours Dialog Box.
Enable Filled contours, disable Node Values.
Select Adaption... and Boundary Cell Distance in the Contours of drop-down list.
Select the appropriate surfaces (3D only).
Click to see the location of cells with each value of boundary cell distance.
By displaying different ranges of values (as described in Specifying the Range of Magnitudes Displayed), you can determine the cell distance of the cells you want to adapt.
Set the Number of Cells to the desired value.
If you retain the default value of 1, only those cells that have edges (2D) or faces (3D) on the specified boundary zone(s) (that is, those cells with a boundary cell distance of 1) will be marked or adapted.
If you increase the value to 2, cells with a boundary cell distance of 2 will also be marked/adapted, and so on.
(optional) If you want to set any adaption options (described in Mesh Adaption Controls Dialog Box), click the button to open the Mesh Adaption Controls Dialog Box.
Click to mark the cells for refinement by placing them in an adaption register (which can be manipulated as described in Manipulating Adaption Registers), or click to perform the refinement immediately.
The procedure for performing refinement based on a cell’s normal distance from the boundary (that is, the distance between the centroid of a cell and the boundary) is as follows:
In the Boundary Adaption Dialog Box, select Normal Distance under Options, choose the boundary zones near which you want to refine cells in the Boundary Zones list, and click .
This operation is performed to fill the cell distance variable for each cell to be visualized in Step 2.
(optional) Open the Contours Dialog Box by clicking on the button.
Enable Filled contours, disable Node Values.
Choose Adaption... and Boundary Normal Distance in the Contours of drop-down list.
Select the appropriate surfaces (3D only).
Click to see the location of cells with each value of normal distance.
By displaying different ranges of values (as described in Specifying the Range of Magnitudes Displayed), you can determine the normal distance of the cells you want to adapt.
Set the Distance Threshold to the desired value. Cells with a normal distance to the selected boundary zone(s) less than or equal to this value will be marked or adapted.
(optional) If you want to set any adaption options (described in Mesh Adaption Controls Dialog Box), click the button to open the Mesh Adaption Controls Dialog Box.
Click to mark the cells for refinement by placing them in an adaption register (which can be manipulated as described in Manipulating Adaption Registers), or click to perform the refinement immediately.
This boundary adaption allows you to produce exponentially larger (or smaller) cells as you get further from the boundaries. The cells are marked for refinement based on the following equation:
(29–1) |
where is the cell volume,
is the specified boundary volume (Boundary Volume),
is the exponential growth factor (Growth Factor), and
is the normal distance of the cell centroid from
the selected boundaries.
is the target volume for a
cell.
The procedure for this type of boundary refinement is as follows:
In the Boundary Adaption Dialog Box, select Volume Distance under Options, set the Boundary Volume and Growth Factor to the desired values, select the boundary zones in the Boundary Zones list where you want the Boundary Volume to be applied, and click .
This operation is performed to fill the cell distance variable for each cell to be visualized in Step 2.
(optional) Open the Contours Dialog Box by clicking the button.
Enable Filled contours, disable Node Values.
Choose Adaption... and Boundary Volume Distance in the Contours of drop-down list.
Select the appropriate surfaces (3D only).
Click to see the contours of the target volume.
By displaying different ranges of values (as described in Specifying the Range of Magnitudes Displayed), you can determine the normal distance of the cells you want to adapt.
You can modify the values of the inputs (Boundary Volume, Growth Factor, and/or Boundary Zones), click in the Boundary Adaption dialog box, and then redisplay the contour plot to visualize the modified target volume distribution.
(optional) If you want to set any adaption options (described in Mesh Adaption Controls Dialog Box), click the button to open the Mesh Adaption Controls Dialog Box.
Click to mark the cells for refinement by placing them in an adaption register (which can be manipulated as described in Manipulating Adaption Registers), or click to perform the refinement immediately.