🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

CFD Governing Equations and Discretization

Fluid Mechanics & CFDCFD MethodsđŸŸĸ Free Lesson

CFD Governing Equations and Discretization

What You'll Learn

  • 1Write conservation laws as a generic transport equation
  • 2Explain how the finite volume method builds an algebraic system
  • 3Choose a convection scheme and its accuracy order
  • 4Set time step from the Courant number

A CFD solver does not solve the Navier-Stokes equations; it solves a huge sparse algebraic system that approximates them. The gap between the two is discretization, and most wrong answers come from that gap rather than from physics. This lesson writes the conservation laws as one transport equation, shows how the finite volume method converts it into face fluxes, compares first and second order convection schemes, and sets the time step from the Courant number. Getting that chain right separates a converged number from an accurate one. Each step below is stated so a reviewer can repeat it.

The Conservation Laws as a Transport Equation

Mass, momentum, and energy share one structure: accumulation plus net efflux equals net source. For a generic transported quantity the Reynolds-averaged equations take the form

For mass, the transported quantity is unity and the right-hand side vanishes. For momentum it is a velocity component with pressure and viscous stress as sources. For energy it is temperature or enthalpy with heat transfer as sources.

Finite Volume Integration and Face Fluxes

The method integrates over each control volume, applies the divergence theorem to turn volume integrals of flux into surface integrals over faces, and evaluates each face flux from neighboring cell values. One algebraic equation per cell results, coupling a cell only to its neighbors.

Because the formulation works on integrated quantities, whatever leaves one cell enters the next exactly, so conservation holds to machine precision. The face value must still be reconstructed, and that reconstruction sets accuracy order: central interpolation is second order but oscillatory at high cell Reynolds number, first order upwind is robust but diffusive, and second order upwind is the usual default.

Pressure Velocity Coupling and Time Integration

Incompressible solvers have no pressure equation, so a pressure correction is computed from the continuity residual, velocity is updated, and the cycle repeats until mass imbalance falls below tolerance. SIMPLE and PISO differ mainly in under-relaxation, while coupled solvers solve momentum and continuity together in fewer iterations at higher cost.

Explicit schemes advance from known values only and are conditionally stable, with the Courant number below about 1 in one dimension. Implicit schemes allow much larger steps, so the practical limit becomes accuracy rather than stability.

Convection Schemes Compared

SchemeAccuracy orderDiffusionTypical use
First order upwindFirstHighStartup and robust marching
Second order upwindSecondModerateDefault for RANS work
Central differenceSecondLow but dispersiveLarge eddy simulation
Total variation diminishingSecondLimitedShock capturing

Higher order buys accuracy per cell but demands better mesh quality, since skewed cells degrade the reconstruction.

Real-World Examples

  • Cylinder vortex street - First order upwind at Reynolds number 100 predicts shedding about 10 percent low until a second order scheme is used.
  • Heat exchanger passage - A segregated solver at Courant number 10 converges in about 600 iterations while a coupled solver needs 120.
  • Supersonic wedge - A total variation diminishing scheme captures the oblique shock in three cells without overshoot.
  • Channel large eddy simulation - A central difference scheme at friction Reynolds number 200 gives correct mean velocity and spectra.

💡Raise the Order Before Adding Cells

If a solution looks smeared, increase spatial accuracy order before doubling the cell count; second order on a moderate mesh often beats first order on a mesh three times finer.

Common Mistakes

Running first order upwind to convergence

Fix: It is diffusive by design, so switch to second order and confirm the result stops moving.

Equating implicit stability with accuracy

Fix: Implicit schemes stay stable at large Courant numbers but lose accuracy, so monitor the Courant number.

Ignoring non-orthogonal corrections

Fix: On skewed cells the diffusion flux is inaccurate unless the correction is enabled and converges cleanly.

Key Takeaways

  • All conservation laws share one structure of accumulation, convection, diffusion, and source.
  • The finite volume method conserves fluxes exactly between neighboring cells.
  • Accuracy order is set by face reconstruction, not by cell count.
  • The Courant number controls stability for explicit schemes and accuracy for implicit ones.

Frequently Asked Questions

What does second order accurate mean?

Errors fall with the square of cell size, so halving spacing cuts truncation error roughly fourfold.

Why can a central difference scheme oscillate?

It has no built-in dissipation, so at high cell Reynolds number it allows odd-even oscillations that upwinding damps.

Is a converged solution necessarily accurate?

No. Convergence only means the algebraic system is solved; discretization, model, and boundary errors can remain.

Interview Questions

Q1: Distinguish consistency from stability.

Consistency measures whether the discrete equations approach the original ones as the mesh refines, while stability measures whether errors stay bounded; the Lax equivalence theorem needs both.

Q2: When would you choose a coupled solver?

When variables are strongly linked, as in compressible high speed flow or strong buoyancy, because fewer iterations compensate for the larger memory and cost.


Extended Learning: Beyond the Basics

Key Concepts Summary

This lesson covers fundamental concepts that serve as building blocks for more advanced topics. Master these basics before moving to intermediate and advanced material.

Prerequisite Knowledge

Before studying this topic in depth, ensure you understand:

  • Basic definitions and terminology
  • Core formulas and their derivations
  • Common applications in real-world scenarios
  • Typical pitfalls and misconceptions

Step-by-Step Walkthrough

Let us work through a complete example to solidify understanding:

Step 1: Identify the problem type. Determine which category this problem falls into and which approach is most appropriate.

Step 2: Apply the relevant formula. Substitute known values into the appropriate equation, paying attention to units and constraints.

Step 3: Simplify and solve. Work through the algebra step by step, checking each intermediate result.

Step 4: Verify the answer. Check that the solution satisfies the original conditions and makes logical sense.

Common Mistakes to Avoid

  1. Misidentifying the problem type — Always start by categorizing the problem
  2. Incorrect formula application — Verify the formula applies to your specific case
  3. Unit errors — Always check units are consistent throughout
  4. Sign errors — Pay careful attention to positive and negative values
  5. Rounding too early — Keep full precision until the final answer
  6. Forgetting constraints — Check that solutions satisfy all given conditions

Real-World Applications

Understanding this concept is essential for:

  • Advanced problem solving in examinations
  • Building intuition for more complex topics
  • Developing analytical thinking skills
  • Applying mathematical reasoning to practical situations

Practice Exercises

  1. Basic: Solve 5 problems of increasing difficulty using the core concept.
  2. Intermediate: Apply the concept to word problems with multiple steps.
  3. Advanced: Combine this concept with 2-3 other topics in a comprehensive problem.
  4. Challenge: Create your own problem that requires this concept plus additional knowledge.

Interview and Exam Tips

  • Common question patterns: Identify which exam or interview formats test this topic
  • Time management: Practice completing problems within time constraints
  • Common traps: Know the typical mistakes examiners set as distractors
  • Verification strategy: Develop a quick method to check your answer

Related Topics

Quick Reference Card

ConceptFormula/RuleKey InsightCommon Use
Core DefinitionSee main textUnderstand the intuitionFoundation for all applications
Key FormulaSee main textMemorize the derivationDirect problem solving
Special CaseSee main textRecognize when it appliesSimplifies complex problems
Edge CaseSee main textKnow the limitationsAvoids errors

Further Reading

For students who want to go deeper:

  • Standard textbooks on the subject
  • Research papers applying this concept
  • Online courses with video explanations
  • Practice problem collections with detailed solutions
CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-11-14

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Related Tutorials

Content with similar topics across other courses

Need Expert Fluid Mechanics & CFD Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement