Activating Trimmed Cell Mesh Support for Adaptive Mesh Model
If you generate the mesh using the Trimmed Cell Mesher, the Adaptive Mesh solver can recognize trimmed cell refinement levels (octant depths) and honor them during refinement. This recognition helps to improve the quality of cell sub-division and child cell quality. The procedure is called Trimmed Cell Mesh Support.
However, the Trimmed Cell Mesher and AMR are not fully compatible. Before running the Adaptive Mesh model for a trimmed cell mesh, you are advised to check the unrefinable cells in your solution domain. Most unrefinable cells are the ones with different octant depths, but sharing a common face. To avoid them, you are advised to generate cells with possibly same size around curved objects.
In case of large number of unrefinable cells in critical areas, where refinement is expected, turn off the Trimmed Cell Mesh Support so that a classic mid-point subdivision is applied to all the cells in the solution domain.
- For meshes generated by the Trimmed Cell Mesher, select the node and set the Initial Mesh to Trimmed (HEX).
-
For unknown mesh sources, set Initial Mesh
to Auto Detect.
Auto Detect checks whether the mesh is compatible with Trimmed Cell Mesh Support. If it is, Trimmed Cell Mesh Support is activated. If it is not compatible, the Adaptive Mesh solver treats all the cells with refinement level 0, just like the option General. See Initial Mesh Properties.
- Right-click the Evaluate Refinement Status. node and select
-
To mark the unrefinable cells in the trimmed mesh due to inconsistencies with
neighboring cells, you create a threshold part with the value
4.0 using the field function Adaption Refinement Status.
An example result is shown below:
- Select the Initial Mesh to General. node and set the
Note | To avoid a significant number of unrefinable cells, you are advised to always reset the mesh when you clear adaption before reactivating Trimmed Cell Mesh Support. |