- Practice · 5 marks
Solver setup, convergence, grid independence
Short answer
Setup: choose pressure-based solver, turbulence model, materials, boundary conditions, second-order discretisation, and SIMPLE coupling with under-relaxation. Convergence is judged by residuals dropping 3-4 orders, steady monitors (drag, pressure drop), and mass balance error <1%. Grid independence: solve on three systematically refined meshes; when a key output changes <1-2%, the coarser mesh is sufficient.
Describe the main steps in setting up a CFD solver for a steady incompressible flow. Explain how convergence is judged and how a grid independence study is carried out.
Solver setup
- Select the solver type: pressure-based (incompressible and low Mach) or density-based (high-speed compressible); steady or transient.
- Choose the physics: laminar or turbulence model (e.g. k-, k- SST), energy equation on/off, gravity, other models.
- Materials: density, viscosity, specific heat, conductivity.
- Boundary conditions: velocity inlet (with turbulence intensity and length scale), pressure outlet, no-slip wall, symmetry, periodic.
- Discretisation schemes: first-order upwind to start, then second-order upwind or QUICK for accuracy; gradients by least squares or Green-Gauss; pressure scheme (PRESTO or second order).
- Pressure-velocity coupling: SIMPLE, SIMPLEC or PISO (transient); set under-relaxation factors (e.g. 0.3 for pressure and 0.7 for momentum).
- Initialise the field (from inlet values or hybrid initialisation) and run.
Convergence criteria
- Residuals (imbalance of each discretised equation) normalised; typically fall by three to four orders of magnitude ( continuity/momentum, energy).
- Monitors of quantities of interest (drag, pressure drop, outlet temperature) become steady.
- Global balances: mass flow in equals mass flow out (error below 0.1 to 1%); energy balance closes. Low residuals alone are not proof, so the monitored values must be checked.
Grid independence study
- Create at least three meshes (coarse, medium, fine) with a uniform refinement ratio .
- Solve each with identical settings and compare a key output (e.g. pressure drop or ).
- When the change between the last two meshes is small (say below 1 to 2%), the solution is considered grid independent; use the coarser of these two.
- Optionally apply Richardson extrapolation and the Grid Convergence Index (GCI) to estimate the discretisation error.
Finally, validate the results against experimental or analytical data.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Steps of a CFD analysis · Applied Computational Fluid Dynamics, chapter 1
- Streamline and acceleration of a flow field · Applied Computational Fluid Dynamics, chapter 1
- Plane Poiseuille flow from Navier-Stokes · Applied Computational Fluid Dynamics, chapter 2
- Setting out of a building · Building Technology, chapter 2
- Short note: Setting out vertical curve · Surveying II, chapter 6
- Setting out right hand side composite curve · Surveying II, chapter 6
- Setting out simple curve by Rankine's method · Surveying II, chapter 6
All Applied Computational Fluid Dynamics chapter 4 questions →