applications/channel1d.py¶
ChannelWall
¶
ChannelWall(eqns: Equations, physical_parameters: dict)
Numerical solution of combined models of weathering-mediated erosion & bedrock channel.
Class that provides numerical solution of a combination model 1d weathering-mediated erosion and 1+1d bedrock channel cross-section (at the channel wall).
Parameters:
-
(eqns¶Equations) –instance of 1d weathering-mediated erosion theory class
-
(physical_parameters¶dict) –physical parameters dictionary
Attributes:
-
physical_parameters(dict) –physical parameters dictionary
-
w0_eqn_z_calibrated(Eq) –surface weakness calibrated using model parameters: \(w_0 = w_r H_s[z,z_\mathrm{wc},k_\mathrm{w}]\) where \(H_s = \dfrac{1}{2}\left(1 + \tanh{[\kappa_w(z-z_\mathrm{wc}]}\right)\)
-
v0_eqn_z_calibrated(Eq) –erosion rate calibrated using model parameters: \(v_0 = v_r \left\{ (h-H_s[z,z_\mathrm{vc},k_\mathrm{v}])(1-v_b)+v_b \right\}\) where \(H_s = \dfrac{1}{2}\left(1 + \tanh{[\kappa_v(z-z_\mathrm{vc}]}\right)\)
-
vs_eqn(Eq) –surface-normal erosion rate (uncalibrated) \(v_0 = v_r \left\{ (h-H_s[z,z_\mathrm{vc},k_\mathrm{v}])(1-v_b)+v_b \right\}\) where \(H_s = \dfrac{1}{2}\left(1 + \tanh{[\kappa_v(z-z_\mathrm{vc}]}\right)\)
-
W_eqn_z_calibrated(Eq) –weathering number calibrated using model parameters: \(W = \dfrac{w_0}{k v_0}\)
-
vs_eqn_z_calibrated(Eq) –surface-normal erosion rate calibrated using model parameters: \(v_0 = v_r \left\{ (h-H_s[z,z_\mathrm{vc},k_\mathrm{v}])(1-v_b)+v_b \right\}\) where \(H_s = \dfrac{1}{2}\left(1 + \tanh{[\kappa_v(z-z_\mathrm{vc}]}\right)\)
-
Python package
viz
VizApplicationschannel_ref_weathering_rate_ref_erosion_rate_W
Methods:
-
compute_cross_section–Compute dependence of various properties with height above channel base.
-
compute_vertical_profiles–Compute dependence of various properties with height above channel base.
Source code in wmbe/applications/channel1d.py
compute_cross_section
¶
Compute dependence of various properties with height above channel base.
Attributes:
-
vs_array(NDArray) –weathering-mediated surface-normal erosion rate along vertical profile (at steady state)
-
dzdy_array(NDArray) –weathering-mediated vertical erosion rate along vertical profile (at steady state)
-
y_array(NDArray) –horizontal positions of sample points along vertica profile
-
ch_y_array(NDArray) –horizontal positions of sample points along channel boundary
-
ch_z_array(NDArray) –vertical positions of sample points along channel boundary
Source code in wmbe/applications/channel1d.py
compute_vertical_profiles
¶
Compute dependence of various properties with height above channel base.
Parameters:
Attributes:
-
n_pts(int) –record of number of sampling points
-
z_array(NDArray) –sample points along vertical profile
-
vs_eqn_z_calibrated(Eq) –weathering-mediated surface-normal erosion rate at steady state calibrated by model parameters supplied in dict
-
w0_array(NDArray) –surface weakness along vertical profile (at steady state)
-
v0_array(NDArray) –baseline (absent weathering-driven weakening) surface-normal erosion rate along vertical profile (at steady state)
-
vs_array(NDArray) –weathering-mediated surface-normal erosion rate along vertical profile (at steady state)
-
eta0_array(NDArray) –surface weakness along vertical profile (at steady state)
-
W_array(NDArray) –weathering number along vertical profile