Lecture05 Solver Settings
Lecture05 Solver Settings
Lecture 5
Solver Settings
Introduction to
ANSYS FLUENT
• However you should not assume that just because you have ‘an answer’
that that is the ‘correct answer’.
• This lecture will look at: Enable the solution monitors of interest
– checking convergence
– assessing accuracy Check for convergence
Yes No
Yes
Stop
• The pressure-based solver is applicable for a wide range of flow regimes from
low speed incompressible flow to high-speed compressible flow.
– Requires less memory (storage).
– Allows flexibility in the solution procedure.
• The pressure-based coupled solver (PBCS) is applicable for most single phase
flows, and yields superior performance to the standard pressure-based solver.
– Not available for multiphase (Eulerian), periodic mass-flow and NITA cases.
– Requires 1.5–2 times more memory than the segregated solver.
•In FLUENT, solver variables are stored at the centre of the grid cells (control
volumes).
• Field variables (stored at cell centers) must be interpolated to the faces of the
control volumes.
Value (e.g. Velocity) computed here
• The gradients of solution variables at cell centers can be determined using three
approaches:
– Green-Gauss Cell-Based – Least computationally intensive. Solution may have false
diffusion.
– Green-Gauss Node-Based – More accurate/computationally intensive; minimizes false
diffusion; recommended for unstructured meshes.
– Least-Squares Cell-Based – Default method; has the same accuracy and properties as
Node-based Gradients and is less computationally intensive.
– Standard – The default scheme; reduced accuracy for flows exhibiting large
surface-normal pressure gradients near boundaries (but should not be used
when steep pressure changes are present in the flow – PRESTO! scheme
should be used instead.)
– PRESTO! – Use for highly swirling flows, flows involving steep pressure
gradients (porous media, fan model, etc.), or in strongly curved domains
– Linear – Use when other options result in convergence difficulties or
unphysical behavior
– Second-Order – Use for compressible flows; not to be used with porous
media, jump, fans, etc. or VOF/Mixture multiphase models
– Body Force Weighted – Use when body forces are large, e.g., high Ra natural
convection or highly swirling flows
• The solver should be given sufficient iterations such that the problem is
converged
• Residual plots show when the residual values have reached the specified
tolerance.
All equations
converged.
10-3
10-6
• The net flux imbalance (shown in the GUI as Net Results) should be less
than 1% of the smallest flux through the domain boundary
• If solution monitors indicate that the solution is converged, but the solution
is still changing or has a large mass/heat imbalance, this clearly indicates
the solution is not yet converged.
– Check the mesh quality. It can only take one very skewed grid cell to prevent
the entire solution converging [This is why you should ALWAYS check the
mesh quality before spending time with the solver]
• The Courant number is the main control for stability when using the
coupled solvers.
• Typically you will perform this test once for your class of problem.
• Either:
– Go back to the meshing tool and modify the settings to give a finer mesh.
– Or use the ‘Adaption’ tools in FLUENT to refine the mesh you already have.
Make sure you save the model first
– Run on your simulation (remember you can start from your past result) and
assess whether the grid refinement has changed the result.
• Example: The location of the shock wave is not known when the mesh is
first created
• Make sure your final results are computed with the optimal numerical
schemes (the FLUENT defaults aim to give a stable solution, not
necessarily the most accurate one).
• All solvers provide tools for judging and improving convergence and
ensuring stability.