The shallow-water equations (SWE) are a set of hyperbolic partial differential equations (or parabolic if viscous shear is considered) that describe the flow below a pressure surface in a fluid (sometimes, but not necessarily, a free surface). The shallow-water equations in unidirectional form are also called (de) Saint-Venant equations, after Adhémar Jean Claude Barré de Saint-Venant (see the related section below). The equations are derived from depth-integrating the Navier–Stokes equations, in the case where the horizontal length scale is much greater than the vertical length scale. Under this condition, conservation of mass implies that the vertical velocity scale of the fluid is small compared to the horizontal velocity scale. It can be shown from the momentum equation that vertical pressure gradients are nearly hydrostatic, and that horizontal pressure gradients are due to the displacement of the pressure surface, implying that the horizontal velocity field is constant throughout the depth of the fluid. Vertically integrating allows the vertical velocity to be removed from the equations. The shallow-water equations are thus derived. While a vertical velocity term is not present in the shallow-water equations, note that this velocity is not necessarily zero. This is an important distinction because, for example, the vertical velocity cannot be zero when the floor changes depth, and thus if it were zero only flat floors would be usable with the shallow-water equations. Once a solution (i.e. the horizontal velocities and free surface displacement) has been found, the vertical velocity can be recovered via the continuity equation. Situations in fluid dynamics where the horizontal length scale is much greater than the vertical length scale are common, so the shallow-water equations are widely applicable. They are used with Coriolis forces in atmospheric and oceanic modeling, as a simplification of the primitive equations of atmospheric flow. Shallow-water equation models have only one vertical level, so they cannot directly encompass any factor that varies with height. However, in cases where the mean state is sufficiently simple, the vertical variations can be separated from the horizontal and several sets of shallow-water equations can describe the state.
Equations
Conservative form The shallow-water equations are derived from equations of conservation of mass and conservation of linear momentum (the Navier–Stokes equations), which hold even when the assumptions of shallow-water break down, such as across a hydraulic jump. In the case of a horizontal bed, with negligible Coriolis forces, frictional and viscous forces, the shallow-water equations are: ∂(ρη)∂t+∂(ρηu)∂x+∂(ρηv)∂y=0,∂(ρηu)∂t+∂∂x(ρηu2+12ρgη2)+∂(ρηuv)∂y=0,∂(ρηv)∂t+∂∂y(ρηv2+12ρgη2)+∂(ρηuv)∂x=0. Here η is the total fluid column height (instantaneous fluid depth as a function of x, y and t), and the 2D vector (u,v) is the fluid's horizontal flow velocity, averaged across the vertical column. Further g is acceleration due to gravity and ρ is the fluid density. The first equation is derived from mass conservation, the second two from momentum conservation.
Non-conservative form Expanding the derivatives in the above using the product rule, the non-conservative form of the shallow-water equations is obtained. Since velocities are not subject to a fundamental conservation equation, the non-conservative forms do not hold across a shock or hydraulic jump. Also included are the appropriate terms for Coriolis, frictional and viscous forces, to obtain (for constant fluid density): ∂h∂t+∂∂x((H+h)u)+∂∂y((H+h)v)=0,∂u∂t+u∂u∂x+v∂u∂y−fv=−g∂h∂x−ku+ν(∂2u∂x2+∂2u∂y2),∂v∂t+u∂v∂x+v∂v∂y+fu=−g∂h∂y−kv+ν(∂2v∂x2+∂2v∂y2), where
It is often the case that the terms quadratic in u and v, which represent the effect of bulk advection, are small compared to the other terms. This is called geostrophic balance, and is equivalent to saying that the Rossby number is small. Assuming also that the wave height is very small compared to the mean height (h ≪ H), we have (without lateral viscous forces): ∂h∂t+H(∂u∂x+∂v∂y)=0,∂u∂t−fv=−g∂h∂x−ku,∂v∂t+fu=−g∂h∂y−kv.
Reduced-gravity approximation
The shallow-water equations are also used to describe a layer of fluid above a much deeper, denser layer that is assumed to remain at rest. This approximation is used for upper-ocean flow over a nearly stationary deep ocean (for example, an equatorial Kelvin wave). The density difference between the layers determines the restoring force on their interface. With the reduced gravity g′=gρ2−ρ1ρ1, where ρ1 and ρ2>ρ1 are the upper- and lower-layer densities, the equations have the same form as the single-layer shallow-water equations over a flat bottom, with g replaced by g′. With a rigid lid at the surface (a common simplification: the free-surface displacement is smaller than the interface displacement by the factor g′/g, so the lid changes little), the inviscid equations for the active upper layer are ∂𝐮∂t+(𝐮⋅∇)𝐮+f𝐳̂×𝐮=−g′∇η,∂η∂t+∇⋅(η𝐮)=0, where η is the upper-layer thickness, 𝐮 its horizontal velocity, f the Coriolis parameter, and 𝐳̂ the upward unit vector.
One-dimensional Saint-Venant equations The one-dimensional (1-D) Saint-Venant equations were derived by Adhémar Jean Claude Barré de Saint-Venant, and are commonly used to model transient open-channel flow and surface runoff. They can be viewed as a contraction of the two-dimensional (2-D) shallow-water equations, which are also known as the two-dimensional Saint-Venant equations. The 1-D Saint-Venant equations contain to a certain extent the main characteristics of the channel cross-sectional shape. The 1-D equations are used extensively in computer models such as TUFLOW, Mascaret (EDF), SIC (Irstea), HEC-RAS, SWMM5, InfoWorks, Flood Modeller, SOBEK 1DFlow, MIKE 11, and MIKE SHE because they are significantly easier to solve than the full shallow-water equations. Common applications of the 1-D Saint-Venant equations include flood routing along rivers (including evaluation of measures to reduce the risks of flooding), dam break analysis, storm pulses in an open channel, as well as storm runoff in overland flow.
Equations
The system of partial differential equations which describe the 1-D incompressible flow in an open channel of arbitrary cross section – as derived and posed by Saint-Venant in his 1871 paper (equations 19 & 20) – is:
and
… excerpt ends here. Continue reading the full article.





