Flow Lab

Syllabus / Module 11: Fluid Dynamics: Navier–Stokes and Beyond

Lesson 11.1

Continuum Hypothesis & Flow Kinematics

Fluids as continua; Eulerian vs Lagrangian descriptions; the material derivative; strain rate and rotation from the velocity gradient.

Written byClaude Opus

🌊
Why this matters for simulation: The vocabulary of every fluid simulation paper.

By the end of this lesson you can…

  • Compute the Knudsen number $\lambda/L$ and decide whether a flow (a wing chord, a micro-channel) may be treated as a continuum.
  • Contrast the Eulerian field $\mathbf u(\mathbf x, t)$ with the Lagrangian parcel path $\dot{\mathbf X} = \mathbf u(\mathbf X, t)$, and integrate parcel paths with RK4.
  • Derive the material derivative $D\mathbf u/Dt = \partial_t\mathbf u + (\mathbf u\cdot\nabla)\mathbf u$ with the chain rule, and show that a steady flow can still accelerate every parcel (78 g in a made-up wing-like contraction).
  • Split the velocity gradient into strain rate $S$ and rotation $W$, by hand for the shear flow $(\gamma y, 0)$, and find the principal strain directions as eigenvectors of $S$.
  • Define streamlines, pathlines and streaklines as three different ODE problems, show they coincide in steady flow, and compute all three in an unsteady flow where they differ.
On this page
·
  1. The continuum hypothesis
  2. Two ways to describe a flow
  3. The material derivative
  4. Worked example: a steady flow that accelerates
  5. Strain and rotation
  6. Worked example: the shear flow, fibre by fibre
  7. Following the parcel for a finite time
  8. Streamlines, pathlines and streaklines
  9. Worked example: a swinging wind
  10. Try it
  11. Computing it
  12. Concept checks
  13. Problems
  14. Key Takeaways

Put a wing model in a wind tunnel and stretch a thin oiled wire across the stream just upstream of it. Heat the wire and a row of smoke threads peels off and wraps over the wing, squeezing together above the upper surface. Beside the tunnel, the textbook shows a neat family of streamlines around the same airfoil. It is tempting to read the photograph and the plot as the same curves. In steady flow they are. In a gust, a pitching wing or the wake of a stall they are not, and reading one as the other gives the wrong picture of where the air goes.

There is an even more basic question first. Air is molecules, 2.55×1072.55\times10^{7} of them in a cube one micrometre on a side, each flying at an average 459459 m/s in a random direction. What does “the velocity of the air at a point above the wing” mean when the wing moves at only 5050 m/s? This lesson answers that and builds the vocabulary of every fluid-dynamics paper and simulation code. The tools are ones you have: the chain rule and Jacobian of 2.2 Linearization, the Chain Rule & the Jacobian, the paddle wheel of 2.8 Curl & Vorticity, the eigenvectors of 1.5 Eigenvectors & Eigenvalues and RK4 from 4.3 Runge–Kutta Methods & Butcher Tableaux. A pathline is an ODE you already know how to integrate.

