|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Water of the two-stream force-restore surface: rain in, runoff, a prognostic deep reservoir with gravitational drainage, and a prognostic deep temperature. More...
#include <AMReX_Algorithm.H>#include <AMReX_GpuQualifiers.H>#include <AMReX_Math.H>#include <AMReX_REAL.H>#include <cmath>#include <ERF_MicrophysicsConstants.H>#include <ERF_NumericalConstants.H>

Go to the source code of this file.
Classes | |
| struct | ForceRestoreHydrologyParams |
| struct | ForceRestoreHydrologyFluxes |
| Water that left a column during one step [kg/m^2]. More... | |
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | force_restore_rain_rate (amrex::Real accum_end, amrex::Real accum_start, amrex::Real dt) noexcept |
| Rain rate [kg/m^2/s] from the change of the surface precipitation accumulation over one step. More... | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE ForceRestoreHydrologyFluxes | force_restore_hydrology_step (amrex::Real &q_s, amrex::Real &q_deep, amrex::Real &t_deep, amrex::Real t_s, amrex::Real p, amrex::Real e, amrex::Real dt, const ForceRestoreHydrologyParams &prm) noexcept |
| One step of the force-restore hydrology for one column, after the balance has updated T_s and q_s (prognostic_dTs_dt, prognostic_dqs_dt). More... | |
Variables | |
| constexpr amrex::Real | force_restore_c3_tau = 86400.0 |
| Parameters of one force-restore hydrology step (from erf.radiation.seb_*). More... | |
Water of the two-stream force-restore surface: rain in, runoff, a prognostic deep reservoir with gravitational drainage, and a prognostic deep temperature.
The force-restore balance (ERF_SimplifiedSEB.H) carries q_s, the volumetric water content [m^3/m^3] of a surface layer d_s deep (erf.radiation.seb_moisture_layer_depth_m), restored toward q_deep over tau_q. These functions add the terms of Noilhan and Planton (1989, "NP89") and Mahfouf and Noilhan (1996, "MN96") that it leaves out, each behind its own input:
The relaxation terms (drainage, deep temperature) are linear in the state, so each is integrated exactly over the step, x_new - x_eq = (x_old - x_eq) exp(-k dt); the update cannot overshoot whatever the step. The source terms (rain, evaporation) are forward Euler, as the existing balance is.
References:
|
noexcept |
One step of the force-restore hydrology for one column, after the balance has updated T_s and q_s (prognostic_dTs_dt, prognostic_dqs_dt).
In order: rain into the surface layer and the surface runoff above the porosity (at most the step's rain: water that never infiltrates); the infiltrated rain minus the evaporation into the column, then its drainage; the deep temperature toward the updated T_s; runoff of the column above the porosity; the bounds of q_s and q_deep. The surface runoff is taken before the drainage, so water that never entered the soil does not drain.
With the deep reservoir, the column then satisfies exactly rho_w d_2 (q_deep_new - q_deep_old) = (P - E) dt - drainage - runoff + deficit.
| [in,out] | q_s | surface-layer water content [m^3/m^3] |
| [in,out] | q_deep | column water content [m^3/m^3]; changed only with prm.deep |
| [in,out] | t_deep | deep temperature [K]; changed only with prm.deep |
| [in] | t_s | surface temperature after this step's update [K] |
| [in] | p | rain reaching the soil [kg/m^2/s]; used only with prm.rain |
| [in] | e | evaporation LE / L_v [kg/m^2/s], positive upward |
| [in] | dt | the step [s] |
| [in] | prm | parameters |
Referenced by ForceRestoreHydrology::step().

|
noexcept |
Rain rate [kg/m^2/s] from the change of the surface precipitation accumulation over one step.
| [in] | accum_end | accumulation at the end of the step [kg/m^2] |
| [in] | accum_start | accumulation at the start of the step [kg/m^2] |
| [in] | dt | the step [s] |
Referenced by ForceRestorePrecipRate::end_step().

|
constexpr |
Parameters of one force-restore hydrology step (from erf.radiation.seb_*).
The restore period [s] with which MN96 Table 1 and Eq. (16) give C_3 (MN96 appendix).
Referenced by force_restore_hydrology_step().