Specifying Local Mesh Parameters

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 of temperature and 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

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

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. Specify the Mesh size on the selected faces.
  6. Click OK.

Specify a Far-Field Local Mesh

You can specify far-field local mesh specifications to allow for a very large mesh size on a boundary and disable automatically generated boundary layers (for convergent volume meshing) on that 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.