2.0.0b10
catchment modelling framework
Loading...
Searching...
No Matches
TOPModelFlow Class Reference

Calculates a flux from a soil layer using TOPMODELs (Beven & Kirkby 1979) exponential transmissivity concept. More...

+ Inheritance diagram for TOPModelFlow:
+ Collaboration diagram for TOPModelFlow:

Detailed Description

Calculates a flux from a soil layer using TOPMODELs (Beven & Kirkby 1979) exponential transmissivity concept.

\[ T = T_0 \exp(-D_i/m) \]

where:

  • \(T\) is the actual transmissivity of the profile in \(m^2/day\)
  • \(T0\) is the transmissivity of the profile at saturation
  • \(D_i\) is the drained depth in m, calculated as \((C-V)/A\), the capacity of the layer - volume per area
  • \(m\) a scaling factor in m

By using the transmissivity in Darcy's law and assuming the GW gradient to be parallel to the topographic slope we get for the flow:

\[ q = T_0 \exp(-D_i/m) w s\]

where:

  • \(q\) is the flux in \(m^3/day\)
  • \(w\) is the flow width (unit contour length)
  • \(s\) is the topographic slope between layer and outlet
Note
TOPMODEL is based on the concept of drained depth, not, as cmf on the concept of stored volume. Hence, negative volumes can occur if

Public Member Functions

real conc (cmf::math::Time t, const cmf::water::solute &_Solute)
 Returns the concentration of the flux.
 
flux_node::ptr get_target (const flux_node &inquirer)
 Returns the other end of a connection than the asking end.
 
flux_node::ptr get_target (int index) const
 With index 0, the left node is returned, with index 1 the right node of the connection.
 
real get_tracer_filter ()
 A value ranging from 0 to 1 to filter tracers out of the water flux.
 
real get_tracer_filter (solute S)
 A value ranging from 0 to 1 to filter tracers out of the water flux.
 
bool kill_me ()
 Deregisters this connection from its nodes. Returns true if only one reference is left.
 
flux_node::ptr left_node () const
 Returns the left node of this connection.
 
real q (const flux_node &inquirer, cmf::math::Time t)
 Returns the current flux through a connection. Negative signs mean out of the inquirer, positive are inflows to the inquirer.
 
void refresh (cmf::math::Time t)
 Performes a new calculation of the flux.
 
flux_node::ptr right_node () const
 returns the right node of this connection
 
void set_tracer_filter (real value)
 A value ranging from 0 to 1 to filter tracers out of the water flux.
 

Public Attributes

const std::string type
 A string describing the type of the connection.
 

Member Function Documentation

◆ conc()

real conc ( cmf::math::Time t,
const cmf::water::solute & _Solute )
inherited

Returns the concentration of the flux.


If not overridden, it returns the concentration of the source of the flux (direction depending)

◆ get_tracer_filter()

real get_tracer_filter ( )
inherited

A value ranging from 0 to 1 to filter tracers out of the water flux.

1.0 is no filter and 0.0 means no solute is crossing this connection

◆ set_tracer_filter()

void set_tracer_filter ( real value)
inherited

A value ranging from 0 to 1 to filter tracers out of the water flux.

1.0 is no filter and 0.0 means no solute is crossing this connection