# Geophysical fluid dynamics

Geophysical fluid dynamics, in its broadest meaning, is the application of fluid dynamics to naturally occurring flows, such as lava, oceans, and atmospheres, on Earth and other planets.
Two physical features that are common to many of the phenomena studied in geophysical fluid dynamics are rotation of the fluid due to the planetary rotation and stratification (layering).
The applications of geophysical fluid dynamics do not generally include the circulation of the mantle, which is the subject of geodynamics, or fluid phenomena in the magnetosphere. Ocean circulation and air circulation are typically studied in oceanography and meteorology.

## Fundamentals

To describe the flow of geophysical fluids, equations are needed for conservation of momentum (or Newton's second law) and conservation of energy. The former leads to the Navier–Stokes equations which cannot be solved analytically (yet). Therefore, further approximations are generally made in order to be able to solve these equations. First, the fluid is assumed to be incompressible. Remarkably, this works well even for a highly compressible fluid like air as long as sound and shock waves can be ignored.$^{:2–3}$ Second, the fluid is assumed to be a Newtonian fluid, meaning that there is a linear relation between the shear stress τ and the strain u, for example
    $\tau =\mu {\frac {du}{dx}},$
where μ is the viscosity.$^{:2–3}$ Under these assumptions the Navier-Stokes equations are
    $\overbrace {\rho {\Big\underbrace {\frac {\partial \mathbf {v} }{\partial t}} _{\begin{smallmatrix}{\text{Eulerian}}\\{\text{acceleration}}\end{smallmatrix}}+\underbrace {\mathbf {v} \cdot \nabla \mathbf {v} } _{\begin{smallmatrix}{\text{Advection}}\end{smallmatrix}}{\Big )}} ^{\text{Inertia (per volume)}}=\overbrace {\underbrace {-\nabla p} _{\begin{smallmatrix}{\text{Pressure}}\\{\text{gradient}}\end{smallmatrix}}+\underbrace {\mu \nabla ^{2}\mathbf {v} } _{\text{Viscosity}}} ^{\text{Divergence of stress}}+\underbrace {\mathbf {f} } _{\begin{smallmatrix}{\text{Other}}\\{\text{body}}\\{\text{forces}}\end{smallmatrix}}.$
The left hand side represents the acceleration that a small parcel of fluid would experience in a reference frame that moved with the parcel (a Lagrangian frame of reference). In a stationary (Eulerian) frame of reference, this acceleration is divided into the local rate of change of velocity and advection, a measure of the rate of flow in or out of a small region.$^{:44–45}$
The equation for energy conservation is essentially an equation for heat flow. If heat is transported by conduction, the heat flow is governed by a diffusion equation. If there are also buoyancy effects, for example hot air rising, then natural convection, also known as free convection, can occur.$^{:171}$ Convection in the Earth's outer core drives the geodynamo that is the source of the Earth's magnetic field.$^{:Chapter8}$ In the ocean, convection can be thermal (driven by heat), haline (where the buoyancy is due to differences in salinity), or thermohaline, a combination of the two.

## Buoyancy and stratification

Fluid that is less dense than its surroundings tends to rise until it has the same density as its surroundings. If there is not much energy input to the system, it will tend to become stratified. On a large scale, Earth's atmosphere is divided into a series of layers. Going upwards from the ground, these are the troposphere, stratosphere, mesosphere, thermosphere, and exosphere.
The density of air is mainly determined by temperature and water vapor content, the density of sea water by temperature and salinity, and the density of lake water by temperature. Where stratification occurs, there may be thin layers in which temperature or some other property changes more rapidly with height or depth than the surrounding fluid. Depending on the main sources of buoyancy, this layer may be called a pycnocline (density), thermocline (temperature), halocline (salinity), or chemocline (chemistry, including oxygenation).
The same buoyancy that gives rise to stratification also drives gravity waves. If the gravity waves occur within the fluid, they are called internal waves.$^{:208–214}$
In modeling buoyancy-driven flows, the Navier-Stokes equations are modified using the Boussinesq approximation. This ignores variations in density except where they are multiplied by the gravitational acceleration g.$^{:188}$
If the pressure depends only on density and vice versa, the fluid dynamics are called barotropic. In the atmosphere, this corresponds to a lack of fronts, as in the tropics. If there are fronts, the flow is baroclinic, and instabilities such as cyclones can occur.

## Rotation

* Coriolis effect
* Circulation
* Kelvin's circulation theorem
* Vorticity equation
* Thermal wind
* Geostrophic current
* Geostrophic wind
* Taylor–Proudman theorem
* Hydrostatic equilibrium
* Ekman spiral
* Ekman layer

## General circulation

* Atmospheric circulation
* Ocean current
* Ocean dynamics
* Thermohaline circulation
* Boundary current
* Sverdrup balance
* Subsurface currents

## Waves
### Barotropic

* Kelvin wave
* Rossby wave
* Sverdrup wave (Poincaré wave)

### Baroclinic

* Gravity wave