▶ Video Grid probes against moving parcels, a steady flow that still accelerates, a square parcel sheared into a parallelogram, and three different flow lines from one sourcecaptions only
Transcript
  1. Stretch a heated wire across a wind tunnel just ahead of a wing, and smoke threads wrap over it, squeezing together above the surface. The textbook draws streamlines around the same wing, and in steady flow the two agree. But what is the velocity of the air at a point? A micrometre cube of air holds twenty-five million molecules, each flying at four hundred fifty-nine metres per second in a random direction, while the wing moves at only fifty.
  2. The answer is averaging. Air's mean free path is about sixty-eight nanometres, and the Knudsen number is lambda over L. For a one-metre chord it is six point eight times ten to the minus eight, so even a tiny cube averages millions of molecules and the velocity is a smooth field. A channel one micrometre wide has a Knudsen number of zero point zero six eight. That is slip flow: the equations still work, but the gas slides along the walls.
  3. Now there are two ways to describe one flow. Eulerian: stand still and record. Probes on a grid measure a velocity field, u of x and t. Lagrangian: ride along. Label a parcel and follow its position, which obeys d X by d t equals u at X and t. That is an initial value problem, so each parcel path is integrated with RK4, and we watch where it goes.
  4. Newton's law applies to the parcel, so we need its acceleration, not the change at a fixed point. The chain rule gives the material derivative: a local change plus a convective one. In a contraction that speeds the air up by thirty percent, every probe reads a constant, yet the parcel accelerates at u times u x, peaking at seven hundred sixty-four point seven metres per second squared, seventy-eight g, at x equals minus zero point six five six. Differentiating an RK4 parcel's speed agrees to within zero point zero two seven.
  5. Zoom in on one parcel. A neighbour moves with the velocity gradient L times its offset, and L splits into a symmetric strain rate S and an antisymmetric rotation W. Try a shear flow, gamma y comma zero. A horizontal fibre does not move at all. A vertical fibre tips clockwise at gamma. At forty-five degrees S stretches a fibre at gamma over two, and at a hundred thirty-five it squeezes at the same rate. Those are the eigenvectors of S, with eigenvalues plus and minus gamma over two.
  6. Rates are instantaneous, so let the shear act for a finite time. At gamma t equals one, the square becomes a parallelogram: the forty-five degree diagonal grows by one point five eight one one, the other shrinks to zero point seven zero seven one, and the area stays one. At gamma t of a tenth, the factors give rates near plus and minus one half. A circle becomes an ellipse of axis ratio two point six one eight zero, its long axis at thirty-one point seven two degrees, not forty-five, because rotation keeps turning the material.
  7. Three different curves come from one velocity field and one source. A streamline is tangent to the field frozen at a single instant. A pathline is one parcel's track. A streakline joins every parcel that has passed the source, which is exactly what a smoke wire shows. Take a wind whose direction swings, u equals one comma a cosine omega t, and watch all three grow from the origin.
  8. At t equals four and x equals two the three heights differ. The streamline is at minus zero point six five four, the pathline at zero point four five five, and the streakline at minus zero point eight three three. The reason is memory: the streamline knows only the wind's direction now, the pathline one parcel's history, the streakline many parcels released into different phases of the swing. In steady flow all three coincide, which is why a tunnel photograph looks like the textbook; in an unsteady flow, smoke is not streamlines.
  9. Back to the contraction. The air speeds up thirty percent over the bump, yet a small round parcel is stretched and squeezed and keeps its area, one point zero zero zero. So where does the air go when it speeds up? The vertical velocity, v equals minus y f prime, squeezes the streamlines together. The next lesson turns that into a law: the divergence of u is zero, conservation of mass.

The continuum hypothesis

The distance a molecule travels between collisions is its mean free path λ\lambda; for air at sea level λ≈68\lambda \approx 68 nm (approximate, from memory; it grows as the density falls). Average the molecular velocities over a volume that holds very many molecules yet is tiny compared with the length LL over which the flow changes. If such a volume exists, the average is a smooth field u(x,t)\mathbf u(\mathbf x, t) and calculus applies. That is the continuum hypothesis, and its yardstick is the Knudsen number

Kn=λL.\mathrm{Kn} = \frac{\lambda}{L}.

For a wing chord of L=1L = 1 m, Kn=6.8×10−8\mathrm{Kn} = 6.8\times10^{-8}: a micrometre cube, a millionth of the chord, already holds 2.55×1072.55\times10^7 molecules, so the averages are smooth. For a channel one micrometre wide (a MEMS valve), Kn=0.068\mathrm{Kn} = 0.068. The usual regimes, from memory and approximate: continuum below 0.010.01; slip flow from 0.010.01 to 0.10.1, where the equations still work but the gas slides along walls instead of sticking; transitional up to about 1010; free-molecular beyond. The 459459 m/s is the mean molecular speed 8kBT/(πm)\sqrt{8k_BT/(\pi m)} at 15 ∘15\,^\circC. The flow velocity is the small average drift on top of it; the random part appears in the continuum as pressure and temperature.

Two ways to describe a flow

Eulerian: stand still and record. The velocity is a field u(x,t)=(u,v)\mathbf u(\mathbf x, t) = (u, v), what a probe fixed in the tunnel measures and what a grid solver stores.

Lagrangian: ride along. Label a parcel by its starting point a\mathbf a and follow its position:

dXdt=u(X,t),X(0)=a.\frac{d\mathbf X}{dt} = \mathbf u(\mathbf X, t), \qquad \mathbf X(0) = \mathbf a .

