Specifying Local Mesh Parameters for a Navier-Stokes Analysis

You can specify a set of mesh parameters that apply to local regions of your model where you want a more refined mesh.

A more refined mesh enables better capture flow variations within the computational domain. For example, representing flow at a critical location with a single element or a single layer of elements causes the simulation to approximate flow conditions at that location as uniform. In contrast, using a more refined mesh with additional elements at critical locations allows the simulation to more accurately capture spatial gradients in variables like velocity and temperature. However, while refining the mesh globally or locally can improve result accuracy, it also increases computational cost and solution time.

This task shows you how to:

Specify Local Mesh Parameters Within a Shape for a Navier-Stokes Analysis

You can define a box, cylinder, sphere, or custom shape and specify greater mesh density within that shape.

  1. From the Mesh section of the action bar, click Local Mesh Specification .
  2. From the Type options, select Shape Based .
  3. Optional: Customize the Name.
  4. Enter the Mesh size within the shape.
  5. From the Mesh shape options, select Box , Sphere , or Custom .
  6. Specify the dimensions, origin, and orientation for the box, sphere, or custom shape.
  7. Click OK.

Specify Local Mesh Parameters on Faces for a Navier-Stokes Analysis

You can select one or more faces and specify greater mesh density on them.

  1. From the Mesh section of the action bar, click Local Mesh Specification .
  2. From the Type options, select Face-Based .
  3. Optional: Customize the Name.
  4. From the Support options, select the faces for which you are defining local mesh behavior.
  5. Enter the Maximum size of the mesh elements on the selected faces.
  6. Enter the Geometric approximation angle, which defines the maximum angle that a single surface element edge can span along a curved surface. Smaller values produce finer elements on tightly curved geometry..
  7. Enter the Minimum size of the mesh elements on the selected faces.
  8. Enter the Chordal error, which defines the maximum distance between the true curved surface of a CAD part and its approximation in a mesh element.
  9. Click OK.

Specify Local Mesh Parameters on Edges

You can select one or more edges and specify greater mesh density on them.

  1. From the Mesh section of the action bar, click Local Mesh Specification .
  2. From the Type options, select Edge Based.
  3. Optional: Customize the Name.
  4. From the Support options, select the faces for which you are defining local mesh behavior.
  5. Enter the Maximum size of the mesh elements on the selected edges.
  6. Enter the Geometric approximation angle, which defines the maximum angle that a single surface element edge can span along a curved surface. Smaller values produce finer elements on tightly curved geometry..
  7. Enter the Minimum size of the mesh elements on the selected edges.
  8. Enter the Chordal error, which defines the maximum distance between the true curved edge of a CAD part and its approximation in a mesh element.
  9. Click OK.

Specify a Far-Field Local Mesh for a Navier-Stokes Analysis

You can specify far-field local mesh specifications to allow for a very large mesh size on a boundary.

Far-field local mesh specifications are typically used for external flow applications such as air flowing over a wing in a wind tunnel or an electronics board placed in a large room. It enables a fine mesh around the object of interest to capture key physics while using a coarse mesh in the rest of the domain to minimize computational cost. For such applications, it is recommended to set all the boundaries of the domain as Farfield.

  1. From the Mesh section of the action bar, click Local Mesh Specification .
  2. From the Type options, select Farfield .
  3. Optional: Customize the Name.
  4. Select the Support for which you want to define far-field-based mesh characteristics.
  5. Click OK.