Euler's Equation and Hydrostatics
- Fluid Mechanics 1.3

Euler’s Equation

In fluid dynamics, Euler’s equation describes the motion of an ideal fluid. We’ll use the equations derived in the previous section to arrive at Euler’s equation.

First, from the continuity equation for mass, we have:

\[ \mdv{\rho} = -\rho \div \b{v} \]

Next, we consider the momentum equation for an ideal fluid.

\[ \rho \mdv{\b{v}} = -\grad p + \b{f} \]

Here, $\b{f}$ represents the body force per unit volume acting on the fluid, such as gravity. Dividing through by $\rho$, we get:

\[ \mdv{\b{v}} = -\frac{\grad p}{\rho} + \b{a} \]

where $\b{a} = \frac{\b{f}}{\rho}$ is the acceleration due to body forces. Finally, let’s bring the energy equation into the picture.

\[ \rho \mdv{} \left( \frac{1}{2} v^2 + \varepsilon \right) = - \div (p \b{v}) + \b{v} \cdot \b{f} \]

Substituting the material derivative of velocity from the momentum equation, we have:

\[ \mdv{\varepsilon} = -\frac{p}{\rho} \div \b{v} \]

We can observe that the change in internal energy per unit mass is irrelevant to the external forces acting on the fluid. Summarizing, we have the following set of equations for an ideal fluid:

\[ \begin{align*} \mdv{\rho} &= -\rho \div \b{v} \nl \mdv{\b{v}} &= -\frac{\grad p}{\rho} + \b{a} \nl \mdv{\varepsilon} &= -\frac{p}{\rho} \div \b{v} \end{align*} \]

These equations are known as Euler’s equations for an ideal fluid.

Thermodynamic Analysis

Let’s think of the familiar thermodynamic relation:

\[ \dd{w} = T \dd{s} + \frac{1}{\rho} \dd{p} \]

Since an ideal fluid is adiabatic, we have $\dd{s} = 0$. Thus, we can write:

\[ \grad w = \frac{1}{\rho} \grad p \]

Substituting this into the momentum equation, we get:

\[ \pdv{\b{v}}{t} + (\b{v} \cdot \grad) \b{v} = -\grad w + \b{a} \]

Using a well-known formula from vector calculus:

\[ \frac{1}{2} \grad v^2 = \b{v} \times (\curl \b{v}) + (\b{v} \cdot \grad) \b{v} \]

we can rewrite the momentum equation as:

\[ \pdv{\b{v}}{t} - \b{v} \times (\curl \b{v}) = -\grad \left( w + \frac{1}{2} v^2 \right) + \b{a} \]

This form of Euler’s equation is particularly useful for analyzing fluid flow in various scenarios. If we take the curl of both sides, we obtain:

\[ \pdv{}{t} (\curl \b{v}) = \curl [ \b{v} \times (\curl \b{v}) ] + \curl \b{a} \]

if $\b{a}$ is a conservative force field, the last term vanishes.

Hydrostatics

For a fluid at rest in a uniform gravitational field, we have $\b{v} = 0$ and $\b{a} = -g \hat{\b{z}}$. Substituting these into the momentum equation, we get:

\[ \grad p = -\rho g \hat{\b{z}} \]

It then follows that the density is also a function of $z$ only.

\[ \rho = -\frac{1}{g} \odv{p}{z} \]

Constant Density

Let’s assume that the fluid density $\rho$ is constant throughout the fluid. Then from the condition $p = p_0$ at $z = h$, we have:

\[ p = p_0 + \rho g (h - z) \]

Varying Density

However, for large masses of fluid, the density may vary with depth due to compressibility effects. If the fluid is close to thermodynamically perfect gas, we can use the ideal gas law:

\[ \odv{p}{z} = -\frac{gM}{R T} p \]

where $R$ is the specific gas constant and $T$ is the temperature. Assuming $T$ is constant with depth, we can integrate this equation to find:

\[ p = p_0 \exp \left[ -\frac{gM}{R T} z \right] \]

where $p_0$ is the pressure at $z = 0$. If the temperature varies with depth, we can still integrate the equation if we know the temperature profile $T(z)$. The most important example is the linear temperature profile such as the troposphere.

\[ T(z) = T_0 - L z \]

Here, $T_0$ is the temperature at $z = 0$ and $L$ is the lapse rate. Integrating the pressure gradient equation with this temperature profile, we find:

\[ p = p_0 \left( 1 - \frac{L z}{T_0} \right)^{gM/RL} \]

Astronomical Case

Finally, let’s consider the case of a spherically symmetric gravitational field, such as a star. Let $\Phi$ be the gravitational potential, which satisfies Poisson’s equation:

\[ \laplacian \Phi = 4 \pi G \rho \]

Then, the hydrostatic equilibrium condition becomes:

\[ \grad p = -\rho \grad \Phi \]

Dividing through by $\rho$ and taking the divergence of both sides, we obtain:

\[ \div \left( \frac{1}{\rho} \grad p \right) = -4 \pi G \rho \]

If the body is not rotating, we can assume spherical symmetry. Then, the equation simplifies to:

\[ \frac{1}{r^2} \odv{}{r} \left( \frac{r^2}{\rho} \odv{p}{r} \right) = -4 \pi G \rho \]

This equation is fundamental in astrophysics for modeling the structure of stars and planets.

Condition that Convection be Absent

In a gravitational field, a fluid can become unstable to convection if the temperature gradient is too steep. Let us consider a fluid element at height $z$, having a specific volume $V(p,s)$ where $p,s$ are the pressure and entropy at an equilibrium state. If we displace this element adiabatically to a new height $z + \dd{z}$, it will have a new specific volume $V(p + \dd{p}, s)$, since the entropy remains constant during the adiabatic process. The surrounding fluid at the new height has a specific volume $V(p + \dd{p}, s + \dd{s})$. For the fluid to be stable against convection, the displaced element must be denser than the surrounding fluid, which translates to:

\[ V(p + \dd{p}, s+ \dd{s}) - V(p + \dd{p}, s) > 0 \]

Expanding this to the first order in $\dd{s}$, we have:

\[ \left( \pdv{V}{s} \right)_p \odv{s}{z} \dd{z} > 0 \]

The formula of thermodynamics gives us:

\[ \left( \pdv{V}{s} \right)_p = \frac{T}{c_p} \left( \pdv{V}{T} \right)_p \]

where $c_p$ is the specific heat at constant pressure. Since $c_p > 0$ and $\left( \pdv{V}{T} \right)_p > 0$ for most substances, the condition for stability against convection simplifies to:

\[ \odv{s}{z} > 0 \]

Let’s expand the total derivative by the chain rule. Reminding Maxwell’s relations and that under a small-scale system with uniform gravity we have $\odv{p}{z} = -\rho g$, we get:

\[ \begin{align*} \odv{s}{z} &= \left( \pdv{s}{T} \right)_p \odv{T}{z} + \left( \pdv{s}{p} \right)_T \odv{p}{z} \nl &= \frac{c_p}{T} \odv{T}{z} + \left( \pdv{V}{T} \right)_p \frac{g}{V} \nl &= \frac{c_p}{T} \odv{T}{z} + \beta g \nl &> 0 \end{align*} \]

where $\beta$ is the coefficient of thermal expansion. Thus, the condition for stability against convection can be expressed as:

\[ \odv{T}{z} > -\frac{g \beta T}{c_p} \]

This inequality indicates that the temperature should increase by rising, or if it decreases, it should not decrease too rapidly. In the case of an ideal gas, where $\beta = 1/T$, the condition simplifies to:

\[ \odv{T}{z} > -\frac{g}{c_p} \]