This is an initial value problem. In a steady flow it is autonomous and the parcel paths are the trajectories of a phase portrait (7.3 Phase Portraits & the Trace–Determinant Plane); in an unsteady flow the right-hand side depends on tt directly.

The material derivative

Newton’s law applies to a parcel, so we need the parcel’s acceleration, not the rate of change at a fixed point. The parcel’s velocity is V(t)=u(X(t),Y(t),t)\mathbf V(t) = \mathbf u(X(t), Y(t), t). The chain rule gives, for the first component,

dV1dt=∂u∂t+∂u∂xdXdt+∂u∂ydYdt=∂u∂t+u ux+v uy,\frac{dV_1}{dt} = \frac{\partial u}{\partial t} + \frac{\partial u}{\partial x}\frac{dX}{dt} + \frac{\partial u}{\partial y}\frac{dY}{dt} = \frac{\partial u}{\partial t} + u\,u_x + v\,u_y ,

because dX/dt=udX/dt = u and dY/dt=vdY/dt = v; the second component is the same with vv on top. Together,

DuDt=∂u∂t+(u⋅∇) u=∂u∂t+L u,L=(uxuyvxvy).\frac{D\mathbf u}{Dt} = \frac{\partial \mathbf u}{\partial t} + (\mathbf u\cdot\nabla)\,\mathbf u = \frac{\partial \mathbf u}{\partial t} + L\,\mathbf u, \qquad L = \begin{pmatrix} u_x & u_y \\ v_x & v_y \end{pmatrix}.

The first term is the local change, the field changing in time. The second is the convective change, the parcel moving to where the field is different. LL, the Jacobian of the velocity field, is the velocity gradient. The chain-rule lesson carried a temperature this way; here the velocity carries itself, and that is where the nonlinearity of fluid mechanics comes from.

Worked example: a steady flow that accelerates

Take a made-up, wing-like speed bump on the centreline of a contraction: u=f(x)=U(1+0.3 e−(x/c)2)u = f(x) = U\big(1 + 0.3\,e^{-(x/c)^2}\big), U=50U = 50 m/s, c=1c = 1 m. The air speeds up by 30%30\% over the crest. The flow is steady, so every fixed probe reads a constant. Yet

DuDt=u ux=f(x) f′(x),f′(x)=−0.6 Uxc2 e−(x/c)2.\frac{Du}{Dt} = u\,u_x = f(x)\,f'(x), \qquad f'(x) = -\frac{0.6\,U x}{c^2}\,e^{-(x/c)^2}.

The product peaks ahead of the crest, at x=−0.656x = -0.656 m. By hand: e−0.4303=0.6503e^{-0.4303} = 0.6503, so f=50(1.1951)=59.8f = 50(1.1951) = 59.8 m/s and f′=30(0.656)(0.6503)=12.80f' = 30(0.656)(0.6503) = 12.80 s−1^{-1}, giving Du/Dt=764.7Du/Dt = 764.7 m/s2^2, about 7878 g. Behind the crest the parcel brakes just as hard (ff is even, f′f' odd). The force that does this is a pressure gradient, the subject of the Euler-equations lesson (11.3).

Is uuxu u_x really the parcel’s acceleration? The lab cell follows one parcel with RK4 (h=10−4h = 10^{-4} s), differentiates its speed in time and compares: the largest gap is 0.0270.027 m/s2^2, finite-difference error. The sim’s contraction is the same bump with U=c=1U = c = 1 (multiply its accelerations by U2/c=2500U^2/c = 2500 m/s2^2), plus the vertical velocity v=−yf′(x)v = -y f'(x) a two-dimensional flow needs. Its readout shows ∂tu\partial_t\mathbf u, LuL\mathbf u and the acceleration measured along the parcel’s own RK4 path; the last two agree to the digits shown.

Strain and rotation

Zoom in on a parcel at x0\mathbf x_0. A neighbour at x0+δ\mathbf x_0 + \boldsymbol\delta moves with u(x0)+Lδ\mathbf u(\mathbf x_0) + L\boldsymbol\delta (the linearization of the chain-rule lesson). The first term carries the parcel along unchanged; everything that changes its shape or orientation is in LδL\boldsymbol\delta. Split LL into symmetric and antisymmetric parts:

L=S+W,S=12(L+LT),W=12(L−LT).L = S + W, \qquad S = \tfrac12(L + L^{\mathsf T}), \qquad W = \tfrac12(L - L^{\mathsf T}).

