Class Gray_inf

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class Gray_inf : public module_base

Estimates areal snowmelt infiltration into frozen soils for: a) Restricted - Water entry impeded by surface conditions b) Limited - Capiliary flow dominates and water flow influenced by soil physical properties c) Unlimited - Gravity flow dominates

Depends:

  • Snow water equivalent “swe” [mm]

  • Snow melt for interval “snowmelt_int” [ \(mm \cdot dt^{-1}\)]

Provides:

  • Infiltration “inf” [ \(mm \cdot dt^{-1}\)]

  • Total infiltration “total_inf” [mm]

  • Total infiltration excess “total_excess” [mm]

  • Total runoff “runoff” [mm]

  • Total soil storage “soil_storage”

  • Potential infiltration “potential_inf”

  • Opportunity time for infiltration to occur “opportunity_time”

  • Available storage for water of the soil “available_storage”

References:

  • Gray, D., Toth, B., Zhao, L., Pomeroy, J., Granger, R. (2001). Estimating areal snowmelt infiltration into frozen soils Hydrological Processes 15(16), 3095-3111. https://dx.doi.org/10.1002/hyp.320

Note

Has hardcoded soil parameters that need to be read from the mesh parameters.

Public Functions

Gray_inf(config_file cfg)
~Gray_inf()
virtual void run(mesh_elem &face)

Needs to be implemented by each data parallel module. This will be called and executed for each timestep

Parameters:
  • face – The terrain element (triangle) to be worked upon for an element parallel domain

  • global_param – A pointer to the shared global paramter space with domain-wide paramters

virtual void init(mesh &domain)
class data : public face_info

Public Members

double storage
double max_storage
double porosity
double soil_depth
double opportunity_time
double last_ts_potential_inf
double total_inf
double total_excess