Precise mathematical model of Fluid flow in nature. Used to simulate both Newtonian and non-Newtonian fluids.

The momentum equation can be thought of as Newton’s second law but for fluids. It consider fluids as discrete “blobs” or particles that have mass and volume. Ideally, we take the limit as the number of particles goes to infinity, and the mass/volume of each particle goes to zero. It is given by

where

  • is the fluid velocity
    • It’s consistently treated as a vector here but nothing stops it from being a scalar. Usually represented as a vector field dependent on time
  • is the Gradient of
  • (nu, not the letter “v”) is coefficient of kinematic viscosity.
    • It measures how “thick” the fluid is, how resistant it is to motion, related to the Laplacian.
  • is pressure, the “normal” contact force.
    • If pressure is equal in every direction, the net force is zero. We consider the pressure gradient force given by , which is in the equation.
  • is fluid density
  • represents one time step
  • are the forces acting on the fluid.
    • Forces from pressure and viscosity are already present in the equation, and is often simply just gravity: .

Incompressibility condition

When we can assume the fluid is incompressible, it is said to meet the incompressibility condition: . It implies , simplifying the momentum equation a little:

Inviscid Navier–Stokes (Euler Equations)

Building on incompressibility, when we don’t consider viscosity, the equations are further simplified. Often in Graphics these are used instead of the full version.

They are also called the Euler Equations.