Depth and momentum balances
Hydrostatic depth-averaged flow along a constant-width channel; the bed enters the momentum source.
M100 · Fluid mechanics
Release a gate, launch a pulse, hold a still lake over a ridge or inspect a hydraulic jump. Scrub the finite volume solution, compare an exact dam reference and refine the mesh while closing the boundary-flux volume ledger.
Physics tutorial
BackgroundA water experiment is meaningful when geometry, forces or conserved quantities and acquired data agree.
Why it mattersConnect a physical apparatus to a quantitative task, then test its domain and limitations.
Start with the essentials
Hydrostatic depth-averaged flow along a constant-width channel; the bed enters the momentum source.
A flood shock is not generally a small long wave. The dry-bed front has a different speed.
Subcritical flow permits signals both ways; supercritical flow carries both families downstream. Dry cells have no Froude value.
Boundary export can change stored volume without violating conservation. Raw cell scans provide a separate integral.
The first-order scheme diffuses shocks. Mean depth error is available only for a flat dam before boundary interactions.
The preset balances mass and momentum flux across an entropy-admissible depth increase; the numerics spread its interface.
Typical misconceptionA displayed reference is an observed measurement.
Better mental modelRecord sensor channels explicitly. Changing the configuration clears observations; no statistical certification follows from deterministic perturbations.
Compare wet-bed and dry-bed dam presets; move the time slider.
What to observe: Rarefaction, shock or dry front arise from the same balances.Double the cell count with the same initial state and time.
What to observe: The reference overlay stays fixed while numerical diffusion decreases.Select Lake over a ridge, then alter the ridge height.
What to observe: A well-balanced hydrostatic reconstruction avoids spurious currents in this equilibrium.Compare reflecting and transmissive ends; acquire every cell.
What to observe: Stored volume plus net export closes; raw heights integrate into a separately perturbed volume estimate.