Runoff

Runoff types and functions

ClimateMachine.Land.Runoff.DrivenConstantPrecipType
DrivenConstantPrecip{FT, F} <: AbstractPrecipModel{FT}

Instance of a precipitation distribution where the precipication value is constant across the domain. However, this value can change in time.

Precipitation is assumed to be aligned with the vertical, i.e. P⃗ = Pẑ, with P<0.

Fields

  • mp

    Mean precipitation in grid

source
ClimateMachine.Land.Runoff.compute_surface_grad_bcFunction
function compute_surface_grad_bc(soil::SoilModel,
                                 runoff_model::CoarseGridRunoff,
                                 precip_model::AbstractPrecipModel,
                                 n̂,
                                 state⁻::Vars,
                                 diff⁻::Vars,
                                 aux⁻::Vars,
                                 t::Real
                                 )

Given a runoff model and a precipitation distribution function, compute the surface water flux normal to the surface. The sign of the flux (inwards or outwards) is determined by the magnitude of precipitation, evaporation, and infiltration.

source
function compute_surface_grad_bc(soil::SoilModel,
                                 runoff_model::NoRunoff,
                                 precip_model::AbstractPrecipModel,
                                 n̂,
                                 state⁻::Vars,
                                 aux⁻::Vars,
                                 diff⁻::Vars,
                                 t::Real
                                 )

Given a runoff model and a precipitation distribution function, compute the surface water flux normal to the surface. In this case, no runoff is assumed. The direction of the flux (inwards or outwards) depends on the magnitude of evaporation, precipitation, and infiltration.

source