Fluid Mechanics

The physics of continuous media - essential foundation for plasma physics, astrophysics, and engineering

Course Overview

Fluid mechanics is the study of fluids (liquids and gases) in motion and at rest. This fundamental subject provides the mathematical and physical framework for understanding everything from pipe flow to ocean currents, from aircraft aerodynamics to astrophysical jets, and crucially, from classical hydrodynamics to magnetohydrodynamics (MHD) in plasmas.

Why Study Fluid Mechanics?

  • Plasma Physics: MHD is fluid mechanics + electromagnetism. Two-fluid theory, hydrodynamic limit
  • Astrophysics: Accretion disks, stellar interiors, cosmic structure formation, jets
  • Geophysics: Atmospheric/ocean dynamics, rotating fluids, stratified flows
  • Engineering: Aerodynamics, hydraulics, fusion reactor design, propulsion
  • Statistical Mechanics: Connection from kinetic theory (Boltzmann) to fluid equations (Navier-Stokes)

Key Topics

Learning Path & Prerequisites

Prerequisite
Foundation
Core
Advanced
Application

Hover over nodes to see connections. Click nodes to lock selection. Clickable nodes link to course content.

Fundamental Equations

A comprehensive derivation of the governing equations of fluid mechanics, starting from first principles and building toward the full Navier-Stokes system and its important limiting cases.

Lagrangian vs Eulerian Descriptions of Fluid Motion

There are two fundamentally different ways to describe a fluid in motion, and understanding this distinction is the single most important conceptual prerequisite for everything that follows.

Lagrangian Description

Follow the fluid parcel. Imagine sitting in a small boat drifting with the current. You label each fluid parcel by its initial position\( \vec{X} \) and track where it goes over time:

$$\vec{x} = \vec{x}(\vec{X}, t)$$

Any quantity Q (temperature, density, velocity) is expressed as \( Q(\vec{X}, t) \) -- it depends on which parcel and when. The velocity of a parcel is:

$$\vec{v} = \frac{\partial \vec{x}}{\partial t}\bigg|_{\vec{X}}$$

Natural for: particle tracking, SPH simulations, weather balloons, Lagrangian FEM.

Eulerian Description

Stand at a fixed point. Imagine standing on a bridge watching the river flow past. You measure quantities at fixed spatial locations \( \vec{x} \) as different fluid parcels pass through:

$$Q = Q(\vec{x}, t)$$

This gives field descriptions: velocity field \( \vec{v}(\vec{x}, t) \), pressure field \( p(\vec{x}, t) \), etc. You don't track individual parcels -- you observe what happens at each point in space.

Natural for: PDEs (Navier-Stokes), finite difference / finite volume methods, weather stations.

The Bridge Between Them: Material Derivative

How do we connect the Lagrangian rate of change (following a parcel) with the Eulerian field description? Consider a scalar field \( \phi(\vec{x}, t) \) evaluated along the trajectory of a fluid parcel at position \( \vec{x}(t) \). By the multivariable chain rule:

$$\frac{d\phi}{dt}\bigg|_{\text{parcel}} = \frac{\partial \phi}{\partial t} + \frac{\partial \phi}{\partial x}\underbrace{\frac{dx}{dt}}_{v_x} + \frac{\partial \phi}{\partial y}\underbrace{\frac{dy}{dt}}_{v_y} + \frac{\partial \phi}{\partial z}\underbrace{\frac{dz}{dt}}_{v_z}$$

Writing this compactly in vector notation, we define the material (substantial) derivative:

$$\frac{D\phi}{Dt} \equiv \frac{\partial \phi}{\partial t} + \vec{v} \cdot \nabla\phi = \underbrace{\frac{\partial \phi}{\partial t}}_{\text{local change}} + \underbrace{\vec{v} \cdot \nabla\phi}_{\text{convective change}}$$

The local term captures time-variation at a fixed point (what the Eulerian observer sees). The convective term captures the additional change because the parcel moves through a spatially-varying field. Together they give the total rate of change experienced by the moving fluid element.

Streamlines, Pathlines, and Streaklines

Three types of curves describe fluid motion, each corresponding to a different observational perspective:

  • Streamline (Eulerian): A curve everywhere tangent to the velocity field at a given instant. Defined by \( d\vec{x} \times \vec{v} = 0 \). A snapshot of the flow.
  • Pathline (Lagrangian): The trajectory traced out by a single fluid parcel over time. Defined by \( d\vec{x}/dt = \vec{v}(\vec{x}, t) \).
  • Streakline: The locus of all parcels that have passed through a given point. What you see when you inject dye at a fixed point.

Key result: For steady flow (\( \partial\vec{v}/\partial t = 0 \)), all three coincide. For unsteady flow, they are generally different -- a crucial distinction demonstrated in the code below.

FeatureLagrangianEulerian
Independent variables\( (\vec{X}, t) \) -- parcel label + time\( (\vec{x}, t) \) -- spatial position + time
What it tracksIndividual fluid parcelsFixed spatial locations
Conservation lawsFollow parcel mass/momentum/energyFlux through control surfaces
Computational methodsSPH, Lagrangian FEMFinite difference/volume, spectral
Physical analogyWeather balloon drifting with windWeather station at fixed location
Rate of change\( D/Dt = \partial/\partial t + \vec{v}\cdot\nabla \)\( \partial/\partial t \) at fixed \( \vec{x} \)

Lagrangian vs Eulerian: Particle Tracking in an Unsteady Vortex

Python

Compares Eulerian velocity snapshots with Lagrangian particle trajectories in a time-dependent flow

lagrangian_eulerian.py106 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

1. Material (Substantial) Derivative

In fluid mechanics we track physical quantities using two complementary viewpoints. The Lagrangian description follows individual fluid parcels as they move, while the Eulerian description measures quantities at fixed points in space as fluid flows past. The material derivative connects the two: it gives the rate of change experienced by a moving fluid element in terms of Eulerian field variables.

Derivation from the Chain Rule

Consider a scalar field \( \phi(\vec{x}, t) = \phi(x, y, z, t) \) -- this could be temperature, density, concentration, or any other intensive property. A particular fluid parcel follows a trajectory\( \vec{x}(t) = \big(x(t),\, y(t),\, z(t)\big) \) determined by the local velocity. The total rate of change of \( \phi \) as experienced by this parcel is, by the multivariable chain rule:

$$\frac{d\phi}{dt}\bigg|_{\text{parcel}} = \frac{\partial \phi}{\partial t} + \frac{\partial \phi}{\partial x}\frac{dx}{dt} + \frac{\partial \phi}{\partial y}\frac{dy}{dt} + \frac{\partial \phi}{\partial z}\frac{dz}{dt}$$

Since \( dx/dt = v_x \), \( dy/dt = v_y \), \( dz/dt = v_z \) are the velocity components, we can write this compactly using the gradient operator\( \nabla = (\partial/\partial x,\, \partial/\partial y,\, \partial/\partial z) \):

$$\boxed{\frac{D\phi}{Dt} \equiv \frac{\partial \phi}{\partial t} + \vec{v} \cdot \nabla\phi = \frac{\partial \phi}{\partial t} + v_j\frac{\partial \phi}{\partial x_j}}$$

The capital-D notation \( D/Dt \) (or sometimes written \( d/dt \) with context) is reserved for this total derivative following the fluid, to distinguish it from the partial \( \partial/\partial t \) at a fixed point. The last form uses Einstein summation convention (repeated index j is summed over x, y, z).

Physical Meaning of Each Term

Local (Unsteady) Term
\( \displaystyle\frac{\partial \phi}{\partial t} \)

Rate of change at a fixed point in space. This is what a stationary sensor (thermometer, pressure gauge) would measure. It is non-zero only in unsteady flows where the field itself evolves in time.

Convective (Advective) Term
\( \vec{v}\cdot\nabla\phi = v_j\,\partial\phi/\partial x_j \)

Rate of change due to the parcel moving through a spatially varying field. Even in steady flow (\( \partial/\partial t = 0 \)), a fluid parcel can experience changes in \( \phi \) as it travels into regions where \( \phi \) has different values.

Example -- steady converging nozzle: Consider steady, incompressible flow through a nozzle. The velocity field is time-independent (\( \partial\vec{v}/\partial t = 0 \)), yet a fluid parcel accelerates as it enters the throat because it moves into a region of higher velocity:

$$\frac{Dv_x}{Dt} = \underbrace{\frac{\partial v_x}{\partial t}}_{= 0} + v_x\frac{\partial v_x}{\partial x} \neq 0$$

Material Derivative of a Vector Field

For a vector quantity such as velocity \( \vec{v} \) itself, the material derivative applies component-by-component. In index notation:

$$\frac{Dv_i}{Dt} = \frac{\partial v_i}{\partial t} + v_j\frac{\partial v_i}{\partial x_j}$$

or equivalently in vector notation:

$$\frac{D\vec{v}}{Dt} = \frac{\partial \vec{v}}{\partial t} + (\vec{v} \cdot \nabla)\vec{v}$$

