Fixed heads: the sea, the rivers and the sides#
A fixed head takes the head of a cell out of the solution. The flux across the cell becomes a result. HydroModPy uses it for the sea, for a river given as a head, and for the sides of the model.
Notation of this page
Symbol |
Meaning |
Unit |
Set by |
|---|---|---|---|
\(h\) |
hydraulic head, measured from a fixed datum |
m |
solved, not set |
\(n, m\) |
cell indices; \(\mathcal{N}(n)\) is the set of cells that share a face with \(n\) |
the grid, The mesh |
|
\(h^\mathrm{bc}\) |
head a fixed-head cell holds in a period |
m |
|
\(h_\mathrm{sea}\) |
sea level of a period |
m |
|
\(\mathcal{C}_\mathrm{sea}\) |
the sea cells: the domain cells whose DEM is not above the highest sea level |
derived |
The law#
A fixed head takes the cell out of the solution in every layer and every period: \(h_n = h^\mathrm{bc}\), the value that the boundary, or its forcing, gives for the period. This is the CHD package of MODFLOW 6 (input guide, [Langevin et al., 2017]) and of MODFLOW-2005 [Harbaugh, 2005].
The flux across the cell is stored in the budget as constant_head, and the
share of it that crosses a river cell as constant_head_stream
(Where the water table reaches the surface reads that share). HydroModPy builds neither the GHB nor
the RIV package, so a fixed head is never a conductance-limited exchange. A river
that must exchange through a streambed is a stream network
(Streams and the water mover).
The sea#
The sea cells are the cells of the model domain whose DEM is not above the highest sea level of the run:
A cell below that level far inland is in the set: the code does not test the connection to the sea. The drains stay on the other cells. The level is set in [flow.bc].
MODFLOW-NWT selects its cells by the same DEM, with one difference: its
constant-head rows take \(z^\mathrm{dem}_n < h_\mathrm{sea}\), and its ibound
takes \(z^\mathrm{dem}_n \leq h_\mathrm{sea}\).
In the code: ocean_chd_support_mask.
The rivers and the sides#
The river cells are the river cells of the mesh support, or the cells with the
support_label given to the boundary. A side
boundary is the cells along one side of the model. A cell that falls in two sets
keeps the last head written, in the order sea, river, side.
One CHD package carries the three. The build therefore writes which cells are sea and which are river in a file beside the solver files, and the extraction reads it to tell a river head from a sea head. That is how the river share of the constant-head flux reaches the stored budget.
In the code: assemble_constant_head_stress_period_data.
Limits#
The sea is not a density model. There is no interface between fresh and salt water, and no tide inside a period. The sea is a fixed head with the level of its period.
The sea cells are selected by their DEM, with the one difference between the two MODFLOW solvers given above.
A river head is a fixed head. A river that exchanges through a bed is a stream network. Stream heads need MODFLOW 6 or Boussinesq: MODFLOW-NWT has the sea and the sides.
Parameters of this page#
Checked by#
The tests that import the code of this page. The box is generated: a new test appears here on the next build.
12 test files import hydromodpy.solver.modflow6.builders.boundary_conditions, hydromodpy.solver.modflow_common.boundary_roles. Their names say what they check.
integration: 1
- A pinched layer solves in modflow6. solver
unit: 11
- Drain conductance. solver/base
- Boundary roles. solver/modflow6
- Layer stack round trip. solver/modflow6
- Modflow6 boundary chd. solver/modflow6
- Modflow6 evt. solver/modflow6
- Modflow6 voronoi dual support. solver/modflow6
- Period forcing. solver/modflow6
- Release flux. solver/modflow6
- Observable extraction. solver/modflow_common
- Sink mask. solver/modflow_common
- Boussinesq drain bed thickness. solver
In the code#
What |
Where |
|---|---|
Sea, river and side heads under MODFLOW 6 |
|
The roles of the CHD cells |
|
Fixed heads under MODFLOW-NWT |
|