Automatic Refinement

Use the Automatic Refinement tools to perform the following tasks:

These tools are an extension to Mesh Autosizing, and improve the mesh in several critical areas. Development continues on these tools, and in future versions, they will be incorporated into the default settings.

Controlling Volume, Surface, and Boundary Layer Meshing

Because default Automatic Sizing bases the mesh distribution on edge and surface curvature, it often creates a mesh that is too coarse on surfaces that are flat. Likewise, Automatic Sizing often produces a coarse mesh in regions that are not closely bounded by geometry. Automatic Refinement eliminates these problems by providing better control over how elements grow from the walls into large, open regions. While the resultant mesh count may be higher, the solution accuracy is generally improved.

Automatic Refinement is only available for 3D Acis- (including Inventor), Parasolid-, and Granite (Pro/Engineer)-based models.

Examples

Standard Autosizing

Automatic Refinement

   
   
   
 

 

Workflow

  1. Apply Automatic sizing. (Click Autosize on Automatic Sizing context panel.)
  2. In Automatic Sizing Refinement, check Surface refinement.
  3. Click Refine.
  4. To achieve greater mesh control for external flow simulations, enable Volume-based Autosizing. Do this by changing the value of the mesh_volume_autosize flag to 1 in the Flag Manager.
  5. The default settings produce a high quality, efficient mesh for most models. Based on analysis expectations, however, changes may be required to fine-tune the mesh. Click the Advanced button near the bottom of the dialog, and modify the Surface growth rate and Enhancement growth rate.
  6. Close the Advanced dialog, and click the Refine button again.

To disable Automatic Refinement, uncheck Surface refinement.

Notes

There are several flags that control the behavior of the volume mesh:

Advanced Dialog Settings

Incorporating Changes

Click Refine to update the mesh distribution after modifying any of these:

  • Advanced dialog settings
  • Material assignments
  • Mesh distribution
  • Refinement regions
  • Edge or Surface Diagnostics

A warning icon appears on the Refine button when it should be pushed:

Advanced Dialog

After modifying settings in the Advanced dialog, it is necessary to recompute the mesh distribution. This warning icon is displayed on the appropriate buttons to indicate which must be pushed:

  • After changing settings in the Size Refinement section, click the Automatic size button.
  • After changing settings in the Surface Refinement section, click the Refine button.

If settings in both sections are modified, click both buttons in the order the Warning icon is displayed on each.

To Preview the effect of Automatic Sizing Refinement

This is enabled after Surface refinement is enabled from the Mesh Sizes quick edit dialog.

  1. Press and hold the keyboard Shift key.
  2. Hover the mouse over surfaces and near gaps.

A small prism indicates the element size:

Gaps and Thin Solids

Gap Refinement controls the mesh within gaps between closely oriented surfaces, even if they belong to different parts.

Gap Refinement Meshing is only available for 3D Acis-, Parasolid-, and Granite (Pro/Engineer)-based models.

Examples

Default Autosizing

This mesh in the gap is very coarse:

Gap-Refinement

This mesh in the gap is significantly better:

Workflow

  1. Apply Automatic sizing. (Click AutoSize on the Automatic Sizing context panel.
  2. In Automatic Sizing Refinement, check Surface refinement.
  3. Check Gap Refinement.
  4. Click Refine.
  5. The default settings produce a high quality, efficient mesh for most models. Based on analysis expectations, however, changes may be required to fine-tune the mesh. Click the Advanced button near the bottom of the dialog.
  6. After modifying settings, close the Advanced dialog, and click the Refine button again.

To disable Gap Refinement, uncheck the Gap Refinement box.

Advanced Dialog Settings

Fluid gap elements = 4

Fluid gap elements = 1

 

 

Incorporating Changes

Click Refine to update the mesh distribution after modifying any of these:

  • Advanced dialog settings
  • Material assignments
  • Mesh distribution
  • Refinement regions
  • Edge or Surface Diagnostics

A warning icon appears on the Refine button when it should be pushed:

Advanced Dialog

After modifying settings in the Advanced dialog, it is necessary to recompute the mesh distribution. This warning icon is displayed on the appropriate buttons to indicate which must be pushed:

  • After changing settings in the Size Refinement section, click the Automatic size button.
  • After changing settings in the Surface Refinement section, click the Refine button.

If settings in both sections are modified, click both buttons in the order the Warning icon is displayed on each.

To Preview the effect of Automatic Sizing Refinement

This is enabled after Surface refinement is enabled from the Mesh Sizes quick edit dialog.

  1. Press and hold the keyboard Shift key.
  2. Hover the mouse over surfaces and near gaps.

A small prism indicates the element size:

Volume Mesh Growth Rate

Volume mesh growth rate is an alternative volume mesher that uses approximate length scales to compute the mesh. Volume-based autosizing, described above, generally provides better control of the growth rate within the volume.

Adjust the Volume Mesh Growth Rate when there are large regions containing sparse geometric detail. High gradient flows in such regions often require a finer mesh than the default settings can produce.

When the Volume Mesh Growth Rate is controlled, an alternative meshing scheme in invoked. The resultant model size is usually larger than that produced by the default mesh settings, but the resultant mesh will generally improve analysis results.

Examples

Default volume growth rate:

Modified Volume Growth Rate:

When the Volume Growth Rate is modified, the element growth is more gradual in the open area of the channel. This is ideal for calculating swirl and other flow and temperature gradients.

Workflow

  1. Apply Automatic sizing. (Click Autosize on Automatic Sizing context panel.)
  2. Click the Advanced button.
  3. Check the box for Volume growth rate.

Case Study

The following model of a hydraulic valve has an extremely tiny clearance that prevents a mesh from generating successfully using the default settings:

After some trial and error, it was discovered that the mesh generates successfully if Mesh Enhancement is turned off. This is obviously not ideal because no flow will be computed through the small gaps:

The Volume growth rate was modified, and Surface Refinement and Gap Refinement were invoked with the default settings. Mesh Enhancement is also enabled.

There were several important results: