Linearized Unconfined Drainage 1D#
Note
This page and its static assets are auto-generated by python -m tools.doc_gallery. The Sphinx build only reads committed PNG and JSON artifacts.
Steady synthetic groundwater-flow case used to validate HydroModPy’s top drainage boundary condition against a closed-form linearized 1D reference with:
Case Setup#
Homogeneous strip, fixed west/east heads, distributed top drainage everywhere, flat drainage level
Available solver variants: MODFLOW-NWT, MODFLOW 6, MODFLOW 6 irregular triangles.
What It Shows#
validate the drainage boundary-condition path with an analytical benchmark,
keep drainage active everywhere so the reference stays closed-form,
isolate one lightweight 1D equilibrium before tackling more complex seepage-face cases.
drainage boundary-condition path in a controlled analytical setting
Primary metrics: head-profile RMSE, max abs error, cross-row spread.
Solver-specific figures and metrics are shown side by side so the same benchmark can be read across backends.
Analytical Reference#
compared quantity: domain-averaged head profile along x
reference: steady linearized unconfined profile with distributed top drainage
Solver Coverage#
Default solver: MODFLOW-NWT
Available variants: MODFLOW-NWT, MODFLOW 6, MODFLOW 6 irregular triangles

Metrics - Head-profile RMSE: 0.0127 m - Head-profile max abs error: 0.0175 m - Cross-row head spread: 1.91e-07 m
Config file:
validation_cases/analytical/steady/linearized_unconfined_drainage_1d/config_modflownwt.tomlTolerances:
validation_cases/analytical/steady/linearized_unconfined_drainage_1d/tolerances.tomlExpected shape: 5 x 50
python -m validation_cases.analytical.steady.linearized_unconfined_drainage_1d.run_case --no-show --solver modflow_nwt

Metrics - Head-profile RMSE: 0.0127 m - Head-profile max abs error: 0.0175 m - Cross-row head spread: 1.59e-07 m
Config file:
validation_cases/analytical/steady/linearized_unconfined_drainage_1d/config_modflow6.tomlTolerances:
validation_cases/analytical/steady/linearized_unconfined_drainage_1d/tolerances_modflow6.tomlExpected shape: 5 x 50
python -m validation_cases.analytical.steady.linearized_unconfined_drainage_1d.run_case --no-show --solver modflow6

