Meshing Lighting Applications

A basic guideline for a high-quality analysis model is that the mesh distribution is sufficient to resolve the flow and temperature gradients efficiently. In regions where the flow circulates or experiences large gradients (such as in wakes, vortices, and separation regions), a finer mesh is required.

Automatic Sizing

For most models, use Autosizing to define the mesh distribution. It may be necessary to locally refine the mesh on geometric features that are highly detailed. For more information about Mesh Autosizing and model preparation...

In some cases, it may be necessary to adjust the Minimum Refinement Length to reduce their effect on the overall mesh count.

To locally refine the mesh in high-gradient flow regions, adjust the mesh distribution on geometric volumes and surfaces.

Mesh Refinement

If there are no appropriate geometric features in a particular region, create a mesh refinement region. There are two primary ways to do this:

Add volumes for refinement in the CAD model

If the air volume is built in the CAD model, one strategy is to construct refinement regions directly on the model.

  1. A simple method is to cut out a region near the fixture, resulting in a void:

    cad cutout

  2. When the model is transferred into Autodesk® CFD, the void is automatically filled.

  3. Assign a material, and refine the mesh distribution within the region to focus mesh on the geometric details of the fixture and surrounding flow.

Build refinement regions in Autodesk® CFD

After assigning the mesh in the Meshing task, left click off the model, and click the Refinement Region icon:

refinenement icon

Position the region around critical components and in areas where large flow and temperature gradients are expected.

refinement region

Example:

A refinement region is built around a fixture. The influence on the velocity near the fixture and in the thermal plume is significant:

velocity

The influence on the temperature field is also significant:

temperature

Capturing these gradients is essential for the accuracy of the solution.

Nested Regions

An extension of this technique is to nest multiple regions around the device. Create these regions in the CAD model as Refinement Regions in the Autodesk® CFD Mesh task do not support this technique. This concept is illustrated:

nested region

The mesh distribution in the inner-most region is the finest, and focuses the mesh where the gradients are highest. Because this region is small relative to the calculation domain, this high-density mesh does not propagate far, which keeps the overall mesh count from getting too big. The mesh distribution in the second nested region is a little more coarse, and the mesh in the remainder of the domain is even coarser. This approach efficiently concentrates elements only where they are most needed, providing an efficient use of meshing and solving resources.

Additional Meshing Tools

There are several additional meshing tools that are very useful for lighting applications:

Adaptive Meshing

Since its introduction, Automatic Mesh Sizing has greatly simplified the modeling process. Automatic Mesh Sizing defines a mesh that is optimized for the model and accurately represents every detail of the geometry.

A good representation of the geometry is only one requirement for a high fidelity solution. For example, the flow on a simple model with a uniform mesh can contain significant gradients. The results on the coarse mesh may not be highly accurate, but they do indicate flow trends. These trends can be used to identify where the elements should be concentrated to improve solution accuracy.

Mesh Adaptation uses solution results to progressively improve the mesh definition. The simulation is run several times. Each time the results in the previous cycle are used to improve the mesh in the next cycle. The result is a mesh that is optimized for the particular simulation. The mesh is finer for high gradient regions, and coarser elsewhere.

When Mesh Adaptation is enabled, the following occurs:

  1. A baseline scenario is run to completion.
  2. The mesh is changed (often refined) based on velocity, pressure, and temperature (if available). The simulation is run to completion.
  3. The process repeats for each Adaptation cycle.

The result is an intelligently refined mesh that is tuned for the flow and temperature results fields.

For more about Adaptive Meshing...

Volume Mesh Growth Rate

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:

default growth

Modified volume growth rate:

modified growth

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 for volume growth

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

Improved 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 for surface refinement

  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:

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:

default autosize

Gap-Refinement:

This mesh in the gap is significantly better:

gap refinement

Workflow for gap refinement

  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.

For more about these meshing tools...

Unit 3 |Running