Viewing the cell markings is often helpful in the process of creating hybrid adaption functions. You can plot a marker at the cell centroid and/or a wireframe of the cell to view the state of the cell. By default, the cells marked for refinement are colored in red, and the cells marked for coarsening are marked in cyan. In addition, cells marked ACTIVE in a mask register are also colored red. These are the cells that are marked for adaption, but the final number of cells added or subtracted from the mesh depends on the adaption limits and the mesh characteristics.
To display a register, do the following:
1.
Choose the register in the
Registers list.
2.
Set the display options by clicking on the
Options... button.
3.
Click on the
Display button.
Adaption Display Options
Various aspects of the adaption register display can be modified, such as the wireframe visibility and shading, marker visibility, color, size, and symbol. Also, you can select either surface or zone meshes for the display.
The adaption register display capability allows you to view the cells that are flagged for adaption.
Depending on the dimension of the problem and the number of flagged cells, you can customize the adaption display options. The most common method for viewing flagged cells in 2D is to draw the mesh and filled wireframes, but this is impractical in 3D. In three dimensions, you can plot the centroid markers of the cells with the mesh of selected boundary zones.
You can use markers and/or wireframes to display the flagged cells in an adaption or mask register. The marker is a symbol placed at the centroid of the cell. There is a refine marker and a coarsen marker. You can change the symbol, color, and size of these markers. A wireframe is composed of the edges of the triangle or tetrahedron. Its color is the same as the respective marker color, and can be filled, if required.
Portions of the mesh can be drawn with the marker symbols or wireframes to aid in evaluating the location of marked cells.
Figure 27.11.2: The
Adaption Display Options Dialog Box
To enable or disable the display of wireframes for cells marked for refinement/coarsening, turn the
Wireframe option on or off under
Refine and/or
Coarsen. To draw filled wireframes (i.e., using a solid color, instead of the outline) turn on the
Filled option.
To enable or disable the display of markers for cells marked for refinement/coarsening, turn the
Marker option on or off under
Refine and/or
Coarsen. Use markers to specify their size in the
Size field, and their symbol in the
Symbol drop-down list.
To change the color of the refine or coarsen markers/wireframes, select a new color in the
Color drop-down list under
Refine or
Coarsen. By default, refine markers/wireframes are red and coarsen markers/wireframes are cyan.
To include portions of the mesh in the register display, enable the
Draw Mesh option. The
Mesh Display dialog box will appear automatically, where you can set the mesh display parameters. When you click on
Display in the
Manage Adaption Registers dialog box, the mesh display, as defined in the
Mesh Display dialog box, will be included in the register display.