Chapter 1 · 6 hours
Introduction to CFD and Fluid Mechanics Review
Practice questions
Practice questions and answers
5 exam-style questions on this chapter, written for this site from the official syllabus. We haven’t found past IOE papers for this subject yet; if you have some, share them in the community.
- Practice · 6 marks
Briefly trace the history of Computational Fluid Dynamics and explain its role in modern mechanical engineering design. State its advantages and limitations compared with experiments.
Answer
Computational Fluid Dynamics (CFD) is the numerical solution of the governing equations of fluid flow and heat transfer on a computer, using a discretised domain, to predict velocity, pressure, temperature and forces.
Brief history
- 1910s-1920s: Richardson and later Courant-Friedrichs-Lewy (1928) laid the ideas of finite-difference solution of PDEs and the stability condition.
- 1950s-60s: Digital computers allowed first numerical flow solutions (Los Alamos, Harlow and Welch's MAC and vortex methods); the stream-function-vorticity method was popular.
- 1970s: Panel methods, full-potential and Euler solvers for aerospace; the finite volume method (FVM) and the k- model (Launder and Spalding) appeared.
- 1980s: SIMPLE-type pressure-velocity coupling (Patankar and Spalding) made incompressible solvers practical; commercial codes (PHOENICS, FLUENT, STAR-CD) were released.
- 1990s onwards: Unstructured meshes, RANS, LES, parallel computing, CAD-integrated tools; today CFD runs on workstations and clusters, often with GPU acceleration.
Role in mechanical engineering design
- Design of pumps, fans, turbines, compressors (blade loading, efficiency).
- IC engine in-cylinder flow, combustion and cooling passages.
- HVAC, cleanroom and electronics cooling, heat exchangers.
- Vehicle aerodynamics, drag reduction, wind loads on structures.
- Optimisation: many design variants are tested virtually before a prototype is built.
Advantages
- Lower cost and shorter design time than repeated prototypes.
- Full-field data (pressure, velocity, temperature everywhere), including places where probes cannot reach.
- Can simulate conditions that are dangerous or impossible to test (fire, very high temperature).
- Easy parametric study and optimisation.
Limitations
- Results depend on the model: turbulence, combustion and multiphase models are approximate.
- Numerical errors (truncation, round-off, poor mesh) and wrong boundary conditions give wrong answers.
- Needs skilled users, validation against experiments, and large computing time for 3D transient or LES/DNS cases.
- "Garbage in, garbage out": a coloured plot does not mean a correct answer.
- Practice · 6 marks
Explain the three main stages of a CFD simulation with the activities carried out in each stage. Draw a flowchart of the procedure.
Answer
A CFD analysis has three stages: pre-processing, solving and post-processing.
Problem definition
|
v
+---------------------+
| 1. PRE-PROCESSING | geometry, mesh,
| | physics, BCs
+---------------------+
|
v
+---------------------+
| 2. SOLVER |<--+ not converged
| discretise, iterate| |
+---------------------+---+
| converged
v
+---------------------+
| 3. POST-PROCESSING | plots, forces,
| | validation
+---------------------+
1. Pre-processing
- Define the problem and the aim (e.g. pressure drop, lift).
- Create or import the geometry (CAD) and clean it; choose the computational domain size.
- Generate the mesh (structured/unstructured) and refine near walls and gradients.
- Select the physical models: laminar/turbulent, steady/transient, compressible/incompressible, heat transfer.
- Define fluid properties and boundary and initial conditions (inlet velocity, outlet pressure, wall, symmetry).
2. Solver
- The governing equations are integrated over control volumes (FVM) or approximated by differences (FDM) to give algebraic equations.
- A pressure-velocity coupling method (e.g. SIMPLE) and linear solvers (Gauss-Seidel, multigrid) solve them iteratively.
- Iteration continues until the residuals fall to a set tolerance (e.g. to ) and monitored quantities stop changing.
3. Post-processing
- Contour, vector and streamline plots, line plots, animations.
- Integrated results: forces, pressure drop, heat transfer rate, mass-flow balance.
- Check mesh independence and compare with experimental or analytical data (verification and validation).
- If results are unsatisfactory, return to the mesh or the model and repeat.
- Practice · 5 marks
Define streamline, pathline and streakline. Differentiate between them in tabular form and state when they coincide.
Answer
Definitions
- Streamline: a curve that is tangent to the velocity vector of every fluid particle on it at one instant. Its equation is (time held constant).
- Pathline: the actual trajectory of one fluid particle over a period of time. It is found from .
- Streakline: the curve joining the positions, at one instant, of all particles that have passed through a fixed point earlier (e.g. smoke from a chimney or dye injected at a point).
Comparison
| Point | Streamline | Pathline | Streakline |
|---|---|---|---|
| Shows | Velocity direction at an instant | History of one particle | Present positions of many particles from one point |
| Time | Snapshot | Time-integrated | Snapshot of past injection |
| Number of particles | Many (field) | One | Many |
| Equation | , | Pathlines of particles released at same point, joined at time | |
| Can two cross? | No (except at stagnation) | Yes | Yes |
| Experimental | Short-exposure photo of tracers | Long-exposure photo of one tracer | Dye or smoke injection |
When they coincide
In steady flow the velocity at every point is independent of time, so a particle follows the same path as the streamline and all particles from one point follow it too. Hence streamlines, pathlines and streaklines are identical. In unsteady flow they are different.
Streamlines cannot cross because the velocity at a point has only one direction; there is no flow across a streamline, so a bundle of streamlines forms a streamtube.
- Practice · 6 marks
The velocity field of a steady, two-dimensional flow is and (in m/s, with in m). (a) Show that the flow is incompressible. (b) Find the equation of the streamline passing through the point (2, 1). (c) Determine the acceleration of a fluid particle at that point. (d) Is the flow irrotational?
Answer
Given: , , steady 2D flow.
(a) Incompressibility
Since the divergence is zero, the continuity equation for incompressible flow is satisfied.
(b) Streamline through (2, 1)
Integrating gives , so .
At (2, 1): .
Streamline: (a rectangular hyperbola). This is a stagnation-point flow: fluid approaches the origin along the y-axis and leaves along the x-axis..
(c) Acceleration
The flow is steady, so only the convective part remains:
At (2, 1): , .
Direction: above the x-axis.
(d) Rotation
The flow is irrotational.
Answer: (a) ; (b) ; (c) (, m/s²); (d) irrotational.
- Practice · 6 marks
Define Reynolds number and explain its physical meaning. (a) Water at 20 °C ( kg/m³, Pa·s) flows at 0.9 m/s in a 40 mm diameter pipe. Find the Reynolds number and state the flow regime. (b) Find the velocity at which the same pipe flow would reach . (c) Why is the Reynolds number important in CFD?
Answer
Definition and meaning
The Reynolds number is the ratio of inertia force to viscous force:
For pipe flow . A small means viscous forces dominate and disturbances are damped (laminar flow); a large means inertia dominates, disturbances grow and the flow becomes turbulent.
Typical limits for pipes: laminar for , transitional for about 2300 to 4000, turbulent for .
(a) Reynolds number
Since , the flow is turbulent.
(b) Velocity for
So only a very slow flow (5.8 cm/s) is laminar in this pipe.
(c) Importance in CFD
- It decides whether a laminar solver or a turbulence model is required.
- It sets the mesh needs: higher gives thinner boundary layers, so finer wall meshes (small ) are needed.
- It is the similarity parameter: a CFD model at small scale with the same represents the full-size case.
- Drag coefficient, friction factor and transition behaviour are all functions of .
Answer: (turbulent); m/s.
Written from the official syllabus. Questions and answers are written for this site; check them against your class notes.
Chapter titles and hours from the IOE syllabus ↗