SS is the strain-rate tensor, WW the rotation tensor. The two parts do physically different things.

Worked example: the shear flow, fibre by fibre

The shear flow u=(γy,0)\mathbf u = (\gamma y, 0) is the Couette profile of 8.1 Two-Point Boundary Value Problems, and the simplest model of the boundary layer on a wing, where the air goes from rest at the skin to flight speed across a few millimetres. Here uy=γu_y = \gamma and the other derivatives vanish:

L=(0γ00),S=(0γ/2γ/20),W=(0γ/2−γ/20).L = \begin{pmatrix} 0 & \gamma \\ 0 & 0 \end{pmatrix}, \quad S = \begin{pmatrix} 0 & \gamma/2 \\ \gamma/2 & 0 \end{pmatrix}, \quad W = \begin{pmatrix} 0 & \gamma/2 \\ -\gamma/2 & 0 \end{pmatrix}.

Don’t trust the matrices yet. Put short fibres through the centre, with γ=1\gamma = 1 s−1^{-1}, and see what LδL\boldsymbol\delta does:

  • Horizontal, δ=(ε,0)\boldsymbol\delta = (\varepsilon, 0): Lδ=(0,0)L\boldsymbol\delta = (0, 0). Both ends move together; no stretch, no turn.
  • Vertical, δ=(0,ε)\boldsymbol\delta = (0, \varepsilon): Lδ=(γε,0)L\boldsymbol\delta = (\gamma\varepsilon, 0). The top runs ahead, so the fibre tips clockwise at −γ=−1-\gamma = -1 rad/s.
  • At 45∘45^\circ, δ=(ε,ε)/2\boldsymbol\delta = (\varepsilon, \varepsilon)/\sqrt2: Sδ=γ2δS\boldsymbol\delta = \tfrac{\gamma}{2}\boldsymbol\delta, pushed straight outward: it stretches at rate γ/2\gamma/2.
  • At 135∘135^\circ, δ=(ε,−ε)/2\boldsymbol\delta = (\varepsilon, -\varepsilon)/\sqrt2: Sδ=−γ2δS\boldsymbol\delta = -\tfrac{\gamma}{2}\boldsymbol\delta: it shrinks at rate γ/2\gamma/2.

So (1,1)(1, 1) and (1,−1)(1, -1) are eigenvectors of SS, eigenvalues ±γ/2\pm\gamma/2: directions SS only stretches or squeezes, never turns. These are the principal strain directions, and because SS is symmetric they are always perpendicular (1.6 Change of Basis & Diagonalization). Locally, the strain part of any flow is a stretch along one axis and a squeeze along the other.

The rotation part, Wδ=(γδy/2, −γδx/2)W\boldsymbol\delta = (\gamma\delta_y/2,\, -\gamma\delta_x/2), turns every fibre rigidly at −γ/2-\gamma/2: the average of the horizontal fibre’s 00 and the vertical fibre’s −γ-\gamma. With the vorticity ω=vx−uy=−γ\omega = v_x - u_y = -\gamma (the 2D curl), the rate is ω/2\omega/2, the paddle-wheel rate of the curl lesson. A flow with perfectly straight streamlines is a 45∘45^\circ stretch plus a clockwise spin. On a wing, almost all the vorticity lives in this thin boundary layer and the wake; outside, the flow is nearly irrotational (from memory), which the potential-flow and airfoil lessons will exploit.

For a general symmetric S=(abbd)S = \begin{pmatrix} a & b \\ b & d \end{pmatrix}, the characteristic equation λ2−(a+d)λ+(ad−b2)=0\lambda^2 - (a + d)\lambda + (ad - b^2) = 0 gives

λ±=a+d2±(a−d2)2+b2,θ=12 atan2(2b, a−d)\lambda_\pm = \frac{a + d}{2} \pm \sqrt{\Big(\frac{a - d}{2}\Big)^2 + b^2}, \qquad \theta = \tfrac12\,\mathrm{atan2}(2b,\, a - d)

for the angle θ\theta of the stretching axis. For the shear, a=d=0a = d = 0, b=γ/2b = \gamma/2: λ±=±γ/2\lambda_\pm = \pm\gamma/2, θ=45∘\theta = 45^\circ. The trace a+d=ux+vya + d = u_x + v_y is the divergence (2.7 Divergence: Sources & Sinks), the rate of area growth; here it is zero.

Following the parcel for a finite time

Rates are instantaneous; to see the shape, integrate the pathlines of the parcel’s boundary. In the shear flow X=x0+γt y0X = x_0 + \gamma t\,y_0, Y=y0Y = y_0, which the sim’s RK4 reproduces to round-off. At γt=1\gamma t = 1 a square of side 0.50.5 has corners (−0.5,−0.25)(-0.5, -0.25), (0,−0.25)(0, -0.25), (0.5,0.25)(0.5, 0.25), (0,0.25)(0, 0.25) relative to its centre. The 45∘45^\circ diagonal has grown by 1.58111.5811, the 135∘135^\circ one shrunk to 0.70710.7071, and the area factor is 1.00001.0000. At γt=0.1\gamma t = 0.1 the factors are 1.05121.0512 and 0.95130.9513, rates near +0.51+0.51 and −0.49-0.49: the eigenvalues ±0.5\pm0.5, exactly so only as t→0t \to 0.

A circle becomes an ellipse with axis ratio 2.61802.6180 at γt=1\gamma t = 1, long axis at 31.72∘31.72^\circ, not 45∘45^\circ. The principal axes of SS sit at 45∘45^\circ at every instant, but WW keeps turning the material, sweeping the stretched direction down toward the flow. Problem 2 derives both numbers.

◆ Interactive A parcel of tracers in five flows: strain, rotation and the material derivative live; streamlines, pathline and streakline from one dye source

Loading simulation…

Now pick the vortex and set t=0t = 0; the parcel starts at (2,0)(2, 0), far outside the core of radius 0.50.5. The readout says ω=0.0000\omega = 0.0000 with eigenvalues ±0.2500\pm0.2500. The radial fibre turns clockwise at 0.250.25 rad/s, the tangential one counterclockwise at 0.250.25 rad/s, and their average is zero: the parcel is strained into an arc as it orbits, but it does not spin.

Streamlines, pathlines and streaklines

Three ODE problems, one velocity field, one source point xs\mathbf x_s:

  • A streamline at time t0t_0 is tangent to the field frozen at t0t_0: dx/ds=u(x,t0)d\mathbf x/ds = \mathbf u(\mathbf x, t_0), where ss is not time. A snapshot.
  • A pathline is one parcel’s track: dx/dt=u(x,t)d\mathbf x/dt = \mathbf u(\mathbf x, t), x(t0)=xs\mathbf x(t_0) = \mathbf x_s. A long exposure of one tracer.
  • A streakline at time tt joins all parcels that passed xs\mathbf x_s at earlier times τ\tau: the curve τ↦X(t; xs,τ)\tau \mapsto \mathbf X(t;\, \mathbf x_s, \tau). What a smoke wire shows.

In steady flow the three coincide. The streamline and pathline equations are then the same autonomous ODE, and every parcel released from xs\mathbf x_s, at any τ\tau, starts from the same point, so by uniqueness (3.7 Existence & Uniqueness) it runs along the same curve, only later. When the field changes in time the first step of that argument fails.

Worked example: a swinging wind

Take a uniform wind whose direction swings, u=(1, acos⁡ωt)\mathbf u = (1,\, a\cos\omega t), a=0.5a = 0.5, ω=1\omega = 1, source at the origin, releases from t=0t = 0.

  • Streamline at time tt: the frozen field has slope acos⁡ωta\cos\omega t, so y=acos⁡(ωt) xy = a\cos(\omega t)\,x.
  • Pathline: x=tx = t, y=(a/ω)sin⁡ωty = (a/\omega)\sin\omega t, that is y=(a/ω)sin⁡ωxy = (a/\omega)\sin\omega x.
  • Streakline: the parcel released at τ\tau sits at x=t−τx = t - \tau, y=(a/ω)(sin⁡ωt−sin⁡ωτ)y = (a/\omega)(\sin\omega t - \sin\omega\tau); with τ=t−x\tau = t - x, y=(a/ω)(sin⁡ωt−sin⁡ω(t−x))y = (a/\omega)\big(\sin\omega t - \sin\omega(t - x)\big).

