We also have the Continuity Equation for mass conservation. If qW denotes the mass density, then
q˙W+u⋅∇qW+(∇⋅u)qW=0
or
q˙W+∇⋅(qWu)=0
Derivation of Fluid Momentum Equation
We will derive the fluid momentum equation by examining the forces on the system. Recall that
DtDu=∂t∂u+u⋅∇u
is the world-space acceleration of a flowing particle. The D/Dt operator is the material derivative of the velocity field u (so obviously, this gives us the acceleration of a particle). By Newton’s second law, we have
qWDtDu=:(force density)
Force density is the amount of force per unit volume.
source code
The force is given by the pressure on the parcel of volume. Suppose p:W→R is the scalar pressure field and the center of the cube is at (x,y,z) with the above dimensions. Using Taylor expansion, the pressure at the right wall is p(x,y,z)+∂x∂p2Δx. Since forice is pressure times area, the force at the right wall pointing in the ex direction is
−[(p(x,y,z)+∂x∂p2Δx)ΔyΔz]⋅ex
Similarly, at the hidden left wall, the force is
+[(p(x,y,z)−∂x∂P2Δx)ΔyΔz]⋅ex
The net force from all six sides is
Fnet=−∇p(∂x∂pex+∂y∂pey+∂z∂pez)⋅ΔxΔyΔz
And so the force density is −∇p. Therefore, the equations of motion for a (compressible) fluid are
⎩⎨⎧q˙W+∇⋅(qWu)qW(DtDu)still need equation for p=0=−∇p⟺⎩⎨⎧q˙W+∇⋅(qWu)∂t∂(qWu)+div(qWu⊗u+pI3×3)=0=0⋮
Here, div(pI3×3)=∇p. We can show equivalence of the second equation as follows.
These equations are not complete. Our equations govern mass continuity and momentum conservation but we still have some unknowns. Indeed, we have three unknowns: qW, u, and p. We need an additional constraint on the fluids. One can take some assumptions about the pressure of the fluid. For example,
”p is only a function of the spatial mass density qW” (barotropic fluid)
to complete the equation. Or
”p is a function of qW and a hidden variable s with DtDs=0”
Then s is called the “entropy” of the fluid, and the fluid is called “isentropic”.
Barotropic Fluids
A barotropic fluid is a fluid whose density is a function of pressure only. Suppose p:=p(q) is very “stiff”, i.e. the fluid is hard to compress.
source code
then the fluid would want to stay at the same density q0 and the fluid is effectively incompressible. The slope dp/dq means that we can try to exert extreme pressure to change the density, but the fluid will resist it.
In fluid mechanics, the slope dp/dq is the square of the speed of sound in that fluid’s material. The speed of sound is really how fast vibrations travel.
Linearized Fluid Equation
Let q=q0 (some base density) and u=0 (the fluid is not moving) be static solutions. Let
q=q0+εq~andu=0+εu~with ε<<1
to O(ε2). Visually, this means we applied some perturbation to the system at the initial state (q0,0) and we want to see how the system evolves. We ignore O(ε2) terms because we are only interested in the first-order behavior of the system.
The (εu~⋅∇)(εu~) term generates a ε2 term which we can ignore. Likewise, the εq~ term in the left side generates a ε2 term. Therefore, we have q0εu~˙. Now, we can perform Taylor expansion of the pressure field:
where c2 is the speed of sound. Therefore, the linearized fluid equations are
{εq~˙+∇⋅(εq0u~)q0εu~˙=0=−c2ε∇q~
This implies
q~¨=c2Δ(Laplacian)∇⋅∇q~
This is the acoustic wave equation. The acoustic wave equation describes how sound (or vibrations) propagate through a medium (fluid). The speed of sound c determines how fast these waves travel.
When the speed of sound u≪c, then we may assume q=q0 for constant q0 and has some perturbation εu~,εq~ satisfying the linear acoustic wave equation, the fluid has a low Mach number and is called quasi-static. In other words, it is incompressible. When the speed of sound u is comparable to c, then the fluid is compressible and we need to use the full nonlinear equations.
Incompressible Fluids
An incompressible fluid is a fluid whose density q is constant q0 throughout the flow and the divergence of the velocity field u is zero (∇⋅u=0). We have two definitions of incompressibility.
The strong version is that the density q is constant. The equations of motion are
{q∇⋅u=q0=0
The weak version only requires ∇⋅u=0. This is an iff condition with q˙+u⋅∇q=0. So q can be nonconstant, just that the more desnse part is advected (move or transport by bulk motion) by the fluid. Indeed, it is also volume preserving over time. For Ω⊂M1,
What does it mean to be completely orthogonal to χdiv? Define
χdiv⊥={q∇pp:W→R}
The theorem states that the orthogonal complement χdiv⊥ is the space of all pressure gradients ∇p.
Proof: We need to show the two vector spaces are orthogonal. This is done by seelcting any arbitrary vector u∈χdiv and an arbitrary vector from the second space ∇p/q always has in inner product of 0.
The corollary is that p is uniquely determined by orthogonal projection. The pressure force becomes the Lagrange multipler for the ∇⋅u=0 constraint. Because these two spaces are orthogonal, any arbitrary vector field w can be uniquely sliced into two independent pieces
w=uincompressible+∇p
Footnotes
See Postulate 2 for an explanation for this notation. ↩