This quantity is the acceleration of a fluid parcel and appears on the left-hand side of every momentum equation (Newton's second law for fluids). Note that\( (\vec{v}\cdot\nabla)\vec{v} \) is a nonlinear term -- the velocity advects itself -- and is the primary source of complexity in fluid dynamics.

Explicit Cartesian Components

Writing out the x-component of \( D\vec{v}/Dt \) in full (the y and z components follow by symmetry):

$$\frac{Dv_x}{Dt} = \frac{\partial v_x}{\partial t} + v_x\frac{\partial v_x}{\partial x} + v_y\frac{\partial v_x}{\partial y} + v_z\frac{\partial v_x}{\partial z}$$

Lamb Form (Useful Vector Identity)

The convective acceleration can be rewritten using a key vector identity that separates irrotational and rotational contributions:

$$(\vec{v}\cdot\nabla)\vec{v} = \nabla\!\left(\tfrac{1}{2}|\vec{v}|^2\right) - \vec{v}\times(\nabla\times\vec{v}) = \nabla\!\left(\tfrac{1}{2}v^2\right) - \vec{v}\times\vec{\omega}$$

where \( \vec{\omega} = \nabla\times\vec{v} \) is the vorticity. This Lamb form is essential for deriving Bernoulli's equation (along streamlines the cross-product term vanishes) and the Crocco-Vazsonyi theorem relating entropy gradients to vorticity.

Cylindrical Coordinates \((r, \theta, z)\)

Many flows have axial or rotational symmetry. In cylindrical coordinates, the material derivative of a scalar and the radial component of \( D\vec{v}/Dt \) are:

$$\frac{D\phi}{Dt} = \frac{\partial\phi}{\partial t} + v_r\frac{\partial\phi}{\partial r} + \frac{v_\theta}{r}\frac{\partial\phi}{\partial\theta} + v_z\frac{\partial\phi}{\partial z}$$
$$\left(\frac{D\vec{v}}{Dt}\right)_r = \frac{Dv_r}{Dt} - \frac{v_\theta^2}{r}$$

The extra term \( -v_\theta^2/r \) is the centripetal acceleration -- it arises because the unit vectors \( \hat{e}_r, \hat{e}_\theta \) themselves rotate as a parcel moves in the \( \theta \)-direction.

Reynolds Transport Theorem (RTT)

The material derivative is the pointwise version of a more general result for material volumes. For any extensive property \( B \) with intensive counterpart \( \beta = dB/dm \), the Reynolds Transport Theorem states:

$$\frac{dB_{\text{sys}}}{dt} = \frac{d}{dt}\int_{CV}\rho\beta\,dV + \oint_{CS}\rho\beta\,(\vec{v}\cdot\hat{n})\,dA$$

This theorem converts the Lagrangian (system) viewpoint into the Eulerian (control volume) viewpoint for integral quantities. When applied to mass (\( \beta = 1 \)), momentum (\( \beta = \vec{v} \)), and energy (\( \beta = e + v^2/2 \)), it yields the integral conservation laws that are the foundation of all fluid dynamics.

The material derivative operator appears on the left-hand side of every fluid dynamical equation of motion. It converts the Eulerian field description into the acceleration experienced by a fluid parcel (Newton's second law).

2. Continuity Equation (Mass Conservation)

The continuity equation is the mathematical statement that mass is neither created nor destroyed. It is the simplest of the conservation laws and must be satisfied by every physical flow, regardless of whether the fluid is viscous or inviscid, compressible or incompressible.

Derivation from a Fixed Control Volume

Consider a fixed (Eulerian) control volume V bounded by surface S in the flow. The total mass inside is \( M = \int_V \rho\,dV \). Since mass cannot be created or destroyed (no nuclear reactions), the only way M can change is through mass flux across S. The outward mass flux through an area element \( d\vec{A} = \hat{n}\,dA \) is \( \rho\vec{v}\cdot\hat{n}\,dA \). Therefore:

$$\underbrace{\frac{d}{dt}\int_V \rho\, dV}_{\text{rate of mass change in V}} = -\underbrace{\oint_S \rho\vec{v}\cdot \hat{n}\, dA}_{\text{net outward mass flux}}$$

This is the integral form of mass conservation -- it is exact and applies toany control volume, even one containing shocks or discontinuities.

Differential (Eulerian) Form

Since V is fixed, we can bring the time derivative inside the integral. Then apply the divergence theorem to convert the surface integral: \( \oint_S \rho\vec{v}\cdot\hat{n}\,dA = \int_V \nabla\cdot(\rho\vec{v})\,dV \). This gives:

$$\int_V \left[\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{v})\right] dV = 0$$

Since V is arbitrary, the integrand must vanish everywhere (by the localization lemma). This yields the conservative (Eulerian) form:

$$\boxed{\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{v}) = 0}$$

In index notation (summation over repeated indices):

$$\frac{\partial \rho}{\partial t} + \frac{\partial (\rho v_j)}{\partial x_j} = 0$$

Non-Conservative (Lagrangian) Form

Expanding the divergence product rule: \( \nabla\cdot(\rho\vec{v}) = \rho\,\nabla\cdot\vec{v} + \vec{v}\cdot\nabla\rho \), and recognizing the material derivative \( D\rho/Dt = \partial\rho/\partial t + \vec{v}\cdot\nabla\rho \):

$$\frac{D\rho}{Dt} + \rho\,\nabla\cdot\vec{v} = 0$$

Physical interpretation: Following a fluid parcel, its density changes at a rate proportional to \( \nabla\cdot\vec{v} \) -- the volumetric dilation rate. If \( \nabla\cdot\vec{v} > 0 \) (diverging flow), the parcel expands and its density decreases. If \( \nabla\cdot\vec{v} < 0 \) (converging flow), the parcel is compressed and density increases.

Incompressible Flow

A flow is incompressible when the density of each fluid parcel remains constant: \( D\rho/Dt = 0 \). (Note: this does not require uniform density -- stratified flows like the ocean can be incompressible with spatially varying \( \rho \).) The continuity equation then reduces to:

$$\boxed{\nabla \cdot \vec{v} = 0 \qquad\Longleftrightarrow\qquad \frac{\partial v_x}{\partial x} + \frac{\partial v_y}{\partial y} + \frac{\partial v_z}{\partial z} = 0}$$

This states that the velocity field is solenoidal (divergence-free): fluid parcels preserve their volume as they move. Geometrically, the flow maps every subregion to another of equal volume. The condition \( \nabla\cdot\vec{v} = 0 \) acts as a constraint on the velocity field and, combined with the momentum equations, determines the pressure field.

When is incompressibility valid?

The incompressible approximation is excellent when the Mach number is small:

\( Ma = v/c \lesssim 0.3 \)

where c is the speed of sound. For air at sea level (\( c \approx 343\,\text{m/s} \)), this means flows up to ~100 m/s (~360 km/h) are well-described as incompressible. All liquid flows (except extreme pressures or water hammer) are effectively incompressible since \( c_{\text{water}} \approx 1480\,\text{m/s} \).

Component Forms in Common Coordinate Systems

Cartesian \((x, y, z)\):

$$\frac{\partial\rho}{\partial t} + \frac{\partial(\rho v_x)}{\partial x} + \frac{\partial(\rho v_y)}{\partial y} + \frac{\partial(\rho v_z)}{\partial z} = 0$$

Cylindrical \((r, \theta, z)\):

$$\frac{\partial\rho}{\partial t} + \frac{1}{r}\frac{\partial(r\rho v_r)}{\partial r} + \frac{1}{r}\frac{\partial(\rho v_\theta)}{\partial\theta} + \frac{\partial(\rho v_z)}{\partial z} = 0$$

Spherical \((r, \theta, \phi)\):

$$\frac{\partial\rho}{\partial t} + \frac{1}{r^2}\frac{\partial(r^2 \rho v_r)}{\partial r} + \frac{1}{r\sin\theta}\frac{\partial(\rho v_\theta \sin\theta)}{\partial\theta} + \frac{1}{r\sin\theta}\frac{\partial(\rho v_\phi)}{\partial\phi} = 0$$

Stream Function (2D Incompressible)

For 2D incompressible flow, \( \nabla\cdot\vec{v} = 0 \) is automatically satisfied by introducing the stream function \( \psi(x,y) \) such that:

$$v_x = \frac{\partial\psi}{\partial y}, \qquad v_y = -\frac{\partial\psi}{\partial x}$$

One can verify: \( \partial v_x/\partial x + \partial v_y/\partial y = \partial^2\psi/\partial x\partial y - \partial^2\psi/\partial y\partial x = 0 \)identically. The stream function reduces the number of unknowns from two velocity components to one scalar field. Curves of constant \( \psi \) are streamlines, and the volume flux between two streamlines equals \( \Delta\psi \).

The continuity equation is the most fundamental constraint in fluid mechanics. Every analytical solution, numerical simulation, and experimental measurement must satisfy it. When checking a proposed velocity field, verifying \( \nabla\cdot\vec{v} = 0 \) (incompressible) is always the first sanity check.

3. Cauchy Momentum Equation

The Cauchy momentum equation is Newton's second law applied to a continuous medium. It is the most general form of the momentum equation and applies to anymaterial -- Newtonian and non-Newtonian fluids, elastic and plastic solids, viscoelastic polymers. The specific material behavior enters only through the constitutive relation for the stress tensor.

Forces on a Fluid Element

Consider an infinitesimal fluid element of volume \( dV \) and mass \( dm = \rho\,dV \). Two categories of forces act on it:

Surface (Contact) Forces

Forces exerted by neighboring fluid across the element's surfaces: pressure (normal, compressive) and viscous stresses (both normal and tangential). These are short-range forces arising from molecular interactions and scale with surface area.

Body (Volume) Forces

Forces acting on the bulk of the element: gravity (\( \rho\vec{g} \)), electromagnetic forces (\( \rho_e\vec{E} + \vec{J}\times\vec{B} \) in MHD), Coriolis/centrifugal forces in rotating frames. These are long-range and scale with volume.

The Stress Tensor and Cauchy's Stress Theorem

The traction vector \( \vec{t}^{(\hat{n})} \) is the force per unit area exerted on a surface element with outward unit normal \( \hat{n} \). Augustin-Louis Cauchy proved (1823) that \( \vec{t} \) depends linearly on \( \hat{n} \) through a second-order tensor:

