About Fluids Meshing

The mesh divides a computational domain into many cells (or elements). You can adjust the size of all elements throughout the mesh using global mesh specifications or modify the size of elements at important locations within the computational domain using local mesh specifications.

See Also
Specifying Global Mesh Parameters
Specifying Local Mesh Parameters for a Navier-Stokes Analysis
Specifying Local Mesh Parameters for a Lattice Boltzmann Analysis

The app automatically creates a global mesh specification for the analysis case. You can modify it to adjust the default mesh settings that apply throughout the analysis case, and you can define local mesh specifications to prescribe mesh behavior in specific regions.

After you define the global and local mesh specifications, you can generate the mesh in one of two ways:

  • Mesh only: Use the Generate Mesh command to generate the mesh without solving. This approach is recommended if you want to review the mesh to ensure that it meets the simulation objectives before you commit to a potentially costly solve. You might want to review the mesh first to avoid unnecessary expenditure of tokens, credits, or time on an inappropriate mesh.

    You can generate the mesh from your local computer (for Navier-Stokes analyses) or on the cloud (for analyses using either fluids solver). The cloud also lets you select specific high-memory queues for mesh generation.

  • Mesh and solve: Use the Simulate command to generate the mesh along with the solve.

When the app generates the mesh, you can view the information section of the messages tab of the Mesh Generation Status dialog box. The Messages tab shows the total number of elements the app generated and the total meshing time (in terms of wall clock time).

For a more detailed view of this information, you can navigate to the Mesh Data tab of the Diagnostic Files tab to review the meshing log.



Once you generate the mesh, you can visualize and inspect it in Physics Results Explorer. To view the mesh, navigate to the undeformed model plot (created by default) and enable mesh visualization by setting Visible Edges to Mesh in the Rendering tab of the contour plot.



To inspect the mesh within the interior of the computational domain, use plot sectioning. After activating plot sectioning, ensure that Visible Edges is set to Mesh in the Appearance tab of plot sectioning.



When using plot sectioning, there are two ways to display the cut elements:

  • Exact cut: Set the Cut option to Exact in the Definition tab of plot sectioning. This option cuts the elements precisely but might sometimes reduce the clarity of the mesh.

  • Non-exact cut: Disabling the Exact option results in nonprecise cuts, which can sometimes improve the visibility of the mesh elements at the cut.

In addition, you can assess the quality of the mesh by creating contour plots of metrics such as nonorthogonality and volume ratio.