Skip to content

Commit

Permalink
modified oneD_distributed tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
schwemro committed Jul 13, 2023
1 parent 8a8b011 commit 725b79d
Show file tree
Hide file tree
Showing 4 changed files with 303 additions and 292 deletions.
6 changes: 6 additions & 0 deletions examples/hillslope_scale/oneD_distributed_tutorial/oneD.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ def set_parameters_setup(self, state):
at[2:-2, 2:-2],
self._read_var_from_csv("z_soil", self._base_path, "parameters.csv").reshape(settings.nx, settings.ny),
)
# surface slope (-)
vs.slope = update(
vs.slope,
at[2:-2, 2:-2],
self._read_var_from_csv("slope", self._base_path, "parameters.csv").reshape(settings.nx, settings.ny),
)
# density of vertical macropores (1/m2)
vs.dmpv = update(
vs.dmpv,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
z_soil:
- 1000 # lower boundary
- 1200 # upper boundary
# surface slope (-)
slope:
- 0 # lower boundary
- 0.1 # upper boundary
# density of vertical macropores (1/m2)
dmpv:
- 50
Expand Down
Loading

0 comments on commit 725b79d

Please sign in to comment.