What Are Shallow Water Equations?
Shallow Water Equations (SWE) are a set of partial differential equations that describe the flow below a pressure surface in a fluid, such as water. These equations simplify the Navier-Stokes equations under the assumption that the vertical scale is much smaller than the horizontal scales and that the fluid depth is small compared to the wavelength.
The 2D version of these equations includes both height (h) and velocity components (u, v), allowing for a more comprehensive analysis of fluid dynamics in two dimensions.
Why Do Shallow Water Equations Matter?
Shallow Water Equations are crucial for modeling various natural phenomena such as tsunamis, river flows, and storm surges. They help predict flooding risks and improve our understanding of coastal dynamics.
These equations also find applications in engineering projects like dam design and flood control systems, ensuring safer and more sustainable infrastructure.
How Do Shallow Water Equations Work?
The 2D shallow water equations consist of a continuity equation for the conservation of mass and momentum equations for the horizontal velocity components. These are typically solved using numerical methods, such as finite-difference schemes, to approximate the solution over a grid.
A dimensionally-split Lax-Friedrichs scheme is often used in simulations like this one because it effectively handles the splitting of the system into simpler 1D problems, making the computation more efficient and stable.
Real-World Applications
Shallow Water Equations are applied to study tsunamis by simulating the propagation of waves across oceans. They help in understanding how these waves interact with coastal topography and cause damage.
In river management, SWE models predict flood levels and flow rates, aiding in the design of levees and other flood control structures.
Frequently asked questions
What is the significance of the CFL number in shallow water simulations?
The Courant-Friedrichs-Lewy (CFL) condition ensures numerical stability by limiting the time step based on the spatial grid size and fluid velocity. It prevents oscillations or instabilities that could arise from uncontrolled propagation speeds.
How do shallow water equations handle complex geometries like river beds?
Shallow Water Equations can be adapted to include topography by modifying the bed elevation in the continuity equation. This allows for accurate modeling of fluid flow over varying terrain, such as rivers and coastal areas.
Can shallow water equations model non-uniform flows?
Yes, while the standard form assumes uniform depth, modifications can be made to account for non-uniform depths. This is particularly useful in modeling river flows where the bed topography significantly affects the flow pattern.
What are some limitations of shallow water equations?
Shallow Water Equations assume a small vertical scale and neglect vertical velocity components, which limits their applicability to deep ocean or atmospheric dynamics. They also do not capture turbulence or vortices that occur in more complex flows.
Try it live
Everything above runs in your browser — open Shallow Water Equations: 2D Height & Velocity Field Solver (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.
▶ Open Shallow Water Equations: 2D Height & Velocity Field Solver (2D) simulation