|
|
Solution-adaptive mesh refinement is performed to efficiently reduce the numerical error in the digital solution, with minimal numerical cost. Unfortunately, direct error estimation for point-insertion adaption schemes is difficult because of the complexity of accurately estimating and modeling the error in the adapted meshes. A comprehensive mathematically rigorous theory for error estimation and convergence is not yet available for CFD simulations. Assuming that maximum error occurs in high-gradient regions, the readily available physical features of the evolving flow field may be used to drive the mesh adaption process.
Three approaches for using this information for mesh adaption are available in ANSYS FLUENT:
|
|
(19.3-1) |
where
is the error indicator,
is the cell area,
is the gradient volume weight, and
is the Euclidean norm of the gradient of the desired field variable,
.
The default value of the gradient volume weight is unity, which corresponds to full volume weighting. A value of zero will eliminate the volume weighting, and values between 0 and 1 will use proportional weighting of the volume.
If you specify adaption based on the gradient of a scalar, then the value of
is displayed when you plot contours of the adaption function.
This approach is recommended for problems with strong shocks, e.g., supersonic inviscid flows.
For example, the gradient function in two dimensions has the following form:
|
|
(19.3-2) |
where
is the error indicator,
is the cell area,
is the gradient volume weight, and
is the undivided Laplacian of the desired field variable (
).
The default value of the gradient volume weight is unity, which corresponds to full volume weighting. A value of zero will eliminate the volume weighting, and values between 0 and 1 will use proportional weighting of the volume.
This approach is recommended for problems with smooth solutions.
|
|
(19.3-3) |
where
is the error indicator. This approach is recommended for problems where derivatives are not helpful. For example, if you want to refine the mesh where the reaction is taking place, you can use the isovalues of the reaction rate and mark for refinement at high reaction rates. This approach also allows you to customize the criteria for controlling the adaption using custom field functions, user-defined scalars, etc.
The length scale is the square (2D) or cube (3D) root of the cell volume. Introducing the length scale allows resolution of both strong and weak disturbances, increasing the potential for more accurate solutions. However, you can reduce or eliminate the volume weighting by changing the gradient Volume Weight in the Mesh Adaption Controls dialog box (see this section in the separate User's Guide for details).
Any of the field variables available for contouring can be used in the gradient adaption function. These scalar functions include, both geometric and physical features of the numerical solution. Therefore, in addition to traditional adaption to physical features, such as the velocity, you may choose to adapt to the cell volume field to reduce rapid variations in cell volume.
In addition to the Standard (no normalization) approach formerly used by ANSYS FLUENT, two options are available for Normalization [ 107]:
![]() |
(19.3-4) |
when using the Scale option, suitable first-cut values for the Coarsen Threshold and the Refine Threshold are 0.3 to 0.5, and 0.7 to 0.9, respectively. Smaller values will result in larger adapted regions.
|
|
(19.3-5) |
when using the Normalize option, suitable first-cut values for the Coarsen Threshold and the Refine Threshold are 0.2 to 0.4, and 0.5 to 0.9, respectively. Smaller values will result in larger adapted regions.