Chapter 10: Assigning the Mesh

Previous: Exercise 3 | Next: Exercise 4

Prior to running an Autodesk Simulation CFD analysis, the geometry is broken up into small pieces called elements. The corner of each element is a node. The calculation is performed at the nodes. These elements and nodes make up the mesh.

In three dimensional models, most elements are tetrahedrals: a four sided, triangular-faced element. In two dimensional models, most elements are triangles:

Advantages of Automatic Mesh Sizing

Autodesk Simulation CFD performs a comprehensive topological interrogation of the analysis geometry and determines the mesh size and distribution on every edge, surface, and volume in the model. Geometric curvature, gradients, and proximity to neighboring geometry are all considered when assigning element sizes and mesh distributions.

It does not matter which selection mode (volume, surface, or edge) is active when this button is clicked.

This process is fast, but can take a few minutes for models that contain more than 3000 edges.

The Mesh Workflow

Automatic Sizing

There are several ways to apply Automatic Sizing:

Mesh Tools

Use the Mesh Tools to customize the mesh distribution. All tools are accessible from the Mesh Sizes quick edit dialog. To simplify the workflow, many are also available on the context tool bar and on the context panel.

Context tool bar

Left click on or near the model:

  1. Open the Mesh Sizes quick edit dialog.
  2. Invoke automatic mesh sizing.
  3. Create mesh refinement regions. (To focus the mesh in critical locations.)
  4. Check the model with Diagnostics. (To remove potentially problematic features.)
  5. Suppress a selected part. (To remove less important parts, and decrease the analysis time.)
  6. Resume a selected part.

Context panel in the Ribbon

  1. Toggle between Automatic mesh sizing and Manual mesh sizing.
  2. Invoke automatic mesh sizing.
  3. Open the Mesh Sizes quick edit dialog.
  4. Check the model with Diagnostics. (To remove potentially problematic features.)
  5. Create mesh refinement regions. (To focus the mesh in critical locations.)
  6. Modify or disable Mesh Enhancement .
  7. (In the expansion panel of the context panel.) Customize the mesh distribution by modifying Advanced meshing controls.

On-model mesh modification

In some cases, the mesh distribution needs to be modified:

  1. Select the part.
  2. Open the Mesh Sizes quick edit dialog.
  3. Make the appropriate refinements or invoke Automatic Refinement.

Mesh History

When you define a mesh with Automatic Mesh Sizing, you define a process that the Mesher uses to generate the mesh. Unlike materials and boundary conditions, a mesh definition is a set of commands issued in a specific order. When you change the order of these commands, you often change the resultant mesh.

The Mesh Size branch of the Design Study bar lists every step in the mesh definition history. This includes when Automatic Sizing is invoked, size adjustments, and when Spread Changes is applied. Each step is listed as a separate branch, and can be modified, disabled, or deleted from the mesh definition.

All steps in the history constitute the mesh definition. Certain mesh definition commands prompt question dialogs regarding the re-institution of existing adjustment settings or the removal of existing mesh sizes. The responses to these questions affect the current mesh definition, but they do not remove earlier steps in the history. New steps are added to the definition may change the distribution and may even "undo" the effects of earlier steps.

These are the primary benefits of the Mesh History:

To change an existing setting in the mesh distribution:

Most mesh distributions on complex models are defined through a series of commands and refinements. Because every setting is accessible in the History, it is easy to modify a specific setting in the mesh definition.

  1. Right click on the setting, and select Edit.
  2. Modify the value in the dialog.

To rebuild the mesh distribution:

When a setting is modified or deleted, a "warning" icon is displayed over the Mesh Size branch:

This means that the mesh distribution is out of date and needs to be rebuilt.

  1. Right click on either the Mesh Size branch or in the model window.
  2. Click Rebuild mesh definition.
Note: The mesh seed points update after the mesh definition is rebuilt.
Note: The mesh is not generated until the simulation is started.

To disable a setting:

Sometimes it is useful to temporarily remove a setting without deleting it. This can be help determine the effect a setting has on the mesh distribution.

  1. Uncheck the box adjacent to the setting.
  2. Rebuild the mesh distribution.

To modify an existing mesh refinement region:

Note: Extrusion definitions do not appear in the Mesh Definition History.

Tools for Improving the Mesh

It is important to have enough mesh to capture flow and heat transfer gradients. It is also important to conserve computer resources so that analyses run quickly. Autodesk Simulation CFD provides tools to help you modify the default mesh to match your design and optimize performance and reliability.

To locate problem areas in CAD geometry, click the Diagnostics button. This set of tools interrogates the geometry to determine the location of potential problem areas. These areas may cause difficulty in the determination of mesh sizes, the mesh generation, and in the solution stability of the analysis.

Use the Suppress tool to prevent one or more parts from being meshed. Part Suppression eliminates parts from the analysis, but they will appear (unmeshed) in the results.

Note: 1 million elements uses approximately 2 GB RAM. Utilize the Element Estimator in the Mesh Selection window for an approximation of the system resources that will be used during the analysis.

Visualizing the Mesh

During the Mesh task, preview dots appear on the edges of all volumes to be meshed. These dots indicate the location of nodes on edges once the mesh is generated.

To view the mesh prior to generating the entire three-dimensional mesh:

  1. Select surfaces or volumes.
  2. Right click, and select Preview.

The mesh faces are displayed on the selected surfaces. Note that if volumes are selected, the element faces are drawn only on the surfaces of the selected volumes.

To remove the previewed element faces:

  1. Select the surfaces or volumes that are displayed with a previewed mesh.
  2. Right click, and select Clear.

Generating the Mesh

To generate the mesh, click Solve on the Solve dialog. The mesh is constructed according to the prescribed element distribution. If a mesh already exists (and you are simply continuing the analysis), then a new mesh is not created.

To view the mesh prior to running the analysis:

  1. Right click on the Scenario branch or the Mesh Size branch in the Design Study bar.
  2. Click Generate mesh.

This is a good opportunity to check the mesh to ensure that it resolves the geometry adequately.

Related Topics

Adjusting the Mesh Sizes

Creating Refinement Regions

Extrusion Meshing

Advanced Parameters

Mesh Enhancement

Geometric Changes

Manual Mesh Sizing

Adaptive Meshing

Mesh History

Previous: Exercise 3 | Next: Exercise 4

Back to Training Title Page