Governing equations
FLUME solves the shallow-water equations for the depth \(h\) and the discharges \(hu\) and \(hv\) over a fixed bed of elevation \(z_b\):
Symbol |
Unit |
Meaning |
|---|---|---|
\(h\) |
m |
Water depth; zero in a dry cell. |
\(hu\), \(hv\) |
m2/s |
Discharge per unit width in x and y. |
\(u\), \(v\) |
m/s |
Depth-averaged velocity. |
\(z_b\) |
m |
Bed elevation. |
\(g\) |
m/s2 |
Acceleration of gravity ( |
\(R\) |
m/s |
Rain rate (Rain). |
\(\mathbf{S}_f\) |
m2/s2 |
Manning friction (Manning friction). |
State
The three conserved quantities and the bed are held at the cell centres of
one level of cells in the horizontal plane, as AMReX MultiFab objects on
one BoxArray. The boxes are one cell thick.
Vertical datum
The bed elevation and the water-surface elevation \(\eta\) are heights above one vertical datum. The inputs give the bed and the initial surface as elevations; the depth is never an input. Afterwards
and \(\eta = z_b\) in a dry cell. The scheme uses only differences of elevations, so a large datum offset costs no digits in double precision (Single precision and large coordinates).