Pressure

Question: what is the difference between “incompressible” and “constant density?”

We can have a variable density flow that is considered incompressible.

Low Ma flows have pressure fluctuations due to the flow that do not significantly affect the flow.

Flow solvers: stable stepsize

Unfortunately, stable explicit numerical solvers have step sizes set by the smallest timescales, even if the corresponding physical process doesn’t significantly affect the flow.

Pressure gradient scaling

Pressure Projections

Constant density, unsteady

We have the continuity and momentum equations, which are two equations in pressure and velocity:

$$\nabla\cdot v = 0,$$

$$\frac{\partial v}{\partial t} = -\frac{\partial v v}{\partial x} - \nabla\cdot\tau - \frac{1}{\rho}\nabla P.$$

Apply a simple Explicit Euler timestep to momentum:

$$v^{n+1} = \underbrace{v^n + \Delta t\left(-\frac{\partial v v}{\partial x} - \nabla\cdot \tau \right)}_{H^n} - \frac{\Delta t}{\rho}\nabla P.$$

Take the divergence of this (which is zero), and rearrange to get the pressure equation:

$$\nabla^2P = \frac{\rho}{\Delta t}\nabla\cdot H^n.$$

To advance a given step, we solve this equation for P. And then use this in the momentum equation for $v$, which will satisfy continuity by construction.

$$v^{n+1} = H^n - \frac{\Delta t}{\rho}\nabla P.$$

Variable density, unsteady

Steady treatments