29.3.1. Performing Gradient Adaption

The Gradient Adaption Dialog Box (Figure 29.4: The Gradient Adaption Dialog Box) allows you to perform gradient adaption.

 Setting Up Domain → Adapt → Mark/Adapt Cells → Gradient...

Figure 29.4:  The Gradient Adaption Dialog Box

The Gradient Adaption Dialog Box

The procedure for performing gradient adaption is as follows:

  1. Select the appropriate adaption method.

    • Curvature is the default method, and is recommended for problems with smooth solutions.

    • Gradient is recommended for problems with strong shocks (for example, supersonic inviscid flows).

    • Iso-Value is recommended for problems where derivatives are not helpful, or when you want to customize the adaption criterion (using custom field functions, user-defined scalars, and so on).

  2. Select a Normalization method:

    • Standard, if normalization of the gradient or curvature is not to be performed.

    • Scale, if the gradient or curvature is to be scaled by the average value in the domain.

    • Normalize, if the gradient or curvature is to be scaled by the maximum value of the variable in the domain (that is, the gradient or curvature is bounded by [0, 1]).

    Using either scaling or normalization makes the setting of the refine and coarsen thresholds much simpler, and almost independent of the current solution and specific problem.

    This is especially important when using the automated dynamic adaption process.

  3. Select the required solution variable in the Gradients of drop-down list.

  4. Click Compute.

  5. Click Contours... to open the Contours Dialog Box.

    1. Enable Filled contours, disable Node Values, and select Adaption... and Existing Value in the Contours of drop-down lists.

    2. Select the appropriate surfaces (3D only).

    3. Click Display to see the location of cells with each curvature value.

      By displaying different ranges of values (as described in Specifying the Range of Magnitudes Displayed), you can determine the range of curvatures for which you want to adapt cells.

      If you are using normalization, the range for the curvatures of any variable will always be [0, 1].

  6. Set the values for Refine Threshold.

    Cells with gradient values above this value will be either marked or refined.

  7. Select the Normalize per Zone option for cases where different flow conditions exist for different zones.

    This approach of zonal normalization normalizes (that is, scales) each zone of the domain, in contrast to normalization on the whole domain. This approach is useful for dynamic adaption (see Dynamic Gradient Adaption for details), where you want to solve the flow problem involving different flow intensities in the different cell zones.

    If you use gradient adaption for the whole domain, the small gradients may be neglected in comparison to large gradients depending on the adaption threshold. Enabling Normalize per Zone in the Gradient Adaption Dialog Box will scale or normalize each zone independently, which means the strongest gradient for each zone is considered separately for adaption of that zone.


    Note:  If you expect gradients of different intensities throughout the domain and you want to resolve them, separate the domain into different zones for precise zonal normalization. This approach is referred as zonal adaption.


  8. If you want to coarsen the mesh, set the Coarsen Threshold to a nonzero value. Cells with gradient values below the specified value will be either marked or coarsened.

  9. To set adaption options (described in Mesh Adaption Controls Dialog Box), click Controls... to open the Mesh Adaption Controls Dialog Box.

  10. To mark the cells for adaption (refinement/coarsening), click Mark. You can then place the cells in an adaption register, which can be manipulated (as described in Manipulating Adaption Registers). To perform the adaption immediately, click Adapt.


Note:  To disable refinement, coarsening, or marking for refinement/coarsening, disable the Refine or Coarsen option before marking or adapting.



Release 18.2 - © ANSYS, Inc. All rights reserved.