Mesh Control Faces
Use Mesh control faces for precise control of the mesh in specific regions of the geometry, without affecting the geometry used for assigning physics.
To fully resolve the gradients in a field in certain regions of a domain, a finer mesh may be required. To reduce the memory required to solve the model, a swept mesh can sometimes be used. For geometries where it is not possible to sweep a mesh in the entire domain, partition the domain, then sweep the mesh in the domain created by the partitioning, as shown in Figure 7-42. By designating the created face as a mesh control face, it will only be visible in mesh mode, and only before the mesh is generated. As soon as the mesh is built inside the domains adjacent to the face, the face itself and the edges adjacent to the mesh control face are removed.
Figure 7-42: Face highlighted in blue is designated as a mesh control face, which means that the faces is removed and is only available when building the mesh. The image on the right hand side shows the geometry after the Mesh control faces operation has been built, which is the geometry also displayed in physics settings. The bottom image shows the resulting mesh where the face have been removed.
The operation removes the selected faces that are isolated or are located between two domains by ignoring them and composing the adjacent domains as shown in Figure 7-42 and Figure 7-43. The faces become available when you build the mesh. This makes it possible to partition a domain to prepare it for swept meshing, or to control the mesh size in a specific region, without modifying the geometry that appears when assigning physics settings.
An advantage of working with mesh control faces is that when the faces have been removed, the mesher can move mesh vertices to make a smoother the size transition across the removed entities (see Figure 7-43). This behavior is controlled by the settings in the section Control Entities of the mesh operation used to mesh the domains.
Figure 7-43: Comparing meshes where the Mesh control faces has been used vs. not used. A face added for the purpose of creating a swept mesh in the left part of the larger domain (highlighted in blue in the image to the left). Designating the face as a mesh control face removes the face and composes the adjacent domains (upper right image). The lower right image shows the mesh if the face is not marked as a mesh control face. This means that the face, edge, and domain partitioning are preserved. Compare the meshes on the right hand side to see the effect of smoothing the size transition across removed mesh control entities.
To use the operation, in the Geometry toolbar, from the Virtual Operations menu (), select Mesh Control Faces (). Then enter the properties of the operation using the following sections:
Input
Select the faces that you want to use for mesh control in the Graphics window. They then appear in the Face to include list. If the geometry sequence includes user-defined selections above the Mesh Control Faces node, choose Manual to select faces, or choose one of the selection nodes from the list next to Faces to include.
Click the Active button to toggle between turning ON and OFF the Faces to include selections.
Use the Include adjacent vertices and edges check box to specify if the operation also includes the ignorable vertices and edges adjacent to of the faces.
Swept Meshing of a Bracket Geometry: Application Library path COMSOL_Multiphysics/Meshing_Tutorials/bracket_swept_mesh
With the CFD Module, see Airflow over an Ahmed Body: Application Library path CFD_Module/Verification_Examples/ahmed_body
With the Chemical Reaction Engineering Module, see Polymerization in Multijet Tubular Reactor: Application Library path Chemical_Reaction_Engineering_Module/Reactors_with_Mass_and_Heat_Transfer/polymerization_multijet
With the Plasma Module, see Corrosion Protection of a Ship Hull: Application Library path Corrosion_Module/Cathodic_Protection/ship_hull