At t=4t = 4 and x=2x = 2: y=−0.654y = -0.654 (streamline), 0.4550.455 (pathline), −0.833-0.833 (streakline). Three heights, from one source. The mechanism is memory: the streamline knows only the wind’s direction now, the pathline one parcel’s history, and the streak many parcels released into different phases of the swing. Set ω=0\omega = 0 and the three agree (the sim reads 1.0001.000 for each).

◆ Interactive Unsteady flow: the bold streamline, the dashed pathline and the green streakline from the same source, read at the probe line

Loading simulation…

The sim puts the source at (−2,0)(-2, 0) and the probe two units downstream, and its RK4 curves read −0.654-0.654, 0.4550.455 and −0.833-0.833. The travelling wave u=(1, 0.5cos⁡1.5(x−ct))\mathbf u = (1,\, 0.5\cos 1.5(x - ct)) varies in space too. With the source at (−3,0)(-3, 0) and t=4t = 4, at c=0c = 0 (steady) all three cross the probe at −0.326-0.326; at c=0.5c = 0.5 they split to 0.2660.266, −1.170-1.170 and −0.667-0.667. At c=1c = 1 the wave rides with the stream, each parcel keeps one phase, y˙\dot y is constant, and the pathlines are straight while the streamlines stay wavy.

Try it

(1) Shear, t=1t = 1: read SS, WW, ω\omega, the corners and the diagonal factors; switch to a circle; drag tt to 0.10.1. (2) Contraction: play, and watch ∂tu\partial_t\mathbf u stay zero while Du/DtD\mathbf u/Dt swings positive then negative. (3) Vortex from t=0t = 0. (4) Swinging wind at t=4t = 4, then ω→0\omega \to 0. (5) Travelling wave at c=0c = 0, 0.50.5, 11. In all five flows the area factor stays 1.00001.0000 up to the polygon’s error.

Computing it

🐍 PythonLab: Knudsen numbers (A), the steady contraction and an RK4 parcel (B), the swinging wind's three curves (C)
⌘/Ctrl + Enter
🧪 Coding exerciseExercise: velocity gradient by central differences, strain rate, rotation, vorticity and principal strain axes
⌘/Ctrl + Enter

The tolerance is the default of close, 10−610^{-6} relative: with d=10−5d = 10^{-5} the central difference errs by about 10−1010^{-10} on the Taylor-Green field and only by round-off on the quadratic fields. Angles are compared modulo 180∘180^\circ, since an axis has no preferred end.

Concept checks

✅ Concept check

Air at sea level has a mean free path of about 68 nm. What is the Knudsen number of a channel 1 micrometre wide? (three decimals)

✅ Concept check

In a steady flow ($\partial\mathbf u/\partial t = 0$ everywhere), a fluid parcel's acceleration is

✅ Concept check

In the shear flow $\mathbf u = (\gamma y, 0)$ with $\gamma \gt 0$, which statement is true?

✅ Concept check

A smoke wire upstream of a wing pitching up and down in a wind tunnel shows

Problems

✏️ Pen & paperThe stagnation-point flow●○○

Where the air meets the nose of a wing, a model flow near the stagnation point is u=(kx,−ky)\mathbf u = (kx, -ky), k=2k = 2 s−1^{-1}. (a) Find LL, SS, WW, ω\omega. (b) Find Du/DtD\mathbf u/Dt at (0.5,1)(0.5, 1) m. (c) Check (b) from the pathline.

Show worked solution

(a) L=S=diag(k,−k)L = S = \mathrm{diag}(k, -k), W=0W = 0, ω=0\omega = 0: pure strain, stretching along xx and squeezing along yy at 22 s−1^{-1}; divergence k−k=0k - k = 0.

(b) Steady, so Du/Dt=Lu=(k⋅kx, (−k)(−ky))=k2(x,y)=(2,4)D\mathbf u/Dt = L\mathbf u = (k\cdot kx,\, (-k)(-ky)) = k^2(x, y) = (2, 4) m/s2^2.

(c) X=x0ektX = x_0e^{kt}, Y=y0e−ktY = y_0e^{-kt}, so X¨=k2X\ddot X = k^2X, Y¨=k2Y\ddot Y = k^2Y: (2,4)(2, 4) m/s2^2 again. The pathlines are the hyperbolas XY=x0y0XY = x_0y_0. (These numbers are not in the sim.)

✏️ Pen & paperWhy the ellipse leans at 31.72 degrees●●○

