Chapter 2. Fluid Dynamics
Last updated
Last updated
The fluid approximation is valid when the system size $L$ is much larger than the mean free path $l_\text{mfp}$.
For ISM (interstellar medium), the typical mean free path is
Inside each fluid particle, we can define thermal dynamical quantities, $T,\rho,P,S$, as well as a velocity field $\vec v(\vec x,t)$.
For any quantity of the fluid element at $(\vec r_0,t_0)$, say $F(\vec r_0,t_0)$, we have
In fact, we can write the derivative of $F$
in two different ways
Lagrange's derivative
which follows the fluid element everywhere.
Eulerian derivative
which is more important for numerical calculations, as it considers only fixed fluid cells.
In Eulerian picture
For a small, fixed volume $\delta V_0$, in a time span of $\Delta t$, the change in mass inside is
Consider the mass flow at the surface
where we have applied Gauss' divergence theorem. Here $\vec n$ is the normal vector of the surface.
If there are no source/sink of mass within the fluid element, the mass flow should exactly account for the change in mass
Since we have fixed $\Delta V$, we can write this formula so that for any $\Delta V_0$
The arbitrariness of the choice of $\Delta V$ directly leads to the famous equation of continuity
In Lagrange's picture
Let us consider a volume element $\delta V$ that moves with fluid particles.
If no mass creation / annihilation
Recall that
Then
Two pictures give exactly the same equation!
Now we further explore the relation between two pictures. In the Lagrange's picture,
while in the Eulerian picture
$\delta V$ and $\delta V_0$ are related as follows,
The ratio $J$ is called the expansion of the fluid. Euler's expansion formula claims that
Then if we reconsider the conservation of mass in Lagrange's picture,
which also gives the continuity formula
Before moving to the next section, we can similarly derive several useful identities of the Lagrange's derivative.
For a function $F$,
This is known as the Reynolds transport theorem. Simply let $F=\alpha\rho$, we have
This identity is extremely useful in the following chapters.
In the Lagrange's picture, the acceleration onto a mass element is given by
With the Reynolds transport theorem, the EoS thus gives
First term - body force (e.g gravity)
Second term - surface force (e.g. pressure)
Consider the $i$-th component of the RHS
where $\mathcal T$ is the stress tensor, which satisfies
An important surface force is pressure.
The force caused by pressure is
Pressure and Stress Tensor
If the $i$-th component
Thus $p$ is strongly correlated with the diagonal components in $\mathcal T$.
Since the choice of $V$ is arbitrary, the EoM is expressed as
which is the famous Euler equation for ideal fluid.
Using the equation of continuity and the Euler equation, we can calculate the time derivative of mass flux
So in the Eulerian picture, the momentum conservation is
Integrate the above equation over a fixed volume $V$
First term - thermal pressure
Second term - ram pressure
Two independent quantities are necessary to characterize thermal states.
Ideal gas
Adiabatic gas
The adiabatic index $\gamma=5/3$ for mono-atomic gas.
Ideal + adiabatic is an example of polytropic EoS
If $p=f(\rho)$, the EoS is known as barotropic.
For inviscid fluid
that is, entropy doesn't change along each fluid stream line.
Furthermore, if $s=const$ everywhere at $r=r_0$, and $s=const$ is preserved, the. motion is known as isentropic motion.
In general, we would like to derive the energy conservation with Euler equation with certain assumptions
Barotropic EoS: $\rho=f(p)$, thus the specific enthalpy is simply
Potential force: $\vec f=-\rho\nabla \phi$
Then we can rewrite Euler equation
where the vorticity is defined as
and we have applied the identity
For steady flow
thus
which means $\frac12v^2+h+\phi$ is conserved along each streamline.
No vorticity
thus
and $\nabla F(t)=0$.
Steady & no vorticity
Then $\frac12v^2+h+\phi$ remains a constant everywhere.
For fluid dynamics, the energy change in a unit time is given by
where $e$ is the specific internal energy.
If $T^{ij}$ is simply given by $-p\delta^{ij}$, the second term
Again with Reynolds transport theorem,
which is known as the energy equation.
We can integrate and expand the second term so that
These two terms correspond to the energy flux and the work, respectively.
Here,
is the specific enthalpy.
If $\vec f$ is given by a static potential as
we can further write the energy equation as
We derive the equation of the kinetic energy from Euler equation,
Since
We have
Recall that the first law of thermaldynamics gives
thus
which suggests adiabatic motion of the fluid. In this way, as long as we assume
we obtain ideal fluid.
In general, the stress tensor is not diagonal,
where $\sigma$ is the viscous tensor.
The $i$-th component of the surface force is thus
and the force vector is
We claim that $\mathcal T$ is symmetric, that is, $T^{ij}=T^{ji}$. Consider a box with $\delta V=\delta x\delta y\delta z$. In the $z$-direction, the net torque caused leads to the change in angular momentum with respect to the center of $\delta S_{x,y}$
for $\delta x\to0,\delta y\to0$, we have $T{x,y}=T{y,x}$, otherwise the $\dot \omega$ goes to infinite.
Now that we know $\mathcal T$ is symmetric, it has 6 independent components.
In a flow with $v_x$ that has a gradient of $\text dv_x/\text dy$, the stress to the $x$-axis is well approximated as
where $\eta$ is the (dynamic) viscosity determined by microscopic processes of particles. Fluid that satisfies such approximation is known as Nowton fluid.
In astrophysics, a more frequently applied viscosity is the kinematic viscosity $\nu$, defined as
$\nu$ in a microscopic perspective
Consider a flow with coherent bulk velocity $v_x(y)$ along the $x$-axis, we try to count how much momentum is exchanged at the surface of $y=y_0$ per unit area per unit time, that is, the shear stress.
For simplicity, all we need to consider is a thin layer within $[y-l\text{mfp},y+l\text{mfp}]$, since we assume mometum is fully exchanged in the first collision. In this way, statistically, particles outside this layer cannot transport momentum to the surface $y=y_0$.
The number flux of particles hitting $y=y_0$ from one side can be estimated as
where $n$ is the number density of particles and $\bar c$ is the average velocity dispersion ($\sim c_s$). We introduce a factor of $1/3$ because particles move in all three dimensions and $1/2$ further distinguish motion upwards and downwards. As a result, the shear stress is given by
Thus
Unfortunately, momentum transition through collisions of particles is not the main cause of viscosity in astrophysics, and this formula is useless... In fact we can estimate the viscous timescale, in which viscosity drives materials to fall into the accretor.
$\sigma{ij}$ is symmetric since $T{ij}$ is symmetric, but the original definition.
is not. In this way, we expand it into symmetric and anti-symmetric parts, as we can do to any second-order tensor
The second (anti-symmetric) term corresponds to the rotation. It has no viscosity, so we will consider a linear relation between $\sigma{ij}$ and $E{ij}$, which is defined as
Fluid doesn't have a preferred direction.
Intuitionally, we write down the (multi-)linear relation as
We don't have any information of $\alpha$, but since fluid is isotropic, we would like to believe the tensor itself is isotropic, which means it has the same components in all rotated coordinate systems. There are only three basic 4-order isotropic tensors, all of which are the combination of the famous Kronecker delta $\delta_{ij}$.
So we assume $\alpha_{ijkl}$ is simply their linear combination
Decompose $\sigma_{ij}$ into trace part and traceless part
Thus
Redefine $\eta$ and $\zeta$ as
Finally, with only two free parameters, we may obtain
First term - traceless, pure shear viscosity
Second term - bulk viscosity
When Stokes first derived this formula, he believed the bulk viscosity vanished. In fact this term is usually close to 0.
Right now,
and we can rewrite the momentum tensor by adding the viscous tensor
From this correction, the conservation of momentum (Euler equation) gives
Since
Finally we derive the Navier-Stokes equation
In the end, let us consider the energy conservation in the viscous situation
By multiplying N-S equation with $\rho\vec v$, we have
Now we expand the RHS
where
as the second term obviously vanishes. Finally,
Define
we have
Thus,
The second law of thermaldynamics tells us
In fact, we can prove
The Reynolds number is defined as
where $U$ is the flow speed, $L$ is a characteristic linear dimension, and $\nu$ is the kinematic viscosity. It is naturally connected with the Navier-Stokes equation when we try to derive a dimensionless form of the equation.
By assuming incompressible fluid ($\nabla\cdot \vec v=0$) and neglecting the external force, the Navier-Stokes equation goes like
Define several dimensionless quantities,
We have
The Reynolds number is simply there.
If $\text{Re}\to\infty$, the equation goes back to the Euler equation (ideal fluid).
Small $\text{Re}$ corresponds to laminar flow, a fluid flowing in parallel layers with no disruption between the layers, while large $\text{Re}$ introduces annoying turbulence, a fluid motion characterized by chaotic changes in pressure and flow velocity. In astrophysics, $\text{Re}$ is usually large.
Notes
Dimensionless Navier-Stokes equation does not depend on $\rho_0$ - scale-free. Once a hydrodynamical simulation is done with certain density, it is done with any other density. This beautiful scale-free law breaks when
$P-\rho$ relation is not a simple power-law, and has certain breaks.
the simulation has to take opacity/cooling/heating into account, none of which is scale-free.
If we introduce gravity as the external force
the corresponding term in the dimensionless Naiver-Stokes equation is
It seems to have dependence on $M$, however, if we set
where $r_\text g$ is the Schiwarzchild radius. This term is simply
Around a black hole, Navier-Stokes equation is again scale-free, this time for the mass of the accretor.
For the supermassive black hole (SMBH), this assumption gives a $t\text{vis}$ if 10 Gyr, which is orders of magtitude longer than the typical AGN timescale ($\sim$ Myr). At present, it is widely agreed that the causes the viscosity in accretion disks. In this case, the $l\text{mfp}$ is given by the thickness of the disk $H\sim0.01 r$, and the viscous timescale is quite satistying.