|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
One bulk snow layer on the two-stream force-restore surface (erf.radiation.seb_snow_enable): the snow routine of the ISBA scheme as Douville, Royer and Mahfouf (1995, "DRM95") describe it in their Sec. 2.1, for bare ground (vegetation fraction 0). More...
#include <limits>#include <AMReX_Algorithm.H>#include <AMReX_GpuQualifiers.H>#include <AMReX_Math.H>#include <AMReX_REAL.H>#include <ERF_MicrophysicsConstants.H>#include <ERF_NumericalConstants.H>

Go to the source code of this file.
Classes | |
| struct | ForceRestoreSnowParams |
| Parameters of one snow step (from erf.radiation.seb_*). More... | |
| struct | ForceRestoreSnowFluxes |
| What one snow step moved in one column [kg/m^2]. More... | |
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | force_restore_snow_fraction (amrex::Real w_n, amrex::Real w_crn) noexcept |
| Snow cover fraction p_ng of the ground, DRM95 Eq. (7). More... | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | force_restore_snow_albedo (amrex::Real alb_ground, amrex::Real w_n, const ForceRestoreSnowParams &prm) noexcept |
| Surface albedo with snow, DRM95 Eq. (8) with veg = 0. More... | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE ForceRestoreSnowFluxes | force_restore_snow_step (amrex::Real &w_n, amrex::Real &t_s, amrex::Real p_n, amrex::Real e, amrex::Real dt, const ForceRestoreSnowParams &prm) noexcept |
| One step of the snow layer of one column, after the balance has updated T_s. More... | |
Variables | |
| constexpr amrex::Real | force_restore_snow_t_melt = amrex::Real(273.16) |
| The melting point T_00 [K] of DRM95 Eq. (12). More... | |
One bulk snow layer on the two-stream force-restore surface (erf.radiation.seb_snow_enable): the snow routine of the ISBA scheme as Douville, Royer and Mahfouf (1995, "DRM95") describe it in their Sec. 2.1, for bare ground (vegetation fraction 0).
The state is the snow water equivalent W_n kg/m^2.
The update is forward Euler, in the order snowfall, sublimation, melt, and satisfies to round-off W_n_new - W_n_old = snowfall - sublimation - melt.
Not here (DRM95 Sec. 2.2, their new scheme): prognostic snow density and albedo, the snow heat capacity, the vegetation masking, and the snow roughness length (DRM95 Eqs. 9-10).
Reference:
|
noexcept |
Surface albedo with snow, DRM95 Eq. (8) with veg = 0.
| [in] | alb_ground | snow-free albedo alpha_g [-] |
| [in] | w_n | snow water equivalent [kg/m^2] |
| [in] | prm | parameters |
Referenced by ForceRestoreSnow::apply_albedo().


|
noexcept |
Snow cover fraction p_ng of the ground, DRM95 Eq. (7).
| [in] | w_n | snow water equivalent [kg/m^2] |
| [in] | w_crn | critical snow water equivalent [kg/m^2], > 0 |
Referenced by force_restore_snow_albedo(), and force_restore_snow_step().

|
noexcept |
One step of the snow layer of one column, after the balance has updated T_s.
| [in,out] | w_n | snow water equivalent [kg/m^2] |
| [in,out] | t_s | surface temperature [K]: the balance's estimate in, the value after the melt out, at most prm.t_max. The estimate of a snow-covered column comes in without that bound, so the heat above it melts snow first. |
| [in] | p_n | frozen precipitation [kg/m^2/s] |
| [in] | e | evaporation LE / L_v [kg/m^2/s], positive upward |
| [in] | dt | the step [s] |
| [in] | prm | parameters |
Referenced by ForceRestoreSnow::step().


|
constexpr |
The melting point T_00 [K] of DRM95 Eq. (12).
Referenced by force_restore_snow_step().