In the shear flow at γt=1\gamma t = 1, points move by X=Fa\mathbf X = F\mathbf a with F=(1101)F = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}. A circle of radius rr becomes an ellipse with semi-axes rr times the square roots of the eigenvalues of FFTFF^{\mathsf T}, along its eigenvectors. Find the axis ratio and the angle of the long axis.

Show worked solution

FFT=(2111)FF^{\mathsf T} = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix}: trace 33, determinant 11, so λ2−3λ+1=0\lambda^2 - 3\lambda + 1 = 0 and λ=(3±5)/2=2.618\lambda = (3 \pm \sqrt5)/2 = 2.618, 0.3820.382. The ratio is 2.618/0.382=2.618\sqrt{2.618/0.382} = 2.618 (the eigenvalues multiply to 11). The eigenvector for 2.6182.618 solves (2−2.618)p+q=0(2 - 2.618)p + q = 0, so q=0.618pq = 0.618p and the angle is arctan⁡0.618=31.72∘\arctan 0.618 = 31.72^\circ, as the sim’s circle readout shows. Determinant 11 means the area is unchanged.

✏️ Pen & paperWhen streak and path agree●●○

For the swinging wind, derive the streakline formula and evaluate it at t=4t = 4, x=2x = 2. Then find the times at which the streakline lies on the pathline y=(a/ω)sin⁡ωxy = (a/\omega)\sin\omega x along its whole length.

Show worked solution

The parcel released at τ\tau has x=t−τx = t - \tau and y=∫τtacos⁡ωs ds=(a/ω)(sin⁡ωt−sin⁡ωτ)y = \int_\tau^t a\cos\omega s\,ds = (a/\omega)(\sin\omega t - \sin\omega\tau); put τ=t−x\tau = t - x. Then 0.5(sin⁡4−sin⁡2)=0.5(−0.7568−0.9093)=−0.8330.5(\sin 4 - \sin 2) = 0.5(-0.7568 - 0.9093) = -0.833, as the lab and the sim print. Equality for every xx needs sin⁡ωt−sin⁡ω(t−x)=sin⁡ωx\sin\omega t - \sin\omega(t - x) = \sin\omega x; differentiate in xx at x=0x = 0: cos⁡ωt=1\cos\omega t = 1, so t=2πn/ωt = 2\pi n/\omega, after whole swings, and there the identity holds. The sim’s slider brackets 2π2\pi: the streakline reads 0.4520.452 at t=6.28t = 6.28 and 0.4590.459 at 6.296.29, passing the pathline’s 0.4550.455.

Key Takeaways

  • The continuum works when Kn=λ/L\mathrm{Kn} = \lambda/L is small: 6.8×10−86.8\times10^{-8} for a 1 m chord, 0.0680.068 (slip flow) for a 1 micrometre channel. Flow velocity is an average drift on molecules moving at about 459459 m/s.
  • Eulerian: a field at fixed points. Lagrangian: parcels with X˙=u(X,t)\dot{\mathbf X} = \mathbf u(\mathbf X, t), integrated by RK4 with tt carried through the stages.
  • Du/Dt=∂tu+LuD\mathbf u/Dt = \partial_t\mathbf u + L\mathbf u. Steady flows still accelerate parcels: 7878 g over a 30%30\% speed bump at 5050 m/s.
  • L=S+WL = S + W: SS stretches along its perpendicular eigenvectors, WW spins at ω/2\omega/2. Shear (γy,0)(\gamma y, 0): λ=±γ/2\lambda = \pm\gamma/2 at 45∘45^\circ and 135∘135^\circ, ω=−γ\omega = -\gamma.
  • Straight streamlines can carry vorticity (the boundary layer); circular ones need not (outside a vortex core).
  • Streamlines, pathlines and streaklines coincide in steady flow and differ in unsteady flow: −0.654-0.654, 0.4550.455, −0.833-0.833 in the swinging wind.
  • Next, conservation of mass (11.2): over the bump the centreline air speeds up by 30%30\%. Where does the air go when it speeds up? The term v=−yf′(x)v = -y f'(x) squeezes the streamlines together, and every parcel in the sim kept its area. The next lesson makes that a law, ∇⋅u=0\nabla\cdot\mathbf u = 0.
Finished this lesson?

Mark it complete to track your progress (saved in this browser). Reading every section does this for you.

Where this leads

These later lessons build directly on this one: