![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
When the flow is aligned with the mesh (e.g., laminar flow in a rectangular duct modeled with a quadrilateral or hexahedral mesh) the first-order upwind discretization may be acceptable. When the flow is not aligned with the mesh (i.e., when it crosses the mesh lines obliquely), however, first-order convective discretization increases the numerical discretization error (numerical diffusion). For triangular and tetrahedral meshes, since the flow is never aligned with the mesh, you will generally obtain more accurate results by using the second-order discretization. For quad/hex meshes, you will also obtain better results using the second-order discretization, especially for complex flows.
In summary, while the first-order discretization generally yields better convergence than the second-order scheme, it generally will yield less accurate results, especially on tri/tet meshes. See Section 26.18 for information about controlling convergence.
For most cases, you will be able to use the second-order scheme from the start of the calculation. In some cases, however, you may need to start with the first-order scheme and then switch to the second-order scheme after a few iterations. For example, if you are running a high-Mach-number flow calculation that has an initial solution much different than the expected final solution, you will usually need to perform a few iterations with the first-order scheme and then turn on the second-order scheme and continue the calculation to convergence. Alternatively, full multigrid initialization is also available for some flow cases which allow you to proceed with the second-order scheme from the start.
For a simple flow that is aligned with the mesh (e.g., laminar flow in a rectangular duct modeled with a quadrilateral or hexahedral mesh), the numerical diffusion will be naturally low, so you can generally use the first-order scheme instead of the second-order scheme without any significant loss of accuracy.
Finally, if you run into convergence difficulties with the second-order scheme, you should try the first-order scheme instead.
First-to-Higher Order Blending
While the higher-order scheme may result in greater accuracy, it can also result in convergence difficulties and instabilities at certain flow conditions. On the other hand, using a first-order scheme may not provide the desired accuracy. One approach to achieving improved accuracy while maintaining good stability is to use a discretization blending factor. This feature is available for both density-based and pressure-based solvers and can be invoked using the following text command:
solve
set
numerics
Enter a value between 0 and 1 when asked for the blending factor: 1st-order to higher-order blending factor [min=0.0 - max=1.0]
A blending factor of 0 reduces the gradient reconstruction to a first-order discretization scheme, whereas 1 will recover high-order discretization. A blending factor of less than 1 (typically 0.75 or 0.5) will make the convective fluxes more diffusive, which in some flow conditions can stabilize a solution that is otherwise unstable when the full higher-order discretization scheme is employed.
|
Note that in order to use this feature effectively, make sure that one of the allowed higher order discretization schemes is selected for the desired variables in the
Solution Methods task page.
|