$$t_i^{(\hat{n})} = \sigma_{ij}\, n_j \qquad\text{(Cauchy's stress theorem)}$$

Here \( \sigma_{ij} \) is the Cauchy stress tensor: a 3Γ—3 matrix where \( \sigma_{ij} \) represents the force per unit area in the i-direction exerted on a surface whose outward normal points in the j-direction. The full tensor is:

$$\boldsymbol{\sigma} = \begin{pmatrix} \sigma_{xx} & \sigma_{xy} & \sigma_{xz} \\ \sigma_{yx} & \sigma_{yy} & \sigma_{yz} \\ \sigma_{zx} & \sigma_{zy} & \sigma_{zz} \end{pmatrix}$$

The diagonal elements (\( \sigma_{xx}, \sigma_{yy}, \sigma_{zz} \)) are normal stresses (tension/compression). The off-diagonal elements (\( \sigma_{xy}, \sigma_{xz}, \ldots \)) are shear stresses.

Symmetry of the Stress Tensor

Conservation of angular momentum for the fluid element (in the absence of body torques) requires:

$$\sigma_{ij} = \sigma_{ji} \qquad\text{(6 independent components, not 9)}$$

This means \( \sigma_{xy} = \sigma_{yx} \), etc. The stress tensor is symmetric, reducing the number of independent components from 9 to 6. (Exceptions: ferrofluids, micropolar fluids, and other media with intrinsic angular momentum can have asymmetric stress tensors.)

Derivation of the Momentum Equation

Integral form (control volume). Apply Newton's second law via the Reynolds Transport Theorem with \( \beta = \vec{v} \) (momentum per unit mass):

$$\frac{d}{dt}\int_V \rho\vec{v}\,dV + \oint_S \rho\vec{v}\,(\vec{v}\cdot\hat{n})\,dA = \oint_S \boldsymbol{\sigma}\cdot\hat{n}\,dA + \int_V \rho\vec{g}\,dV$$

The left side is the rate of change of momentum plus the momentum flux out through S. The right side is the total surface force plus body force. Converting the surface integrals via the divergence theorem and localizing (V arbitrary), we obtain the differential form:

$$\boxed{\rho \frac{D\vec{v}}{Dt} = \nabla \cdot \boldsymbol{\sigma} + \rho\vec{g}}$$

In index notation (with the convention that the divergence of a tensor acts on the second index):

$$\rho\frac{Dv_i}{Dt} = \frac{\partial\sigma_{ij}}{\partial x_j} + \rho g_i$$

Conservative (Flux) Form

Expanding \( \rho D\vec{v}/Dt \) and using the continuity equation, the momentum equation can be rewritten in conservation form (important for numerical methods and for flows with shocks):

$$\frac{\partial(\rho v_i)}{\partial t} + \frac{\partial(\rho v_i v_j)}{\partial x_j} = \frac{\partial\sigma_{ij}}{\partial x_j} + \rho g_i$$

or more compactly: \( \partial(\rho\vec{v})/\partial t + \nabla\cdot(\rho\vec{v}\otimes\vec{v}) = \nabla\cdot\boldsymbol{\sigma} + \rho\vec{g} \), where \( \rho\vec{v}\otimes\vec{v} \) is the momentum flux tensor (a dyadic product).

Decomposition: Pressure + Deviatoric Stress

It is universal practice to decompose the stress tensor into an isotropic part (pressure) and a deviatoric part (viscous or extra stress):

$$\sigma_{ij} = -p\,\delta_{ij} + \tau_{ij}$$

where \( p = -\tfrac{1}{3}\sigma_{kk} \) is the mechanical (mean) pressure (negative sign because compressive stress is negative in the physics convention) and \( \tau_{ij} \) is thedeviatoric (viscous) stress tensor, which is traceless:\( \tau_{kk} = 0 \). Substituting into the Cauchy equation:

$$\rho\frac{Dv_i}{Dt} = -\frac{\partial p}{\partial x_i} + \frac{\partial\tau_{ij}}{\partial x_j} + \rho g_i$$

This form separates the roles of pressure (acts to compress/expand) and deviatoric stress (acts to shear and deform). The system is still open -- we need a constitutive relation specifying how \( \tau_{ij} \) depends on the velocity field to close the equations. Different constitutive choices yield:

  • \(\tau_{ij} = 0\): Perfect (inviscid) fluid β†’ Euler equations
  • Newtonian: \( \tau_{ij} \propto \) strain rate β†’ Navier-Stokes equations (Section 4)
  • Power-law: \( \tau \propto \dot{\gamma}^n \) β†’ shear-thinning (\( n < 1 \)) or shear-thickening (\( n > 1 \))
  • Bingham plastic: Yields only above a threshold stress β†’ toothpaste, mud, lava
  • Viscoelastic: Stress depends on deformation history β†’ polymers, biological fluids

The Cauchy momentum equation is completely general and applies to any continuous medium. Augustin-Louis Cauchy (1789-1857) published the foundational theory of stress in 1822-1828, establishing continuum mechanics as a rigorous mathematical discipline.

4. Navier-Stokes Equations

The Navier-Stokes equations are obtained by inserting the Newtonian constitutive law into the Cauchy momentum equation. They are the governing equations for the vast majority of fluid flows encountered in nature and engineering -- from blood flow in capillaries to ocean currents to the aerodynamics of aircraft.

The Rate-of-Strain Tensor

Before writing the constitutive law, we need the kinematic quantity that measures how fast fluid elements deform. The velocity gradient tensor \( \partial v_i/\partial x_j \) decomposes into a symmetric part (strain rate) and an antisymmetric part (rotation):

$$\frac{\partial v_i}{\partial x_j} = \underbrace{e_{ij}}_{\text{strain rate}} + \underbrace{\Omega_{ij}}_{\text{rotation}}$$

where the rate-of-strain (deformation) tensor is:

$$e_{ij} = \frac{1}{2}\!\left(\frac{\partial v_i}{\partial x_j} + \frac{\partial v_j}{\partial x_i}\right)$$

and the rotation tensor is \( \Omega_{ij} = \frac{1}{2}(\partial v_i/\partial x_j - \partial v_j/\partial x_i) \), related to vorticity by \( \omega_k = -\epsilon_{ijk}\Omega_{ij} \). The key physical insight: viscous stress depends only on the strain rate, not on rigid-body rotation. A fluid undergoing solid-body rotation (\( e_{ij} = 0 \)) experiences no viscous stress.

Newtonian Constitutive Law (Stokes' Hypothesis)

For a Newtonian fluid, the deviatoric stress is assumed to be a linear, isotropic function of the strain rate. The most general such tensor that respects material symmetry is:

$$\sigma_{ij} = -p\,\delta_{ij} + 2\mu\, e_{ij} + \lambda\,(\nabla\cdot\vec{v})\,\delta_{ij}$$

Equivalently, writing out the strain rate explicitly:

$$\sigma_{ij} = -p\,\delta_{ij} + \mu\!\left(\frac{\partial v_i}{\partial x_j} + \frac{\partial v_j}{\partial x_i}\right) + \lambda\,(\nabla\cdot\vec{v})\,\delta_{ij}$$

The three material parameters are:

  • p -- thermodynamic pressure (from equation of state)
  • \(\mu\) -- dynamic (shear) viscosity [PaΒ·s]. Resistance to shearing deformation. For water at 20Β°C: \( \mu \approx 10^{-3} \) PaΒ·s; for air: \( \mu \approx 1.8\times10^{-5} \) PaΒ·s.
  • \(\lambda\) -- second (bulk) viscosity. Resistance to volumetric compression/expansion. Stokes' hypothesis sets\( \lambda = -\tfrac{2}{3}\mu \), making the bulk viscosity \( \kappa = \lambda + \tfrac{2}{3}\mu = 0 \). This is exact for monatomic gases and a good approximation in most cases.

Full Compressible Navier-Stokes Equations

Substituting the Newtonian constitutive law into the Cauchy momentum equation\( \rho Dv_i/Dt = \partial\sigma_{ij}/\partial x_j + \rho g_i \) yields:

$$\rho\frac{Dv_i}{Dt} = -\frac{\partial p}{\partial x_i} + \frac{\partial}{\partial x_j}\!\left[\mu\!\left(\frac{\partial v_i}{\partial x_j} + \frac{\partial v_j}{\partial x_i}\right)\right] + \frac{\partial}{\partial x_i}\!\left[\lambda\,\nabla\cdot\vec{v}\right] + \rho g_i$$

This is the full compressible form, needed for high-Mach-number aerodynamics, combustion, astrophysics, and acoustics. For constant \( \mu \) and \( \lambda \), the viscous terms simplify:

$$\rho\frac{D\vec{v}}{Dt} = -\nabla p + \mu\,\nabla^2\vec{v} + (\lambda + \mu)\,\nabla(\nabla\cdot\vec{v}) + \rho\vec{g}$$

Incompressible Navier-Stokes Equations

For an incompressible Newtonian fluid (\( \nabla\cdot\vec{v} = 0 \), constant \( \rho \)and \( \mu \)), the bulk-viscosity term vanishes identically. The equations simplify to their most celebrated form:

$$\boxed{\rho\!\left(\frac{\partial \vec{v}}{\partial t} + (\vec{v}\cdot\nabla)\vec{v}\right) = -\nabla p + \mu\,\nabla^2\vec{v} + \rho\vec{g}}$$
$$\nabla\cdot\vec{v} = 0$$

Term-by-Term Physical Identification

Inertia (LHS)
\( \rho\frac{D\vec{v}}{Dt} \)

Mass per unit volume times acceleration of the fluid parcel. The nonlinear term \( (\vec{v}\cdot\nabla)\vec{v} \) is responsible for turbulence, vortex stretching, and the cascade of energy across scales.

Pressure Gradient
\( -\nabla p \)

Fluid accelerates from high to low pressure. In incompressible flow, pressure is determined by the velocity field (via a Poisson equation) and acts as a Lagrange multiplier enforcing\( \nabla\cdot\vec{v} = 0 \).

Viscous Diffusion
\( \mu\nabla^2\vec{v} = \mu\,\frac{\partial^2 v_i}{\partial x_j \partial x_j} \)

Diffusion of momentum -- smooths out velocity gradients. Mathematically identical to heat diffusion (\( k\nabla^2 T \)). The kinematic viscosity \( \nu = \mu/\rho \) plays the role of momentum diffusivity [mΒ²/s].

Body Force
\( \rho\vec{g} \)

Gravity (or other volume forces). Often absorbed into a modified pressure\( p^* = p + \rho g z \) for flows with constant density, eliminating it from the equation.

Component Form (Cartesian)

Writing out all three components explicitly (incompressible, constant \( \mu \), gravity in -z):

x-momentum:$$\rho\!\left(\frac{\partial v_x}{\partial t} + v_x\frac{\partial v_x}{\partial x} + v_y\frac{\partial v_x}{\partial y} + v_z\frac{\partial v_x}{\partial z}\right) = -\frac{\partial p}{\partial x} + \mu\!\left(\frac{\partial^2 v_x}{\partial x^2} + \frac{\partial^2 v_x}{\partial y^2} + \frac{\partial^2 v_x}{\partial z^2}\right)$$
y-momentum:$$\rho\!\left(\frac{\partial v_y}{\partial t} + v_x\frac{\partial v_y}{\partial x} + v_y\frac{\partial v_y}{\partial y} + v_z\frac{\partial v_y}{\partial z}\right) = -\frac{\partial p}{\partial y} + \mu\!\left(\frac{\partial^2 v_y}{\partial x^2} + \frac{\partial^2 v_y}{\partial y^2} + \frac{\partial^2 v_y}{\partial z^2}\right)$$
z-momentum:$$\rho\!\left(\frac{\partial v_z}{\partial t} + v_x\frac{\partial v_z}{\partial x} + v_y\frac{\partial v_z}{\partial y} + v_z\frac{\partial v_z}{\partial z}\right) = -\frac{\partial p}{\partial z} + \mu\!\left(\frac{\partial^2 v_z}{\partial x^2} + \frac{\partial^2 v_z}{\partial y^2} + \frac{\partial^2 v_z}{\partial z^2}\right) - \rho g$$

Cylindrical Coordinates \((r, \theta, z)\)

The r-component of the incompressible Navier-Stokes equations in cylindrical coordinates (essential for pipe flow, vortex dynamics, rotating machinery):

$$\rho\!\left(\frac{\partial v_r}{\partial t} + v_r\frac{\partial v_r}{\partial r} + \frac{v_\theta}{r}\frac{\partial v_r}{\partial\theta} - \frac{v_\theta^2}{r} + v_z\frac{\partial v_r}{\partial z}\right) = -\frac{\partial p}{\partial r} + \mu\!\left(\nabla^2 v_r - \frac{v_r}{r^2} - \frac{2}{r^2}\frac{\partial v_\theta}{\partial\theta}\right) + \rho g_r$$

where \( \nabla^2 = \frac{1}{r}\frac{\partial}{\partial r}\!\left(r\frac{\partial}{\partial r}\right) + \frac{1}{r^2}\frac{\partial^2}{\partial\theta^2} + \frac{\partial^2}{\partial z^2} \). The extra terms (\( -v_\theta^2/r \) centripetal acceleration, \( -v_r/r^2 \) metric correction) arise from the curvature of the coordinate system.

Pressure Poisson Equation

An important consequence of incompressibility: taking the divergence of the momentum equation and using \( \nabla\cdot\vec{v} = 0 \) yields an elliptic equation for pressure:

$$\nabla^2 p = -\rho\,\frac{\partial v_i}{\partial x_j}\frac{\partial v_j}{\partial x_i}$$

This shows that in incompressible flow, pressure adjusts instantaneously to enforce the divergence-free constraint -- it is determined globally by the velocity field, not by a local equation of state. Physically, pressure waves propagate at infinite speed (the incompressible limit of \( c \to \infty \)).

Important Exact Solutions

Despite the nonlinearity, several exact solutions are known for special geometries and boundary conditions:

Couette Flow

Steady flow between parallel plates, one moving. Linear velocity profile:

\( v_x(y) = U\,y/h \)
Poiseuille Flow

Pressure-driven flow in a pipe. Parabolic velocity profile:

\( v_z(r) = \frac{1}{4\mu}\frac{dp}{dz}(r^2 - R^2) \)
Stokes' First Problem

Impulsively started flat plate. Diffusing boundary layer:

\( v_x(y,t) = U\,\text{erfc}\!\left(\frac{y}{2\sqrt{\nu t}}\right) \)
Taylor-Couette

Flow between rotating cylinders. Exact azimuthal solution:

\( v_\theta(r) = Ar + B/r \)

Boundary Layer Theory & the Blasius Solution

At high Reynolds number, viscous effects are confined to thin boundary layers near solid surfaces. Prandtl (1904) showed that in these layers, the N-S equations simplify to the boundary layer equations by an order-of-magnitude analysis. For steady, 2D flow over a flat plate with zero pressure gradient:

$$v_x\frac{\partial v_x}{\partial x} + v_y\frac{\partial v_x}{\partial y} = \nu\frac{\partial^2 v_x}{\partial y^2}, \qquad \frac{\partial v_x}{\partial x} + \frac{\partial v_y}{\partial y} = 0$$

Blasius (1908) found a similarity solution by introducing the variable\( \eta = y\sqrt{U_\infty/(\nu x)} \) and stream function \( \psi = \sqrt{\nu x U_\infty}\,f(\eta) \). The PDE reduces to the Blasius ODE:

$$\boxed{2f''' + f\,f'' = 0, \qquad f(0) = f'(0) = 0, \quad f'(\infty) = 1}$$

This nonlinear ODE has no closed-form solution but is solved numerically by the shooting method: guess \( f''(0) \), integrate as an IVP, and iterate until \( f'(\infty) = 1 \). The exact value is \( f''(0) = 0.332057 \). Key results:

  • Velocity profile: \( v_x/U_\infty = f'(\eta) \) -- a universal self-similar profile
  • BL thickness: \( \delta_{99} \approx 5.0\sqrt{\nu x/U_\infty} \propto x^{1/2}\,Re_x^{-1/2} \)
  • Wall shear stress: \( \tau_w = 0.332\,\mu U_\infty\sqrt{U_\infty/(\nu x)} \)
  • Skin friction: \( C_f = 0.664/\sqrt{Re_x} \)
  • Displacement thickness: \( \delta^* = 1.7208\sqrt{\nu x/U_\infty} \)

The Fortran program below solves the Blasius equation using a shooting method with 4th-order Runge-Kutta integration, compiled and executed at runtime:

Blasius Boundary Layer: Fortran Shooting Method + RK4

Fortran

Compiles and runs a Fortran program that solves the Blasius ODE via bisection shooting, then plots the self-similar velocity profile and physical boundary layer growth

blasius_solver.py215 lines

Click Run to execute the Fortran code

Code will be compiled with gfortran and executed on the server

The Millennium Prize Problem

Together with \( \nabla\cdot\vec{v} = 0 \), the four scalar equations (three momentum + one continuity) determine the four unknowns \( (v_x, v_y, v_z, p) \). However, proving the existence and smoothness of solutions in 3D for all time, given smooth initial data, remains one of the seven Clay Mathematics Institute Millennium Prize Problems (prize: $1,000,000). The fundamental difficulty is that the nonlinear convective term can potentially create singularities (infinite velocities or gradients) in finite time -- whether this actually happens is unknown.

5. Euler Equations (Inviscid Flow)

When viscous effects are negligible (\( \mu = 0 \)), the Navier-Stokes equations reduce to the Euler equations, derived by Leonhard Euler in 1755 -- predating Navier (1822) and Stokes (1845) by nearly a century. This is the appropriate limit at high Reynolds number away from solid boundaries (outside boundary layers).

Incompressible Euler Equations

Setting \( \mu = 0 \) in the incompressible Navier-Stokes equations:

$$\boxed{\rho\frac{D\vec{v}}{Dt} = -\nabla p + \rho\vec{g}} \qquad\text{with}\qquad \nabla\cdot\vec{v} = 0$$

Equivalently, expanding the material derivative:\( \rho\!\left(\frac{\partial\vec{v}}{\partial t} + (\vec{v}\cdot\nabla)\vec{v}\right) = -\nabla p + \rho\vec{g} \). In index notation: \( \rho(\partial v_i/\partial t + v_j\,\partial v_i/\partial x_j) = -\partial p/\partial x_i + \rho g_i \).

Compressible Euler Equations (Conservation Form)

For compressible inviscid flow (aerodynamics, shock waves, gas dynamics), the Euler equations are written in conservation form, coupled with an energy equation and an equation of state:

Mass:$$\frac{\partial\rho}{\partial t} + \nabla\cdot(\rho\vec{v}) = 0$$
Momentum:$$\frac{\partial(\rho\vec{v})}{\partial t} + \nabla\cdot(\rho\vec{v}\otimes\vec{v}) + \nabla p = \rho\vec{g}$$
Energy:$$\frac{\partial E}{\partial t} + \nabla\cdot\!\left[(E + p)\vec{v}\right] = \rho\vec{g}\cdot\vec{v}$$

where \( E = \rho(e + \tfrac{1}{2}|\vec{v}|^2) \) is the total energy per unit volume (internal + kinetic) and for an ideal gas \( p = (\gamma - 1)\rho e \). This is a system of hyperbolic conservation laws admitting wave-like solutions, including shock waves and expansion fans.

Key Properties

Time Reversibility

The Euler equations are invariant under \( t \to -t,\, \vec{v} \to -\vec{v} \). This means no irreversible dissipation occurs -- a stark contrast with the N-S equations, which dissipate energy via viscosity.

D'Alembert's Paradox

Steady potential flow (a solution of the Euler equations) around a body predicts zero drag. This contradiction with experiment -- resolved by Prandtl's boundary layer theory (1904) -- shows that viscosity, no matter how small, fundamentally changes the physics near surfaces.

Crocco's Theorem

For steady, adiabatic flow: \( T\nabla s = \nabla h_0 - \vec{v}\times\vec{\omega} \). If the total enthalpy \( h_0 \) is uniform and entropy \( s \) is uniform, the flow must be irrotational (\( \vec{\omega} = 0 \)).

Characteristics & Waves

The compressible Euler equations propagate information along characteristic curves at speed\( v \pm c \) (where \( c = \sqrt{\gamma p/\rho} \) is the sound speed). When characteristics converge, shock waves form -- discontinuities in \( \rho, p, \vec{v} \).

Lamb Form & Connection to Bernoulli

Using the Lamb vector identity on the convective term, the steady Euler equation for an incompressible fluid becomes:

$$\nabla\!\left(\frac{p}{\rho} + \frac{1}{2}v^2 + gz\right) = \vec{v}\times\vec{\omega}$$

Along a streamline (\( d\vec{s} \parallel \vec{v} \)), the right-hand side vanishes, immediately yielding Bernoulli's equation. In irrotational flow (\( \vec{\omega} = 0 \)), the Bernoulli constant is the same on every streamline.

The Euler equations remain central to modern computational fluid dynamics (CFD). High-resolution shock-capturing schemes (Godunov, WENO, discontinuous Galerkin) are designed specifically for the compressible Euler system and form the backbone of aerospace CFD codes.

6. Bernoulli's Equation

Bernoulli's equation is one of the most widely used results in fluid mechanics. It expresses conservation of mechanical energy along a streamline for ideal flow. Despite its simplicity, it describes venturi meters, pitot tubes, lift on airfoils (qualitatively), siphons, and countless engineering applications.

Derivation Along a Streamline

Start with the steady Euler equation divided by \( \rho \):\( (\vec{v}\cdot\nabla)\vec{v} = -\frac{1}{\rho}\nabla p - g\hat{z} \). Apply the Lamb identity \( (\vec{v}\cdot\nabla)\vec{v} = \nabla(\tfrac{1}{2}v^2) - \vec{v}\times\vec{\omega} \)and take the dot product with \( d\vec{s} \) along a streamline (parallel to \( \vec{v} \)). Since \( \vec{v}\times\vec{\omega} \) is perpendicular to\( \vec{v} \), that term vanishes:

$$d\!\left(\frac{1}{2}v^2\right) + \frac{1}{\rho}\,dp + g\,dz = 0$$

For incompressible flow (\( \rho = \text{const} \)), integration yields:

$$\boxed{p + \frac{1}{2}\rho v^2 + \rho g z = \text{constant along a streamline}}$$

Energy Interpretation

Each term represents an energy per unit volume [J/mΒ³ = Pa]:

\( p \)

Static Pressure

Flow-work energy (pressure pushing fluid)

\( \tfrac{1}{2}\rho v^2 \)

Dynamic Pressure

Kinetic energy per unit volume

\( \rho g z \)

Hydrostatic Pressure

Gravitational potential energy per unit volume

Alternative Forms

Head form (dividing by \(\rho g\)):

$$\frac{p}{\rho g} + \frac{v^2}{2g} + z = H \qquad\text{(total head, units of length [m])}$$

Stagnation pressure (setting \(v = 0\) at stagnation point):

$$p_0 = p + \frac{1}{2}\rho v^2 \qquad\text{(total/stagnation pressure)}$$

Compressible form (isentropic, ideal gas):

$$\frac{\gamma}{\gamma - 1}\frac{p}{\rho} + \frac{1}{2}v^2 + gz = \text{const} \qquad\Longrightarrow\qquad \frac{T_0}{T} = 1 + \frac{\gamma-1}{2}Ma^2$$

Unsteady Bernoulli (potential flow, \(\vec{v} = \nabla\phi\)):

$$\frac{\partial\phi}{\partial t} + \frac{p}{\rho} + \frac{1}{2}v^2 + gz = f(t)$$

Assumptions & Limitations

Required assumptions:

  • (1) Steady (\( \partial/\partial t = 0 \)) -- unless using the unsteady form
  • (2) Inviscid (\( \mu = 0 \)) -- cannot apply inside boundary layers or wakes
  • (3) Incompressible (\( \rho = \text{const} \)) -- valid for \( Ma \lesssim 0.3 \); compressible form exists for higher Mach
  • (4) Along a streamline -- unless the flow is irrotational (\( \vec{\omega} = 0 \)), in which case the constant is the same everywhere
Common Misapplications

Bernoulli's equation is frequently misused. It does not apply: across streamlines (unless irrotational), through pumps/turbines (add shaft work), across shocks (entropy increase), in viscous-dominated regions (boundary layers, pipe flow with friction -- use the extended Bernoulli with head loss), or to explain lift on airfoils purely via the "equal transit time" fallacy.

Applications

Pitot Tube

\( v = \sqrt{2(p_0 - p)/\rho} \) -- velocity from stagnation and static pressure measurement

Venturi Meter

\( Q = A_2\sqrt{2\Delta p / [\rho(1 - (A_2/A_1)^2)]} \) -- flow rate from pressure difference

Torricelli's Law

\( v = \sqrt{2gh} \) -- efflux speed from a tank with a small hole

Siphon

Flow driven by elevation difference; limited by vapor pressure at the apex

The Python visualization below demonstrates Bernoulli's equation in a converging-diverging nozzle, showing the trade-off between velocity and pressure as the cross-section varies:

Bernoulli's Equation: Energy Conservation in a Nozzle

Python

Visualizes velocity-pressure trade-off and energy budget along a converging-diverging nozzle

bernoulli_nozzle.py103 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

7. Reynolds Number & Non-Dimensionalization

The Reynolds number is the single most important dimensionless parameter in fluid mechanics. It determines whether a flow is laminar or turbulent, whether viscous effects dominate or can be neglected, and how flows at different physical scales can be related through dynamic similarity.

Derivation from Non-Dimensionalization

Non-dimensionalize the incompressible N-S equations using characteristic scales: length \( L \), velocity \( U \), time \( L/U \), and pressure \( \rho U^2 \). Defining dimensionless variables \( \vec{x}^* = \vec{x}/L \), \( \vec{v}^* = \vec{v}/U \),\( t^* = tU/L \), \( p^* = p/(\rho U^2) \):

$$\frac{\partial\vec{v}^*}{\partial t^*} + (\vec{v}^*\cdot\nabla^*)\vec{v}^* = -\nabla^* p^* + \frac{1}{Re}\nabla^{*2}\vec{v}^*$$

where the single parameter controlling the entire flow is:

$$\boxed{Re = \frac{\rho\,U\,L}{\mu} = \frac{U\,L}{\nu} = \frac{\text{Inertial forces}}{\text{Viscous forces}}}$$

This is remarkable: two geometrically similar flows with the same Re will have identical dimensionless velocity and pressure fields, regardless of the actual physical scales. This is the principle of dynamic similarity that underlies all wind tunnel and scale model testing.

Physical Meaning

The inertial term \( \rho(\vec{v}\cdot\nabla)\vec{v} \) scales as \( \rho U^2/L \)(convective acceleration). The viscous term \( \mu\nabla^2\vec{v} \) scales as\( \mu U/L^2 \) (momentum diffusion). Their ratio:

$$\frac{\text{Convective transport of momentum}}{\text{Diffusive transport of momentum}} = \frac{\rho U^2/L}{\mu U/L^2} = \frac{\rho UL}{\mu} = Re$$

Flow Regimes

Re RangeRegimeCharacterPhysical Examples
\( Re \ll 1 \)Stokes (creeping) flowViscosity dominates; inertia negligible; reversibleBacteria swimming, sedimentation, microfluidics
\( Re \sim 1\text{-}10 \)Attached laminar flowViscous and inertial forces comparable; steady wakeSmall insects, blood in capillaries
\( Re \sim 10^2\text{-}10^3 \)Unsteady laminarVortex shedding begins (Von KΓ‘rmΓ‘n street)Pipe flow (laminar), wires in wind
\( Re \sim 2300 \)Transition (pipe)Intermittent turbulent spots; sensitive to disturbancesOsborne Reynolds' 1883 experiment
\( Re \sim 10^4\text{-}10^5 \)Fully turbulentChaotic, broad spectrum of eddies; enhanced mixingIndustrial pipe flow, rivers
\( Re \sim 10^6\text{-}10^9 \)High-Re turbulenceThin boundary layers; inviscid outer flow; turbulent cascadeAircraft, ships, atmospheric flows

Laminar-Turbulent Transition

The critical Reynolds number for transition depends on the geometry and the level of disturbances:

Pipe flow

\( Re_{\text{crit}} \approx 2300 \) (based on diameter and mean velocity)

Flat plate BL

\( Re_{x,\text{crit}} \approx 5\times10^5 \) (based on distance from leading edge)

Cylinder in crossflow

\( Re_{\text{crit}} \approx 2\times10^5 \) (drag crisis -- BL transitions to turbulent)

Channel flow

\( Re_{\text{crit}} \approx 1000 \) (based on half-height and centerline velocity)

Other Important Dimensionless Numbers

The non-dimensionalized N-S equations with additional physics (heat transfer, gravity, compressibility) introduce further dimensionless groups:

\( Ma = \frac{U}{c} \)

Mach Number

Compressibility effects

\( Fr = \frac{U}{\sqrt{gL}} \)

Froude Number

Gravity wave effects

\( Pr = \frac{\nu}{\alpha} \)

Prandtl Number

Momentum vs thermal diffusion

Osborne Reynolds (1842-1912) demonstrated the transition from laminar to turbulent flow in his famous 1883 pipe flow experiment at the University of Manchester, using dye injection to visualize the flow. The dimensionless group bearing his name was formally introduced by Arnold Sommerfeld in 1908.

8. Vorticity Equation

The vorticity formulation of the Navier-Stokes equations eliminates pressure entirely, revealing the fundamental dynamics of rotation in fluids. Vorticity is the key concept connecting fluid mechanics to aerodynamic lift, tornadoes, ocean gyres, and turbulence.

Definition and Physical Meaning

The vorticity is defined as the curl of the velocity field:

$$\vec{\omega} = \nabla\times\vec{v} = \begin{vmatrix} \hat{e}_x & \hat{e}_y & \hat{e}_z \\ \partial/\partial x & \partial/\partial y & \partial/\partial z \\ v_x & v_y & v_z \end{vmatrix}$$

In 2D: \( \omega_z = \partial v_y/\partial x - \partial v_x/\partial y \) (a scalar). The vorticity equals twice the angular velocity of a local fluid element: \( \vec{\omega} = 2\vec{\Omega}_{\text{local}} \). A flow with \( \vec{\omega} = 0 \)everywhere is called irrotational (potential flow). Importantly, a fluid element can move in a curved path and still have zero vorticity (think of a free vortex:\( v_\theta = \Gamma/(2\pi r) \) is irrotational for \( r > 0 \)).

Derivation of the Vorticity Transport Equation

Take the curl of the incompressible Navier-Stokes equations. Using the vector identities\( \nabla\times\nabla p = 0 \) (curl of a gradient vanishes) and\( \nabla\times[(\vec{v}\cdot\nabla)\vec{v}] = (\vec{v}\cdot\nabla)\vec{\omega} - (\vec{\omega}\cdot\nabla)\vec{v} + \vec{\omega}(\nabla\cdot\vec{v}) - \vec{v}(\nabla\cdot\vec{\omega}) \), with \( \nabla\cdot\vec{v} = 0 \) and \( \nabla\cdot\vec{\omega} = 0 \) (div of curl vanishes):

$$\boxed{\frac{D\vec{\omega}}{Dt} = \frac{\partial\vec{\omega}}{\partial t} + (\vec{v}\cdot\nabla)\vec{\omega} = (\vec{\omega}\cdot\nabla)\vec{v} + \nu\,\nabla^2\vec{\omega}}$$

Term-by-Term Interpretation

Vortex Stretching
\( (\vec{\omega}\cdot\nabla)\vec{v} \)

Vortex lines are stretched and tilted by velocity gradients. When a vortex tube is elongated, its cross-section decreases (by Kelvin's theorem) and vorticity intensifies -- like a figure skater spinning faster by pulling in their arms. This term is absent in 2D (since \( \vec{\omega} \) is perpendicular to the flow plane) and is the primary mechanism for the energy cascade in 3D turbulence.

Viscous Diffusion
\( \nu\nabla^2\vec{\omega} \)

Vorticity diffuses outward from regions of concentrated rotation, exactly like heat diffusion. The kinematic viscosity \( \nu \) plays the role of "vorticity diffusivity." This is why vortex cores spread over time (Lamb-Oseen vortex) and why boundary layers thicken downstream.

Special Case: 2D Vorticity Equation

In two dimensions, vorticity is a scalar \( \omega = \omega_z \) and the stretching term vanishes. The equation simplifies to a scalar advection-diffusion equation:

$$\frac{\partial\omega}{\partial t} + v_x\frac{\partial\omega}{\partial x} + v_y\frac{\partial\omega}{\partial y} = \nu\!\left(\frac{\partial^2\omega}{\partial x^2} + \frac{\partial^2\omega}{\partial y^2}\right)$$

For inviscid 2D flow (\( \nu = 0 \)), this becomes\( D\omega/Dt = 0 \): vorticity is conserved following each fluid parcel. This is a powerful constraint -- once you know the initial vorticity distribution, it is simply carried along by the flow.

Kelvin's Circulation Theorem

For inviscid (\( \nu = 0 \)), barotropic (\( \rho = \rho(p) \)) flow with conservative body forces, the circulation around any material (fluid) contour is conserved:

$$\frac{D\Gamma}{Dt} = \frac{d}{dt}\oint_C \vec{v}\cdot d\vec{l} = 0$$

Profound consequence: If a flow starts irrotational (e.g., fluid at rest), it remains irrotational for all time in the absence of viscosity. Vorticity cannot be created in the interior of an inviscid fluid -- it can only be generated at boundaries (no-slip condition requires viscosity). This explains why potential flow theory works so well in the outer flow away from walls.

Helmholtz Vortex Theorems

Hermann von Helmholtz (1858) proved three fundamental theorems for inviscid barotropic flow:

  • I. The strength (circulation) of a vortex tube is constant along its length.
  • II. A vortex tube always consists of the same fluid particles (vortex lines move with the fluid).
  • III. The strength of a vortex tube is constant in time (equivalent to Kelvin's theorem).

Together: vortex lines are "frozen" into the fluid. They cannot start or end in the fluid interior; they must either form closed loops or extend to boundaries/infinity.

Vortex Models

Point/Line Vortex
\( v_\theta = \frac{\Gamma}{2\pi r} \)

Irrotational for \( r > 0 \); all vorticity concentrated at \( r = 0 \) (delta function).

Rankine Vortex
\( v_\theta = \begin{cases} \Gamma r/(2\pi a^2) & r \leq a \\ \Gamma/(2\pi r) & r > a \end{cases} \)

Solid-body core + irrotational exterior. Models tornados, wingtip vortices.

Lamb-Oseen Vortex
\( v_\theta = \frac{\Gamma}{2\pi r}\left(1 - e^{-r^2/4\nu t}\right) \)

Viscous decay solution. Core grows as \( r_c \sim \sqrt{4\nu t} \).

The Python visualization below compares vorticity fields in canonical flows -- Rankine vortex, Lamb-Oseen viscous decay, potential flow around a cylinder, and radial velocity/vorticity profiles:

Vorticity Fields in Canonical Flows

Python

Compares Rankine vortex, Lamb-Oseen viscous decay, irrotational cylinder flow, and radial profiles

vorticity_fields.py122 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

The vorticity formulation is foundational for vortex methods in CFD, the understanding of turbulence (Kolmogorov 1941 theory), and the design of vortex generators, winglets, and other aerodynamic devices. In 2D, the vorticity-stream function formulation (\( \nabla^2\psi = -\omega \)) eliminates pressure entirely and reduces the system to a single scalar equation.

9. Stokes (Creeping) Flow

Low Reynolds number limit. When Re β‰ͺ 1, the inertial term \( \rho(\vec{v}\cdot\nabla)\vec{v} \) is negligible compared to the viscous term. Formally, non-dimensionalizing the Navier-Stokes equations with scales \( U, L \):

$$\underbrace{Re}_{\to\,0}\left(\frac{\partial \vec{v}^*}{\partial t^*} + \vec{v}^*\cdot\nabla^*\vec{v}^*\right) = -\nabla^* p^* + \nabla^{*2}\vec{v}^*$$

In the limit Re β†’ 0, the left-hand side vanishes, giving the Stokes equations:

$$\nabla p = \mu\,\nabla^2\vec{v}, \qquad \nabla\cdot\vec{v} = 0$$

Linearity

The Stokes equations are linear: if \( \vec{v}_1, \vec{v}_2 \) are solutions with boundary conditions \( \vec{U}_1, \vec{U}_2 \), then \( \alpha\vec{v}_1 + \beta\vec{v}_2 \) solves the problem with \( \alpha\vec{U}_1 + \beta\vec{U}_2 \). This enables superposition.

Time Reversibility

Reversing \( \vec{v} \to -\vec{v} \) and \( p \to -p \) gives another valid solution. Consequence: a microorganism performing reciprocal (time-symmetric) motion produces zero net displacement (Purcell's scallop theorem).

Uniqueness

Solutions to the Stokes equations are unique for given boundary conditions. Moreover, the Stokes solution minimizes the total viscous dissipation among all divergence-free velocity fields satisfying the same BCs.

Instantaneity

No time derivative appears -- the flow responds instantaneously to changes in boundary conditions. The velocity field at any instant depends only on the current boundary configuration, not on history.

Stokes Flow Past a Sphere

The celebrated exact solution for uniform flow \( U \) past a sphere of radius \( a \). Using the stream function ansatz \( \psi(r,\theta) = f(r)\sin^2\theta \) and the biharmonic equation \( \nabla^4\psi = 0 \), the velocity components are:

$$v_r = U\cos\theta\left(1 - \frac{3a}{2r} + \frac{a^3}{2r^3}\right), \qquad v_\theta = -U\sin\theta\left(1 - \frac{3a}{4r} - \frac{a^3}{4r^3}\right)$$

The stream function is:

$$\psi = \frac{U}{2}\sin^2\theta\left(r^2 - \frac{3ar}{2} + \frac{a^3}{2r}\right)$$

Stokes Drag Law

Integrating the surface stress (pressure + viscous) over the sphere yields the Stokes drag:

$$F_D = 6\pi\mu a\, U$$

Remarkably, the drag decomposes as:

$$F_D = \underbrace{4\pi\mu a U}_{\text{viscous (friction) drag}} + \underbrace{2\pi\mu a U}_{\text{pressure (form) drag}}$$

Two-thirds from viscous shear stress and one-third from pressure, regardless of \( \mu \) or \( U \). The drag coefficient is:

$$C_D = \frac{F_D}{\frac{1}{2}\rho U^2 \cdot \pi a^2} = \frac{24}{Re}, \qquad Re = \frac{2\rho U a}{\mu}$$

Extensions & Limitations

Oseen Correction

Stokes' solution breaks down far from the sphere (Whitehead's paradox). Oseen (1910) linearized about the freestream instead of zero: \( C_D = \frac{24}{Re}(1 + \frac{3}{16}Re + \cdots) \)

Stokes Paradox (2D)

In 2D, there is no solution to the Stokes equations for uniform flow past a cylinder that satisfies both no-slip and far-field conditions. This is the Stokes paradox -- inertia cannot be neglected no matter how small Re in 2D.

Sedimentation

Terminal velocity of a sphere (density \( \rho_s \)) settling in fluid (\( \rho_f \)):\( V_t = \frac{2(\rho_s - \rho_f)ga^2}{9\mu} \). Balances Stokes drag with buoyant weight.

Lorentz Reciprocal Theorem

For two Stokes flows \( (\vec{v},\boldsymbol{\sigma}) \) and \( (\vec{v}',\boldsymbol{\sigma}') \)in the same domain: \( \oint \vec{v}\cdot\boldsymbol{\sigma}'\cdot\hat{n}\,dS = \oint \vec{v}'\cdot\boldsymbol{\sigma}\cdot\hat{n}\,dS \). Powerful for computing forces without solving the full flow.

Applications: sedimentation of small particles, microorganism locomotion (bacteria, spermatozoa), flow in porous media (Darcy's law), lubrication theory, microfluidics, Brownian motion of colloids, paint and polymer rheology.

Stokes Flow Past a Sphere (Fortran + Python Visualization)

Python
stokes_sphere.py151 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

10. Potential Flow Theory

Irrotational flow. If the vorticity vanishes everywhere,\( \vec{\omega} = \nabla\times\vec{v} = 0 \), then by the Helmholtz decomposition the velocity can be written as the gradient of a scalar potential:

$$\vec{v} = \nabla\phi$$

Substituting into the incompressibility condition \( \nabla\cdot\vec{v} = 0 \) yields Laplace's equation for the velocity potential:

$$\nabla^2\phi = 0$$

Stream Function & Complex Potential

In 2D incompressible flow, a stream function \( \psi \) exists such that:

$$v_x = \frac{\partial\psi}{\partial y}, \qquad v_y = -\frac{\partial\psi}{\partial x}$$

For irrotational flow, \( \psi \) also satisfies \( \nabla^2\psi = 0 \). The functions\( \phi \) and \( \psi \) are harmonic conjugates, satisfying the Cauchy-Riemann equations. This motivates the complex potential:

$$w(z) = \phi + i\psi, \qquad \frac{dw}{dz} = v_x - iv_y$$

where \( z = x + iy \). Any analytic function \( w(z) \) represents a valid potential flow.

Elementary Solutions

Flow ElementComplex Potential \( w(z) \)Physical Meaning
Uniform Flow\( Uz \)Parallel stream, velocity U along x-axis
Source/Sink\( \frac{m}{2\pi}\ln z \)Radial outflow (m > 0) or inflow (m < 0), strength m
Point Vortex\( -\frac{i\Gamma}{2\pi}\ln z \)Circular streamlines, circulation \( \Gamma \)
Doublet (Dipole)\( \frac{\kappa}{2\pi z} \)Source + sink coalesced; models a cylinder
Corner Flow\( Az^n \)Flow in a wedge of half-angle \( \pi/n \)

Flow Past a Cylinder

Superposing uniform flow + doublet gives non-lifting flow past a cylinder of radius \( a \):

$$w(z) = U\!\left(z + \frac{a^2}{z}\right)$$

Adding a point vortex of circulation \( \Gamma \) introduces asymmetry and lift:

$$w(z) = U\!\left(z + \frac{a^2}{z}\right) - \frac{i\Gamma}{2\pi}\ln z$$

Kutta-Joukowski Theorem

For any 2D body in a potential flow with circulation \( \Gamma \), the lift per unit span is:

$$L' = \rho_\infty U_\infty \Gamma$$

This result is exact and independent of body shape. For an airfoil, the Kutta condition (flow leaves the trailing edge smoothly) uniquely determines \( \Gamma \). The drag in potential flow is always zero (d'Alembert's paradox).

Conformal Mapping

Any conformal (angle-preserving) map \( \zeta = f(z) \) transforms one potential flow into another. The Joukowski transform:

$$\zeta = z + \frac{c^2}{z}$$

maps a circle to an airfoil shape, allowing exact solutions for lift on Joukowski airfoils. The Schwarz-Christoffel transform handles polygonal boundaries.

Limitations: Potential flow assumes irrotationality everywhere β€” it cannot capture boundary layers, separation, wakes, or drag. Real flows use potential theory for the outer (inviscid) region matched to boundary layer solutions near walls.

Potential Flow: Cylinder + Kutta-Joukowski (Python)

Python
potential_flow.py113 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

11. Energy Equation

Total Energy Conservation

First law of thermodynamics for a fluid element. The total energy per unit mass is \( e_{\text{tot}} = e + \tfrac{1}{2}|\vec{v}|^2 \), where \( e \) is the specific internal energy. Applying Reynolds transport to the total energy:

$$\rho\frac{D}{Dt}\!\left(e + \tfrac{1}{2}|\vec{v}|^2\right) = -\nabla\cdot\vec{q} + \nabla\cdot(\boldsymbol{\sigma}\cdot\vec{v}) + \rho\vec{g}\cdot\vec{v}$$

where \( \vec{q} = -k\nabla T \) is the heat flux (Fourier's law) and \( \boldsymbol{\sigma} \) is the Cauchy stress tensor.

Mechanical Energy Equation

Taking the dot product of the momentum equation with \( \vec{v} \) gives the kinetic energy balance:

$$\rho\frac{D}{Dt}\!\left(\tfrac{1}{2}|\vec{v}|^2\right) = \vec{v}\cdot\nabla\cdot\boldsymbol{\sigma} + \rho\vec{g}\cdot\vec{v}$$

Expanding \( \nabla\cdot(\boldsymbol{\sigma}\cdot\vec{v}) = \vec{v}\cdot(\nabla\cdot\boldsymbol{\sigma}) + \boldsymbol{\sigma}:\nabla\vec{v} \) and subtracting the mechanical equation from the total energy equation:

Thermal Energy Equation

$$\rho\frac{De}{Dt} = -\nabla\cdot\vec{q} + \boldsymbol{\sigma}:\nabla\vec{v}$$

For a Newtonian fluid with \( \boldsymbol{\sigma} = -p\mathbf{I} + \boldsymbol{\tau} \), decomposing the stress power \( \boldsymbol{\sigma}:\nabla\vec{v} = -p(\nabla\cdot\vec{v}) + \boldsymbol{\tau}:\nabla\vec{v} \). Using\( De = c_v\,dT + [T(\partial p/\partial T)_\rho - p]\,d\rho/\rho \) and Fourier's law:

Incompressible Newtonian Form

For incompressible flow (\( \nabla\cdot\vec{v} = 0 \)), using \( de = c_p\,dT \) (since \( c_p \approx c_v \)):

$$\rho c_p \frac{DT}{Dt} = k\,\nabla^2 T + \Phi$$

Viscous Dissipation Function

The viscous dissipation \( \Phi = \boldsymbol{\tau}:\nabla\vec{v} \) represents the irreversible conversion of kinetic energy to heat through viscous friction. For a Newtonian fluid:

$$\Phi = \frac{\mu}{2}\left(\frac{\partial v_i}{\partial x_j} + \frac{\partial v_j}{\partial x_i}\right)^2 = 2\mu\, e_{ij}e_{ij} \geq 0$$

In Cartesian coordinates (incompressible):

$$\Phi = \mu\!\left[2\!\left(\frac{\partial u}{\partial x}\right)^{\!2} + 2\!\left(\frac{\partial v}{\partial y}\right)^{\!2} + 2\!\left(\frac{\partial w}{\partial z}\right)^{\!2} + \left(\frac{\partial u}{\partial y}+\frac{\partial v}{\partial x}\right)^{\!2} + \left(\frac{\partial u}{\partial z}+\frac{\partial w}{\partial x}\right)^{\!2} + \left(\frac{\partial v}{\partial z}+\frac{\partial w}{\partial y}\right)^{\!2}\right]$$

The positive-definiteness (\( \Phi \geq 0 \)) is guaranteed by the second law of thermodynamics.

Compressible Form (Enthalpy)

For compressible flow, using enthalpy \( h = e + p/\rho \) and the ideal gas law:

$$\rho\frac{Dh}{Dt} = \frac{Dp}{Dt} + k\nabla^2 T + \Phi$$

For adiabatic (\( k = 0 \)), inviscid (\( \Phi = 0 \)) flow, this gives \( Dh/Dt = (1/\rho)Dp/Dt \). Along a streamline in steady flow, this integrates to the compressible Bernoulli equation: \( h + \tfrac{1}{2}v^2 = h_0 \) (total enthalpy is conserved).

Coupling & Dimensionless Numbers

Prandtl Number

\( Pr = \frac{\nu}{\alpha} = \frac{\mu c_p}{k} \) β€” ratio of momentum diffusivity to thermal diffusivity. Air: Pr β‰ˆ 0.71, water: Pr β‰ˆ 7, oils: Pr β‰ˆ 100-40000, liquid metals: Pr β‰ˆ 0.01.

Eckert Number

\( Ec = \frac{U^2}{c_p\Delta T} \) β€” ratio of kinetic energy to enthalpy difference. Measures importance of viscous dissipation. Negligible for low-speed flows, critical for hypersonic re-entry.

Brinkman Number

\( Br = Ec \cdot Pr = \frac{\mu U^2}{k\Delta T} \) β€” ratio of viscous heating to conduction. Determines when dissipation is important: \( Br \ll 1 \) β†’ temperature equation decouples from momentum.

One-way vs. two-way coupling: When fluid properties (\( \rho, \mu, k \)) are temperature-independent and buoyancy is negligible, the velocity field is independent of temperature (one-way coupling). When properties vary with T (e.g., \( \mu(T) \) in polymers), or buoyancy drives convection (Boussinesq: \( \rho \approx \rho_0[1-\beta(T-T_0)] \)), the energy and momentum equations are fully coupled (two-way). Dimensionless groups like \( Gr = g\beta\Delta T L^3/\nu^2 \)(Grashof) and \( Ra = Gr \cdot Pr \) (Rayleigh) govern natural convection.

12. Dimensional Analysis & Buckingham Pi Theorem

Principle of Dimensional Homogeneity

Every physically meaningful equation must be dimensionally homogeneous β€” each term must have the same dimensions. This principle constrains the functional form of physical laws and is the foundation of dimensional analysis. In mechanics, the three fundamental dimensions are mass (M), length (L), and time (T); thermal problems add temperature (Θ).

Buckingham Pi Theorem (1914)

Statement: If a physical problem involves \( n \) dimensional variables \( q_1, q_2, \ldots, q_n \) and \( k \) independent fundamental dimensions, then the problem can be described by \( n - k \) independent dimensionless groups:

$$f(q_1, q_2, \ldots, q_n) = 0 \quad\Longrightarrow\quad F(\Pi_1, \Pi_2, \ldots, \Pi_{n-k}) = 0$$

Systematic Procedure

  1. List all variables β€” identify every physical quantity the problem depends on (\( q_1, \ldots, q_n \)).
  2. Write dimensions β€” express each variable in terms of fundamental dimensions (M, L, T, Θ, ...).
  3. Find the rank k β€” the rank of the dimensional matrix (usually equals the number of fundamental dimensions used, but verify).
  4. Choose k repeating variables β€” they must be dimensionally independent (their dimensional matrix has full rank). Common choice: \( \rho, U, L \).
  5. Form Pi groups β€” for each remaining variable \( q_i \), form \( \Pi_i = q_i \cdot q_{r_1}^{a_i} \cdot q_{r_2}^{b_i} \cdot q_{r_3}^{c_i} \) and solve for exponents to make \( \Pi_i \) dimensionless.

Example: Drag on a Sphere

The drag force \( F \) on a sphere depends on \( (\rho, U, D, \mu) \) β€” five variables (\( n = 5 \)) with three dimensions M, L, T (\( k = 3 \)), giving\( n - k = 2 \) dimensionless groups. The dimensional matrix:

$$\begin{array}{c|ccccc} & F & \rho & U & D & \mu \\ \hline M & 1 & 1 & 0 & 0 & 1 \\ L & 1 & -3 & 1 & 1 & -1 \\ T & -2 & 0 & -1 & 0 & -1 \end{array}$$

Choosing \( \rho, U, D \) as repeating variables, forming the Pi groups:

$$\Pi_1 = \frac{F}{\rho U^2 D^2} \equiv C_D \cdot \frac{\pi}{8}, \qquad \Pi_2 = \frac{\mu}{\rho U D} = \frac{1}{Re}$$

Therefore the drag coefficient depends only on the Reynolds number:

$$C_D = \frac{F}{\frac{1}{2}\rho U^2 A} = f(Re), \qquad Re = \frac{\rho U D}{\mu}$$

This reduces a five-variable problem to a single curve \( C_D(Re) \).

Similitude & Model Testing

Dimensional analysis underpins model testing in wind tunnels and tow tanks. For dynamic similarity, all relevant Pi groups must match between model and prototype:

Geometric Similarity

Model and prototype have the same shape (all length ratios preserved). Necessary but not sufficient.

Kinematic Similarity

Velocity ratios are preserved at corresponding points. Streamline patterns are geometrically similar.

Dynamic Similarity

Force ratios are preserved β€” requires matching all relevant dimensionless numbers (Re, Ma, Fr, etc.). Then \( C_D, C_L \), etc. transfer directly.

Key Dimensionless Numbers in Fluid Mechanics

NumberDefinitionPhysical MeaningApplication
Reynolds (Re)\( \rho UL/\mu \)Inertia / ViscosityTurbulence transition
Mach (Ma)\( U/c \)Flow speed / Sound speedCompressibility
Froude (Fr)\( U/\sqrt{gL} \)Inertia / GravityFree-surface flows, ships
Weber (We)\( \rho U^2 L/\sigma \)Inertia / Surface tensionDroplets, sprays, bubbles
Strouhal (St)\( fL/U \)Unsteady / ConvectiveVortex shedding
Euler (Eu)\( \Delta p/(\rho U^2) \)Pressure / InertiaPressure drop, cavitation

Incomplete Similarity & Self-Similarity

Often it is impossible to match all dimensionless numbers simultaneously (e.g., matching both Re and Fr requires changing \( g \)). In practice, one matches the dominant Pi group and corrects for others. When a problem has no characteristic length or time, self-similar solutions exist β€” the solution depends only on a combined variable (e.g., Blasius: \( \eta = y\sqrt{U/\nu x} \)).

Hagen-Poiseuille Pipe Flow: Fortran FD Solver vs Exact Solution

Python
poiseuille_pipe.py158 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

Summary of Key Equations

EquationExpressionKey Assumption
Material Derivative\( D/Dt = \partial/\partial t + \vec{v}\cdot\nabla \)General
Continuity\( \partial\rho/\partial t + \nabla\cdot(\rho\vec{v}) = 0 \)Mass conservation
Cauchy Momentum\( \rho D\vec{v}/Dt = \nabla\cdot\boldsymbol{\sigma} + \rho\vec{g} \)Any continuum
Navier-Stokes\( \rho D\vec{v}/Dt = -\nabla p + \mu\nabla^2\vec{v} + \rho\vec{g} \)Newtonian, incompressible
Euler\( \rho D\vec{v}/Dt = -\nabla p + \rho\vec{g} \)Inviscid (\( \mu = 0 \))
Bernoulli\( p + \tfrac{1}{2}\rho v^2 + \rho g h = \text{const} \)Steady, inviscid, incompressible
Reynolds Number\( Re = \rho vL/\mu \)Inertial / viscous ratio
Vorticity\( D\vec{\omega}/Dt = (\vec{\omega}\cdot\nabla)\vec{v} + \nu\nabla^2\vec{\omega} \)Incompressible
Stokes Flow\( \nabla p = \mu\nabla^2\vec{v} \)Re β‰ͺ 1
Potential Flow\( \nabla^2\phi = 0 \)Irrotational, incompressible
Energy\( \rho c_p DT/Dt = k\nabla^2 T + \Phi \)Incompressible Newtonian
Buckingham Pi\( n \text{ vars}, k \text{ dims} \Rightarrow (n{-}k) \text{ } \Pi\text{-groups} \)Dimensional homogeneity

Video Lecture Resources

πŸŽ₯

Dr. John Biddle - Fluid Mechanics

Comprehensive fluid mechanics course covering statics, kinematics, dynamics, and viscous flow. Dr. Biddle's clear explanations and systematic approach make complex concepts accessible. These 18 lectures provide complete coverage from fundamental principles through practical applications.

Coverage

Statics, kinematics, Bernoulli, momentum, energy, Navier-Stokes, pipe flow

Level

Undergraduate engineering/physics, accessible to upper-level students

Duration

18 lectures + 1 interview

Watch John Biddle Lectures β†’

Critical Connection to Plasma Physics

Fluid mechanics is absolutely essential for plasma physics. Plasmas behave as fluids in many regimes, and MHD (magnetohydrodynamics) is essentially fluid mechanics with electromagnetic forces added.

From Fluids to MHD

MHD equations are Navier-Stokes + Maxwell equations:

  • β€’ Continuity: Same as fluid mechanics
  • β€’ Momentum: Add Lorentz force jΓ—B
  • β€’ Energy: Add electromagnetic work
  • β€’ Plus: Ohm's law, βˆ‡Γ—B = ΞΌβ‚€j, βˆ‡Β·B = 0

Kinetic β†’ Fluid Transition

When is fluid description valid?

  • β€’ Condition: Mean free path Ξ» β‰ͺ system size L
  • β€’ Collisional plasmas: Fluid equations work well
  • β€’ From Boltzmann: Moments give fluid equations
  • β€’ Closure problem: Need equation of state

Two-Fluid Theory

Separate fluid equations for electrons and ions:

  • β€’ Each species: continuity, momentum, energy
  • β€’ Coupled through E, B fields
  • β€’ More accurate than single-fluid MHD
  • β€’ Describes waves MHD can't (whistlers, etc.)

Plasma Instabilities

Fluid instabilities extend to plasmas:

  • β€’ Rayleigh-Taylor: In MHD with gravity/acceleration
  • β€’ Kelvin-Helmholtz: Shear flow instabilities
  • β€’ Plus plasma-specific: Interchange, kink, sausage

Why Study Classical Fluids First?

Understanding classical fluid mechanics before plasma MHD is like understanding classical mechanics before quantum mechanics - you need the foundation:

  • βœ“ Mathematics: Master partial differential equations, boundary conditions, conservation laws
  • βœ“ Physical intuition: Understand pressure gradients, viscosity, vorticity
  • βœ“ Problem-solving: Learn techniques applicable to plasma flows
  • βœ“ Limiting cases: MHD β†’ HD when B β†’ 0, so verify plasma results
β†’ See Plasma Physics Prerequisites

Applications Across Physics

⚑ Plasma Physics & MHD

MHD (single-fluid), two-fluid theory, hydrodynamic limit of kinetic theory, plasma confinement in fusion reactors, solar wind dynamics, magnetosphere modeling

β†’ Explore plasma physics course

🌌 Astrophysics & Cosmology

Accretion disk dynamics, stellar structure and evolution, cosmic structure formation (Jeans instability), astrophysical jets and outflows, interstellar medium dynamics

🌍 Geophysics & Atmospheric Science

Atmospheric circulation and climate, ocean currents and circulation, rotating fluids (Coriolis effects), stratified flows and internal waves, weather prediction and modeling

πŸ“Š Statistical Mechanics Connection

Derivation of Navier-Stokes from Boltzmann equation, Chapman-Enskog expansion, transport coefficients (viscosity, thermal conductivity) from kinetic theory, hydrodynamic limit

β†’ See Kardar lectures 7-11 (kinetic theory)

Prerequisites

Mathematics

  • Vector calculus (divergence, curl, gradient)
  • Partial differential equations
  • Line and surface integrals
  • Divergence and Stokes' theorems
β†’ Review vector calculus

Physics

  • Classical mechanics (Newton's laws, momentum, energy)
  • Basic thermodynamics (pressure, temperature)
  • Understanding of forces and accelerations

Recommended Preparation: Review vector calculus (especially divergence and curl), practice solving partial differential equations, and ensure comfort with Newton's second law in various forms.

Recommended Textbooks

Introductory

  • β€’ Munson, Young & Okiishi: Fundamentals of Fluid Mechanics
  • β€’ White: Fluid Mechanics (classic engineering text)
  • β€’ Fox & McDonald: Introduction to Fluid Mechanics

Advanced

  • β€’ Landau & Lifshitz: Fluid Mechanics (theoretical physics)
  • β€’ Batchelor: An Introduction to Fluid Dynamics
  • β€’ Kundu & Cohen: Fluid Mechanics (modern approach)

For Plasma Physics

  • β€’ Davidson: An Introduction to Magnetohydrodynamics
  • β€’ Goedbloed & Poedts: Principles of MHD
  • β€’ Freidberg: Ideal MHD (fusion applications)

Computational

  • β€’ Anderson: Computational Fluid Dynamics
  • β€’ Ferziger & PeriΔ‡: Computational Methods
  • β€’ Numerical methods for Navier-Stokes

Related Courses