Metrics - Head-profile RMSE: 0.0463 m - Head-profile max abs error: 0.0640 m - Cross-row head spread: 0.00e+00 m
Config file:
validation_cases/analytical/steady/linearized_unconfined_drainage_1d/config_modflow6_irregular_tri.tomlTolerances:
validation_cases/analytical/steady/linearized_unconfined_drainage_1d/tolerances.tomlExpected shape: 5 x 50
python -m validation_cases.analytical.steady.linearized_unconfined_drainage_1d.run_case --no-show --solver modflow6_irregular_tri
Reproduce#
Run the underlying example or validation case with:
python -m validation_cases.analytical.steady.linearized_unconfined_drainage_1d.run_case --no-show
Refresh the committed gallery artifacts with:
python -m tools.doc_gallery
Case Parameters#
Reference Parameters#
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Minimum x coordinate of the analytical reference domain. |
0 |
|
|
Maximum x coordinate of the analytical reference domain. |
100 |
|
|
Reference-domain length along the y axis. |
10 m |
|
|
Fixed west-boundary hydraulic head used by the reference solution. |
6.2 m |
|
|
Fixed east-boundary hydraulic head used by the reference solution. |
5.8 m |
|
|
Drainage elevation used by the analytical drainage reference. |
0 m |
|
|
Drainage conductance used by the analytical drainage boundary. |
1e-07 m2/s |
|
|
Hydraulic conductivity used by the analytical or benchmark reference. |
0.0001 m/s |
|
|
Reference saturated thickness used by the linearized formulation. |
26 m |
|
|
Aquifer thickness used by the reference formulation. |
20 m |
|
|
Axis along which the validation profile is extracted. |
0 |
|
Common Numerical Setup#
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Case-specific configuration field workflow used by the validation benchmark. |
simulation |
|
|
Synthetic-domain length along the x axis. |
100.0 m |
|
|
Synthetic-domain length along the y axis. |
10.0 m |
|
|
Grid cell count along the x axis. |
50 |
|
|
Grid cell count along the y axis. |
5 |
|
|
Synthetic topography shape used by the benchmark. |
flat |
|
|
Base land-surface elevation of the synthetic topography. |
0 m |
|
|
Depth model used to build the aquifer support. |
constant_thickness |
|
|
Aquifer or support thickness used by the benchmark. |
20.0 m |
|
|
Steady or transient flow regime used by the benchmark. |
steady |
|
|
Sink and source families activated in the benchmark. |
[] |
|
|
Boundary-condition families activated in the benchmark. |
[west_side, east_side, drainage] |
|
|
Hydraulic parameter families explicitly configured by the benchmark. |
[K] |
|
|
Parameterization mode used for K. |
homogeneous |
|
|
Homogeneous K value used by the benchmark. |
1e-4 m/s |
|
|
Initial-condition policy used to start the benchmark. |
custom |
|
|
Scalar initial head or top offset used by the initial-condition policy. |
6.0 m |
|
|
Fixed head applied on the west side boundary. |
6.2 m |
|
|
Fixed head applied on the east side boundary. |
5.8 m |
|
|
Part of the domain where the drainage Cauchy boundary is applied. |
top |
|
|
Cauchy coefficient or conductance applied on the drainage boundary. |
1e-7 m2/s |
|
Solver-Specific Overrides#
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Planar support construction mode used by MODFLOW-NWT. |
resample_to_shape |
|
|
Planar support cell count along x used by MODFLOW-NWT. |
50 |
|
|
Planar support cell count along y used by MODFLOW-NWT. |
5 |
|
|
Planar support resampling mode used by MODFLOW-NWT. |
nearest |
|
|
Number of vertical layers used by MODFLOW-NWT. |
1 |
|
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Solver-specific override applied to MODFLOW 6. |
false |
|
|
Linear-solver complexity preset used by MODFLOW 6. |
COMPLEX |
|
|
Planar support construction mode used by MODFLOW 6. |
resample_to_shape |
|
|
Planar support cell count along x used by MODFLOW 6. |
50 |
|
|
Planar support cell count along y used by MODFLOW 6. |
5 |
|
|
Planar support resampling mode used by MODFLOW 6. |
nearest |
|
|
Number of vertical layers used by MODFLOW 6. |
1 |
|
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Solver-specific override applied to MODFLOW 6. |
false |
|
|
Linear-solver complexity preset used by MODFLOW 6. |
COMPLEX |
|
|
Vertical anisotropy ratio passed to MODFLOW 6. |
1 |
|
|
Number of vertical layers used by MODFLOW 6. |
1 |
|
|
Committed unstructured mesh file used by the irregular-mesh solver variant. |
../../../shared/mesh_bundles/linearized_unconfined_drainage_irregular_tri_100x10/mesh_2d.msh |
|
|
Committed mesh-bundle directory used to recover support metadata for the irregular-mesh solver variant. |
../../../shared/mesh_bundles/linearized_unconfined_drainage_irregular_tri_100x10 |
|
Acceptance Criteria#
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Simulated observable compared against the reference solution. |
watertable_elevation |
|
|
Expected spatial output shape checked by the validation helper. |
[5, 50] |
|
Acceptance Criteria by Solver#
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Expected output shape or time-space layout checked for this solver. |
Expected shape: 5 x 50 |
|
|
Maximum accepted root-mean-square error for head profile. |
0.05 |
|
|
Maximum accepted absolute error for head profile. |
0.1 |
|
|
Maximum accepted cross-row spread for head profile. |
2e-05 |
|
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Expected output shape or time-space layout checked for this solver. |
Expected shape: 5 x 50 |
|
|
Maximum accepted root-mean-square error for head profile. |
0.015 |
|
|
Maximum accepted absolute error for head profile. |
0.02 |
|
|
Maximum accepted cross-row spread for head profile. |
5e-06 |
|
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Expected output shape or time-space layout checked for this solver. |
Expected shape: 5 x 50 |
|
|
Maximum accepted root-mean-square error for head profile. |
0.05 |
|
|
Maximum accepted absolute error for head profile. |
0.1 |
|
|
Maximum accepted cross-row spread for head profile. |
2e-05 |
|
Source Pointers#
validation_cases/README.mdvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/README.mdvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/reference.pyvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/comparison.pyvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/plotting.pyvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/run_case.pyvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/metadata.tomlvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/config_modflownwt.tomlvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/tolerances.tomlvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/tolerances_modflow6.tomlvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/config_modflow6.tomlvalidation_cases/analytical/steady/linearized_unconfined_drainage_1d/config_modflow6_irregular_tri.tomlvalidation_cases/analytical/transient/linearized_unconfined_1d.py
Artifacts#
docs/source/_static/capability_gallery/validation/linearized_unconfined_drainage_1d__modflownwt.pngdocs/source/_static/capability_gallery/validation/linearized_unconfined_drainage_1d__modflow6.pngdocs/source/_static/capability_gallery/validation/linearized_unconfined_drainage_1d__modflow6_irregular_tri.pngdocs/source/_static/capability_gallery/validation/linearized_unconfined_drainage_1d_summary.jsonstores the displayed metrics plus source hashes used bypython -m tools.doc_gallery --check.