Practical CFD
You've learned the theory — governing equations, discretization, turbulence modeling, and verification. Now it's time to bring it all together into a practical workflow. This lesson covers the complete journey from receiving a problem to delivering trusted results, along with hard-won lessons from industry practice.
The Complete CFD Workflow
Phase 1: Problem Definition (10% of effort)
The most important phase. Many CFD projects fail because the question wasn't properly defined. Questions to answer:- What exactly are we trying to predict?
- What decisions depend on these results?
- What accuracy is required?
- What validation data exists?
- What are the constraints (time, budget, compute)?
Phase 2: Geometry Preparation (15% of effort)
Goal: Create a clean, simulation-ready geometry. Steps:- Import CAD — Handle format conversions
- Simplify — Remove small features (bolts, text, tiny fillets)
- Defeaturing threshold — Features smaller than mesh size
- Create flow domain — Air/water volume around the object
- Define boundaries — Name surfaces for BC application
| Issue | Consequence | Fix |
|---|---|---|
| Gaps in surfaces | Mesh leakage | Stitch or fill |
| Overlapping faces | Mesh failure | Remove duplicates |
| Small slivers | Poor mesh quality | Merge or remove |
| Non-manifold edges | Confusing topology | Repair in CAD |
Phase 3: Meshing (30% of effort)
Yes, 30%. Meshing dominates CFD project time. Workflow:- Global sizing — Set base cell size from domain
- Local refinement — Wake regions, separation zones
- Boundary layer — Inflation layers for wall resolution
- Quality check — Skewness, aspect ratio, orthogonality
- Grid independence check — At least 3 meshes
- [ ] y+ appropriate for turbulence model
- [ ] Sufficient cells in shear layers
- [ ] Wake region adequately resolved
- [ ] Smooth transitions between regions
- [ ] Passed quality metrics
Phase 4: Physics Setup (10% of effort)
Key decisions:| Setting | Options | Guidance |
|---|---|---|
| Steady vs. transient | Steady for RANS, transient for LES | Start steady if possible |
| Turbulence model | k-e, k-w SST, RSM | SST for external flows |
| Compressibility | Incompressible/compressible | Ma < 0.3: incompressible |
| Energy equation | On/off | Include if heat transfer matters |
| Schemes | First/second order | Second order for final |
Phase 5: Solver Execution (15% of effort)
Monitoring:- Residual convergence (3+ orders drop)
- Key quantities stabilizing
- Mass/energy balance
| Observation | Action |
|---|---|
| Residuals plateau | Check mesh, BCs |
| Oscillating residuals | Lower under-relaxation |
| Divergence | Step back, check everything |
| Very slow convergence | Consider multigrid, AMG |
Phase 6: Post-Processing (10% of effort)
Extract meaningful data:- Forces and moments (drag, lift)
- Flow rates and pressure drops
- Temperature distributions
- Streamlines and flow patterns
- Mass conservation (inflow = outflow?)
- Energy conservation
- Physical plausibility
- Comparison with correlations
Phase 7: Validation & Reporting (10% of effort)
Every report should include:- Problem statement
- Geometry and domain description
- Mesh details with quality metrics
- Physics and boundary conditions
- Convergence evidence
- Grid study results (GCI)
- Validation comparisons
- Results with uncertainty
- Conclusions and recommendations
Solver Selection Guide
By Flow Type
| Application | Recommended Setup |
|---|---|
| External aerodynamics | Compressible if Ma > 0.3, SST, steady first |
| Internal flow (pipes, ducts) | Incompressible, k-e or SST |
| Heat exchangers | Incompressible, energy ON, SST |
| Combustion | Compressible, species transport, realizable k-e |
| Free surface | VOF method, transient |
| Particle-laden | Lagrangian tracking + Euler |
| Rotating machinery | Moving reference frame or sliding mesh |
By Reynolds Number
| Re Range | Flow Regime | Approach |
|---|---|---|
| < 2,000 | Laminar | Direct (no turbulence model) |
| 2,000-10,000 | Transitional | Low-Re models, careful |
| > 10,000 | Fully turbulent | Standard RANS |
| > 10^6 | High Re turbulent | Wall functions may be OK |
By Available Time
| Time | Approach | Trade-off |
|---|---|---|
| Hours | Coarse mesh, first-order, aggressive URF | Quick estimate, low confidence |
| Days | Medium mesh, second-order, proper convergence | Production quality |
| Weeks | Multiple meshes, GCI, validation | High confidence, publishable |
| Months | LES/DES, full UQ | Research quality |