<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Federico</id>
		<title>MohidWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Federico"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Special:Contributions/Federico"/>
		<updated>2026-04-04T17:35:52Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4453</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4453"/>
				<updated>2011-03-09T13:00:50Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Main Processes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The final results of this module is the different water fluxes due to evapotranspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
The processes made in the Module Basin can be summarized as following:&lt;br /&gt;
&lt;br /&gt;
* Reading entering data and grid construction&lt;br /&gt;
* Atmospheric processes in order to obtain the water column from the precipitation &lt;br /&gt;
*Call of [[Module PorousMedia]] in order to obtain the infiltration rate&lt;br /&gt;
*Update of the water column&lt;br /&gt;
*Call of [[Module Runoff]]&lt;br /&gt;
*Redistribution of the fluxes into the water body&lt;br /&gt;
*Output of the different components of the water flux&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4452</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4452"/>
				<updated>2011-03-09T12:59:04Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Main Processes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The final results of this module is the different water fluxes due to evapotranspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
The processes made in the Module Basin can be summarized as following:&lt;br /&gt;
&lt;br /&gt;
* Reading entering data and grid construction&lt;br /&gt;
* Atmospheric processes in order to obtain the water column from the precipitation. &lt;br /&gt;
*Call of [[Module PorousMedia]] in order to obtain the infiltration rate&lt;br /&gt;
*Update of the water column&lt;br /&gt;
*Call of [[Module Runoff]]&lt;br /&gt;
*Redistribution of the fluxes into the water body&lt;br /&gt;
*Output of the different components of the water flux&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4451</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4451"/>
				<updated>2011-03-09T12:58:30Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Main Processes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The final results of this module is the different water fluxes due to evapotranspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
The processes made in the Module Basin can be summarized as following:&lt;br /&gt;
&lt;br /&gt;
* Reading entering data and grid construction&lt;br /&gt;
* Atmospheric processes in order to obtain the water column from the precipitation. &lt;br /&gt;
*Call of [[Module Porous Media]] in order to obtain the infiltration rate&lt;br /&gt;
*Update of the water column&lt;br /&gt;
*Call of [[Module Runoff]]&lt;br /&gt;
*Redistribution of the fluxes into the water body&lt;br /&gt;
*Output of the different components of the water flux&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4450</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4450"/>
				<updated>2011-03-09T12:30:53Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Main Processes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The final results of this module is the different water fluxes due to evapotranspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
The processes made in the Module Basin can be summarized as following:&lt;br /&gt;
&lt;br /&gt;
* Entering data reading and basin Geometry construction&lt;br /&gt;
* Atmospheric processes in order to obtain the water column from the precipitation&lt;br /&gt;
*Call of module Porous media in order to obtain the infiltration rate&lt;br /&gt;
*Update of the water column&lt;br /&gt;
*Call of Module Runoff&lt;br /&gt;
*The fluxes are directed to the river&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4449</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4449"/>
				<updated>2011-03-09T11:38:25Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Main Processes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The final results of this module is the different water fluxes due to evapotranspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
The processes made in the Module Basin can be summarized as following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The scheme followed in the module Basin is the following:&lt;br /&gt;
The module atmoshpere is called to obatin the water column from the pracipitation&lt;br /&gt;
update the water column&lt;br /&gt;
Porous media&lt;br /&gt;
Infiltration&lt;br /&gt;
update water column&lt;br /&gt;
Runoff&lt;br /&gt;
River&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4448</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4448"/>
				<updated>2011-03-09T11:38:10Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Main Processes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The final results of this module is the different water fluxes due to evapotranspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
The processes made in the Module Basin can be summarized as following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The scheme followed in the module Basin is the following:&lt;br /&gt;
The module atmoshpere is called to obatin the water column from the pracipitation&lt;br /&gt;
update the water column&lt;br /&gt;
Porous media&lt;br /&gt;
Infiltration&lt;br /&gt;
update water column&lt;br /&gt;
Runoff&lt;br /&gt;
River&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Evapotranspiration====&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4447</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4447"/>
				<updated>2011-03-09T11:36:47Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Evapotranspiration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The final results of this module is the different water fluxes due to evapotranspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
The scheme followed in the module Basin is the following:&lt;br /&gt;
The module atmoshpere is called to obatin the water column from the pracipitation&lt;br /&gt;
update the water column&lt;br /&gt;
Porous media&lt;br /&gt;
Infiltration&lt;br /&gt;
update water column&lt;br /&gt;
Runoff&lt;br /&gt;
River&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Evapotranspiration====&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4446</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4446"/>
				<updated>2011-03-08T19:58:19Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The final results of this module is the different water fluxes due to evapotranspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Evapotranspiration===&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4445</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4445"/>
				<updated>2011-03-08T19:57:39Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The final results of this module is the different water fluxes due to evapotrnspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Evapotranspiration===&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4444</id>
		<title>Module Basin</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Basin&amp;diff=4444"/>
				<updated>2011-03-08T18:33:44Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Basin is a connection among the different modules of Mohid-Land. Indeed it manages the entering data, namely the water column, that is updated after each call of each module. The aim of Module Basin is to obtained the different water fluxes due to evapotrnspiration, runoff and infiltration.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Evapotranspiration===&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Potential evapotranspiration is calcuçtaed made in module Basin. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the [[Module PorousMedia]].&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4410</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4410"/>
				<updated>2011-03-07T20:35:34Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the water fluxes a balance on the water volume of each cell is apply in order to obtain the new water content &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. The balance applied is the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Direction X'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU_{(i,j,k)}\cdot ComputeFace_{(i,j,k)}-Flux_{(i,j+1,k)}\cdot  ComputeFace_{(i,j+1,k)}\cdot \Delta t) V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Direction Y'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV_{(i,j,k)}\cdot  ComputeFace_{(i,j,k)}-FluxV_{(i+1,j,k)}\cdot  ComputeFace_{(i+1,j,k)})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vertical Direction W'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW_{(i,j,k)}\cdot  ComputeFace_{(i,j,k})-FluxW_{(i,j,k+1)}\cdot  ComputeFace_{(i,j,k+1}))\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Transpiration Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Evaporation Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Infiltration Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}\cdot(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is the water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_{cell}&amp;lt;/math&amp;gt;'' || is the cell volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;Area_{cell}&amp;lt;/math&amp;gt;'' || is the cell area (m &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''ComputeFace'' || is the computed face (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;'' || is the time step (s)&lt;br /&gt;
|-&lt;br /&gt;
|''FluxX'' || is the flux in X direction (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''FluxV'' || is the flux in Y direction (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''FluxW'' || is the flux in W direction (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''TranspFlux'' || is the transpiration flux (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''EvapFlux'' || is the evaporation flux (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''UnsatK'' || is unsaturated conductivity (m /s)&lt;br /&gt;
|-&lt;br /&gt;
|''Imp'' || is the percentage of impermeable soil of the cell (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; so obtained is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4409</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4409"/>
				<updated>2011-03-07T20:34:28Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the water fluxes a balance on the water volume of each cell is apply in order to obtain the new water content &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. The balance applied is the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Direction X'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU_{(i,j,k)}\cdot ComputeFace_{i,j,k}-Flux_{(i,j+1,k)}\cdot  ComputeFace_{i,j+1,k}\cdot \Delta t) V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Direction Y'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV_{(i,j,k)}\cdot  ComputeFace_{i,j,k}-FluxV_{(i+1,j,k)}\cdot  ComputeFace_{i+1,j,k})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vertical Direction W'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW_{(i,j,k)}\cdot  ComputeFace_{i,j,k}-FluxW_{(i,j,k+1)}\cdot  ComputeFace_{i,j,k+1})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Transpiration Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Evaporation Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Infiltration Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}\cdot(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is the water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_{cell}&amp;lt;/math&amp;gt;'' || is the cell volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;Area_{cell}&amp;lt;/math&amp;gt;'' || is the cell area (m &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''ComputeFace'' || is the computed face (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;'' || is the time step (s)&lt;br /&gt;
|-&lt;br /&gt;
|''FluxX'' || is the flux in X direction (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''FluxV'' || is the flux in Y direction (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''FluxW'' || is the flux in W direction (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''TranspFlux'' || is the transpiration flux (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''EvapFlux'' || is the evaporation flux (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''UnsatK'' || is unsaturated conductivity (m /s)&lt;br /&gt;
|-&lt;br /&gt;
|''Imp'' || is the percentage of impermeable soil of the cell (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; so obtained is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4408</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4408"/>
				<updated>2011-03-07T20:28:51Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the water fluxes a balance on the water volume of each cell is apply in order to obtain the new water content &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. The balance applied is the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Direction X'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU_{(i,j,k)}\cdot Area_{cell}-Flux_{(i,j+1,k)}\cdot Area_{cell})\cdot \Delta t) V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Direction Y'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV_{(i,j,k)}\cdot Area_{cell}-FluxV_{(i+1,j,k)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vertical Direction W'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW_{(i,j,k)}\cdot Area_{cell}-FluxW_{(i,j,k+1)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Transpiration Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Evaporation Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Infiltration Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_{cell}&amp;lt;/math&amp;gt;'' || is the cell volume(m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;Area_{cell}&amp;lt;/math&amp;gt;'' || is the cell area (m &amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;'' || is the time step (s)&lt;br /&gt;
|-&lt;br /&gt;
|''FluxX'' || is the flux in X direction (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''FluxV'' || is the flux in Y direction (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''FluxW'' || is the flux in W direction (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''TranspFlux'' || is the transpiration flux (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''EvapFlux'' || is the evaporation flux (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
|''UnsatK'' || is unsaturated conductivity (m /s)&lt;br /&gt;
|-&lt;br /&gt;
|''Imp'' || is the percentage of impermeable soil of the cell (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; so obtained is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4407</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4407"/>
				<updated>2011-03-07T20:12:43Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the water fluxes a balance on the water volume of each cell is apply in order to obtain the new water content &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. The balance applied is the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Direction X'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU_{(i,j,k)}\cdot Area_{cell}-Flux_{(i,j+1,k)}\cdot Area_{cell})\cdot \Delta t) V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Direction Y'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV_{(i,j,k)}\cdot Area_{cell}-FluxV_{(i+1,j,k)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vertical Direction W'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW_{(i,j,k)}\cdot Area_{cell}-FluxW_{(i,j,k+1)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Transpiration Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Evaporation Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Infiltration Flux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; so obtained is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4406</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4406"/>
				<updated>2011-03-07T20:12:03Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the water fluxes a balance on the water volume of each cell is apply in order to obtain the new water content &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. The balance applied is the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Direction X'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU_{(i,j,k)}\cdot Area_{cell}-Flux_{(i,j+1,k)}\cdot Area_{cell})\cdot \Delta t) V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Horizontal Direction Y''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV_{(i,j,k)}\cdot Area_{cell}-FluxV_{(i+1,j,k)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Vertical Direction W''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW_{(i,j,k)}\cdot Area_{cell}-FluxW_{(i,j,k+1)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Transpiration Flux''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Evaporation Flux''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Infiltration Flux''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; so obtained is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4405</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4405"/>
				<updated>2011-03-07T20:11:48Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the water fluxes a balance on the water volume of each cell is apply in order to obtain the new water content &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. The balance applied is the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'Horizontal Direction X'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU_{(i,j,k)}\cdot Area_{cell}-Flux_{(i,j+1,k)}\cdot Area_{cell})\cdot \Delta t) V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Horizontal Direction Y''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV_{(i,j,k)}\cdot Area_{cell}-FluxV_{(i+1,j,k)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Vertical Direction W''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW_{(i,j,k)}\cdot Area_{cell}-FluxW_{(i,j,k+1)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Transpiration Flux''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Evaporation Flux''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Infiltration Flux''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; so obtained is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4404</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4404"/>
				<updated>2011-03-07T20:11:18Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the water fluxes a balance on the water volume of each cell is apply in order to obtain the new water content &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. The balance applied is the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Horrizontal Direction X''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU_{(i,j,k)}\cdot Area_{cell}-Flux_{(i,j+1,k)}\cdot Area_{cell})\cdot \Delta t) V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Horrizontal Direction Y''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV_{(i,j,k)}\cdot Area_{cell}-FluxV_{(i+1,j,k)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Vertical Direction W''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW_{(i,j,k)}\cdot Area_{cell}-FluxW_{(i,j,k+1)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Transpiration Flux''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Evaporation Flux''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Infiltration Flux''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; so obtained is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4403</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4403"/>
				<updated>2011-03-07T20:10:19Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the water fluxes a balance on the water volume of each cell is apply in order to obtain the new water content &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. The balance applied is the following:&lt;br /&gt;
&lt;br /&gt;
''Horrizontal Direction X''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU_{(i,j,k)}\cdot Area_{cell}-Flux_{(i,j+1,k)}\cdot Area_{cell})\cdot \Delta t) V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Horrizontal Direction Y''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV_{(i,j,k)}\cdot Area_{cell}-FluxV_{(i+1,j,k)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Vertical Direction W''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW_{(i,j,k)}\cdot Area_{cell}-FluxW_{(i,j,k+1)}\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Transpiration Flux''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Evaporation Flux''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux_{(i,j,k)}\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Infiltration Flux''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; so obtained is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4402</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4402"/>
				<updated>2011-03-07T20:07:03Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the water fluxes a balance on the water volume of each cell is apply in order to obtain the new water content &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. The balance applied is the following:&lt;br /&gt;
&lt;br /&gt;
''Horrizontal Direction X''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU_{(i,j,k)}\cdot Area_{cell}-Flux_{(i,j+1,k)}\cdot Area_{cell})\cdot \Delta t) V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Horrizontal Direction Y''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV(i,j,k)\cdot Area_{cell}-FluxV(i+1,j,k)\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Vertical Direction W''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW(i,j,k)\cdot Area_{cell}-FluxW(i,j,k+1)\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Transpiration Flux''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux(i,j,k)\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Evaporation Flux''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux(i,j,k)\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Infiltration Flux''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; so obtained is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4401</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4401"/>
				<updated>2011-03-07T18:08:32Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the value of the velocity in each cell the evapotranspiration flux and the fluxes in the X,Y,Z direction are calculated. In particular are evaluated the volume associated to each flux in order to obtain a new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. This value is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU(i,j,k)\cdot Area_{cell}-FluxV(i,j+1,k)\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV(i,j,k)\cdot Area_{cell}-FluxV(i+1,j,k)\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW(i,j,k)\cdot Area_{cell}-FluxW(i,j,k+1)\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux(i,j,k)\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux(i,j,k)\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4400</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4400"/>
				<updated>2011-03-07T18:05:00Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Iteration Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the value of the velocity in each cell the evapotranspiration flux and the fluxes in the X,Y,Z direction are calculated. In particular are evaluated the volume associated to each flux in order to obtain a new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. This value is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxU(i,j,k)\cdot Area_{cell}-FluxV(i,j+1,k)\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxV(i,j,k)\cdot Area_{cell}-FluxV(i+1,j,k)\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}+(FluxW(i,j,k)\cdot Area_{cell}-FluxW(i,j,k+1)\cdot Area_{cell})\cdot \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(TranspFlux(i,j,k)\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(EvapFlux(i,j,k)\Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\theta=(\theta\cdot V_{cell}-(UnsatK\cdot Area_{cell}(1-Imp) \Delta t)\cdot V_{cell}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4399</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4399"/>
				<updated>2011-03-07T17:05:48Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the value of the velocity in each cell the evapotranspiration flux and the fluxes in the X,Y,Z direction are calculated. In particular are evaluated the volume associated to each flux in order to obtain a new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. This value is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and Martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4398</id>
		<title>Module PorousMedia</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_PorousMedia&amp;diff=4398"/>
				<updated>2011-03-07T17:05:15Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Porous Media is based on the [[Finite Volume Method]] in order to take in account the non-linear behavior of the soil. This module allows the calculation of the water fluxes in a porous media; in particular the infiltration flow is obtained from the potential water column available for this process. The potential water column is given by the [[Module Basin]] as reported below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;PIC=TF+IWC&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''PIC'' || is the Potential Infiltration column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''TF'' || Throughfall is the percentage of the rain that reaches the soil  (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''IWC'' || is the Initial Water column  (m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The infiltration flows is calculated by the Buckingham-Darcy equation (Jury et al,1991)&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Water flow===&lt;br /&gt;
Soil contains a large distribution of pore sizes and channels through which water may flow. In general the water flow determination is based on the mass conservation and momentum equation. In the case of soil it is assumed that the forces of inertia are almost zero; therefore the balance is reduced to the forces of pressure, gravity and viscous. The equation that describes the flow through soil is the Buckingham Darcy equation (Jury et al,1991). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;J=-K\left ( \theta  \right )\left ( \frac{\partial H}{\partial z}  \right )=-K\left ( \theta  \right )\left ( \frac{\partial h}{\partial z} + 1 \right )\,\,\,\,(1.1)\\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''J'' || is the water velocity at the cell interface (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''H'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''θ'' || is the water content (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''K''|| is the hydraulic conductivity (m/s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular the hydraulic head is given by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H=h+p+z\,\,\,\,(1.2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| ''h'' ||  is the hydraulic head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''p'' || is hydrostatic pressure (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''z''|| is the topography  (m)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The soil is a very complex system, made up of a heterogeneous mixture of solid, liquid, and gaseous material. The liquid phase consists of soil water, which fills part or all of the open spaces between the soil particles. Therefore it is possible to divided the soil in two layers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Saturated soil  &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water&lt;br /&gt;
&lt;br /&gt;
*Unsaturated one &amp;lt;math&amp;gt;\Longrightarrow&amp;lt;/math&amp;gt;   The soil pores are filled by water and air&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the first case the equation of Buckingham Darcy is simplified to the Darcy law and the parameter associated for its resolution are connected with the saturated layer. On the other hand for the resolution of the equation (1.1) a description of the characteristics of the the unsaturated layer is needed.&lt;br /&gt;
&lt;br /&gt;
==Vadose Zone==&lt;br /&gt;
&lt;br /&gt;
Many vadose flow and transport studies require description if unsaturated soil hydraulic proprieties over a wide range of pressure head. The hydraulic proprieties are described using the porous size distribution model of Maulem (1976) for hydraulic conductivity in combination with a water retention function introduced by Van Genuchten (1980). &lt;br /&gt;
&lt;br /&gt;
===Water content===&lt;br /&gt;
&lt;br /&gt;
Water content is the quantity of water contained in the soil (called '''soil moisture'''). It is given as a volumetric basis and it is defined mathematically as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta = \frac{V_w}{V_T}\hspace{5cm}(1.3) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;V_T = V_s + V_v = V_s + V_w + V_a\hspace{1.6cm}(1.4)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;'' || is water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|''&amp;lt;math&amp;gt;V_w&amp;lt;/math&amp;gt; '' || is the volume of water (m s&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_T&amp;lt;/math&amp;gt;'' || is the total volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_s&amp;lt;/math&amp;gt;'' || is the soil volume (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;V_a&amp;lt;/math&amp;gt;'' || is the air space (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once determined the aquifer level ('''water table''') the water content is associated at each cells by the following criteria:&lt;br /&gt;
:{|&lt;br /&gt;
*If the cell is located above the water table &amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
*If the cell is located over the water table &amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{s}&amp;lt;/math&amp;gt;'' || is the water content in the saturated soil  (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta=\theta_{ns}&amp;lt;/math&amp;gt;'' || is the water content in the non saturated soil   (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The water content in the non saturated soil can be associated with observed data, if these are not available it is imposed by default the water content equal to the [[Field Capacity]]. In order to calculate this parameter by the equation (1.7) the evaluation of the suction head is needed :&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
:&amp;lt;math&amp;gt; h=-DWZ\cdot 0.5\hspace{2cm}for\,\, the\,\, cells\,\, immediately\,\, above\,\, the\,\, water\,\, table \hspace{5cm} (1.5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h=-(-DZZ-h)\hspace{1.5cm}for\,\, the\,\, other\,\, cells\hspace{9.75cm} (1.6) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure05.jpg|thumb|center|300px|Figure 1: Suction Head Calculation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As shown in the picture the suction head is calculated in order to maintain the same total head (H=z+p+h) in the cells in agreement with the field capacity definition.&lt;br /&gt;
&lt;br /&gt;
===Water retention===&lt;br /&gt;
The model use for characterizing the shape of water retention curves is the van Genuchten model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\theta(h) = \theta_r + \frac{\theta_s - \theta_r}{\left[ 1+(\alpha |h|)^n \right]^{1-1/n}}\hspace{0.5cm}\Longrightarrow\hspace{0.5cm}h(\theta)=\left |\frac{(S_{E}^{-1/n}-1)^{1/n}}{\alpha}  \right |\hspace{3cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S_{E}=\frac{\theta-\theta_{r}}{\theta_{s}-\theta_{r}}\hspace{11cm}(1.8)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta(h)&amp;lt;/math&amp;gt;'' || is the the water retention curve (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_s&amp;lt;/math&amp;gt;'' || is the saturated water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\theta_r&amp;lt;/math&amp;gt;'' || is the residual water content (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''h''|| is the suction head (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;'' || is related to the inverse of the air entry (m &amp;lt;sub&amp;gt;-1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''|| is a measure of the pore-size distribution n&amp;gt;1 (dimensionless)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;S_{E}&amp;lt;/math&amp;gt;''|| is the effective saturation (dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Saturated and Unsaturated Conductivity===&lt;br /&gt;
&lt;br /&gt;
The saturated conductivity is given depending on the type of soil; instead the unsaturated conductivity is obtained from the suction head by the Maulem model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;K(\theta)=K_{s}\cdot Se^{L}\cdot (1-(1-Se^{1/m})^{m})^{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;K(\theta)&amp;lt;/math&amp;gt;'' || is the unsaturated conductivity (m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''&amp;lt;math&amp;gt;K_{s}&amp;lt;/math&amp;gt;'' || is the saturated conductivity(m/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''L'' || empirical pore-connectivity (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''m''|| m=1-1/n(dimensionless)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Evapotranspiration==&lt;br /&gt;
&lt;br /&gt;
Some water may disappear from the soil because of the evaporation and transpiration processes, which become a sink in soil water profile. These two processes, currently named Evapotranspiration may be modeled using the Penmann Monteith equation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \overset{\text{Energy flux rate}}{\lambda_v E=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a }{\Delta  + \gamma \left (    1 + g_a / g_s    \right)}}~ \iff ~  \overset{\text{Volume flux rate}}{ET_o=\frac{\Delta R_n   +   \rho_a c_p  \left(  \delta q  \right) g_a } { \left(   \Delta  + \gamma \left (    1 + g_a / g_s    \right)    \right) \lambda_v }}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:''λ''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; =  Latent heat of vaporization. Energy required per unit mass of water vaporized.  (J/g)&lt;br /&gt;
:''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = Volumetric latent heat of vaporization. Energy required per water volume vaporized. (''L''&amp;lt;sub&amp;gt;v&amp;lt;/sub&amp;gt; = 2453 MJ m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:''E'' = Mass water evapotranspiration rate (g s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ET''&amp;lt;sub&amp;gt;o&amp;lt;/sub&amp;gt; = Water volume evapotranspired (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
  &lt;br /&gt;
:&amp;amp;Delta; =    Rate of change of saturation specific humidity with air temperature.  (Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''R''&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; = Net irradiance (W m&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;), the external source of energy flux&lt;br /&gt;
:''c''&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt; = Specific heat capacity of air (J kg&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''ρ''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = dry air density (kg m&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:δ''e'' = vapor pressure deficit, or specific humidity (Pa)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;a&amp;lt;/sub&amp;gt; = Hydraulic conductivity of air, atmospheric conductance (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''g''&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; = Conductivity of stoma, surface conductance  (m s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
:''γ'' = Psychrometric constant  (''&amp;amp;gamma;'' ≈ 66 Pa K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of these calculations about potential evapotranspiration are made in module Basin in MohiLand model. However, not all of the potential water that can be evaporated or transpirated will be in fact removed from the soil. The water that will really leave the soil through these processes is calculated in the Porous Media module.&lt;br /&gt;
In Figure below it can be seen that the actual transpiration and evaporation are calculated in Porous Media module of MohidLand. The actual evaporation, which happens only at the soil surface, is calculated based on a pressure head limit imposed by the user. It allows the model to not evaporate any surface water, even if it is available, when the soil is very far way from the saturation point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:evapotranspiration fluxogram.jpg|thumb|center|400px|Evapotranspiration fluxogram in Mohid Land model]]&lt;br /&gt;
&lt;br /&gt;
==Iteration Process==&lt;br /&gt;
&lt;br /&gt;
Once obtained the value of the velocity in each cell the evapotranspiration flux and the fluxes in the X,Y,Z direction are calculated. In particular are evaluated the volume associated to each flux in order to obtain a new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. This value is compared with one used in the volumes calculation and the iterative process stop when: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\theta^{'})-(\theta^{new})&amp;lt;\,\, Tolerance\hspace{3cm} (1.9) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|''&amp;lt;math&amp;gt;\theta^{'}&amp;lt;/math&amp;gt;'' || is the water content of the previous iteration (m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/m &amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the equation (1.9) is not satisfy the temporal step is divided in half and the new value of &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is used for solving the equation (1.7) for restarting the calculation process. The iteration process is stoped when the tolerance desired is reached.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure06.jpg|thumb|center|300px|Figure 2: Time step reduction]]&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How to Generate Info needed in Porous Media===&lt;br /&gt;
====SoilMap====&lt;br /&gt;
Model needs to know soil ID in each cell and layer to pick hydraulic properties from that type of soil.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant value&lt;br /&gt;
* Soil Grid. One possible option is to associate with soil shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the soil shape file and iii) the corespondence between soil codes and soil ID defined in data file. &lt;br /&gt;
&lt;br /&gt;
Soil ID must be defined in [[Module_FillMatrix|Module FillMatrix]] standards for each soil horizon defined (grid example):&lt;br /&gt;
 &amp;lt;beginhorizon&amp;gt;&lt;br /&gt;
 KLB                       : 1&lt;br /&gt;
 KUB                       : 10&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : SoilID&lt;br /&gt;
 DEFAULTVALUE              : 1&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\SoilID200m.dat&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 ..&lt;br /&gt;
 &amp;lt;endhorizon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Remarks'''&lt;br /&gt;
&lt;br /&gt;
All the soil ID's appearing in the soil grid(s) must be defined in the PorousMedia data file in terms of hydraulic properties:&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 1&lt;br /&gt;
 THETA_S                   : 0.3859&lt;br /&gt;
 THETA_R                   : 0.0476&lt;br /&gt;
 N_FIT                     : 1.39&lt;br /&gt;
 SAT_K                     : 3.5556e-6&lt;br /&gt;
 ALPHA                     : 2.75&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 THETA_CV_MIN              : 0.2844&lt;br /&gt;
 THETA_CV_MAX              : 0.3791&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 ID                        : 2&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
====Soil Bottom====&lt;br /&gt;
The soil depth must be known by the model. This is computed by the model from terrain altitude (topography) and soil bottom altitude. As so, a soil bottom grid is needed.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Grid File. &lt;br /&gt;
Soil depth (and soil bottom altitude, the effective grid needed) can be defined with a constant depth or estimated from slope [[HOW TO SoilBottom LINK]].&lt;br /&gt;
&lt;br /&gt;
Define the grid just generated, in the porous media data file with: &lt;br /&gt;
 BOTTOM_FILE  : ..\..\GeneralData\PorousMedia\BottomLevel.dat&lt;br /&gt;
&lt;br /&gt;
====Water Level====&lt;br /&gt;
Options:&lt;br /&gt;
*Grid File.&lt;br /&gt;
The water table altitude represents the initial altitude of the water table. &lt;br /&gt;
It is recommended to do a spin-up run to estabilize water level and then do a continuous simulation starting with the final water table achieved.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginwaterlevel&amp;gt;&lt;br /&gt;
 NAME                      : waterlevel&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 0&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\WaterLevel0.50.dat&lt;br /&gt;
 &amp;lt;endwaterlevel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Impermeability====&lt;br /&gt;
Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Constant Value.&lt;br /&gt;
* Grid File. One possible option is to associate with land use shape file. In this case can use MOHID GIS going to menu [Tools]-&amp;gt;[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.&lt;br /&gt;
Use the following blocks with [[Module_FillMatrix|Module FillMatrix]] standards:&lt;br /&gt;
 &amp;lt;beginimpermeablefraction&amp;gt;&lt;br /&gt;
 NAME                      : impermeablefraction&lt;br /&gt;
 INITIALIZATION_METHOD     : ASCII_FILE&lt;br /&gt;
 DEFAULTVALUE              : 0&lt;br /&gt;
 REMAIN_CONSTANT           : 1&lt;br /&gt;
 FILENAME                  : ..\..\GeneralData\PorousMedia\AreaImpermeavel.dat&lt;br /&gt;
 &amp;lt;endimpermeablefraction&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
*Jury,W.A.,Gardner,W.R.,Gardner,W.H., 1991,Soil Physics&lt;br /&gt;
*Van Genuchten, M.T., A closed form equation for predicting the hydraulic conductivity of unsaturated soils&lt;br /&gt;
*Wu,J.,Zhang, R., Gui,S.,1999, Modelling soil water movement with water uptake by roots, Plant and soil 215: 7-17&lt;br /&gt;
*Marcel G.Schaap and martinus Th. van Genuchten, A modified Maulem van Genuchten Formulation for Improved Description of Hydraulic Conductivity&lt;br /&gt;
Near Saturation, 16 December 2005&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
 Keywords read in the Data File&lt;br /&gt;
 &lt;br /&gt;
 Keyword                   : Data Type         Default     !Comment&lt;br /&gt;
 &lt;br /&gt;
 BOTTOM_FILE               : char              -           !Path to Bottom Topography File&lt;br /&gt;
 START_WITH_FIELD          : logical           1           !Sets Theta initial Field Capacity&lt;br /&gt;
 CONTINUOUS                : logical           0           !Continues from previous run&lt;br /&gt;
 STOP_ON_WRONG_DATE        : logical           1           !Stops if previous run end is different from actual&lt;br /&gt;
                                                           !Start&lt;br /&gt;
 OUTPUT_TIME               : sec. sec. sec.    -           !Output Time&lt;br /&gt;
 TIME_SERIE_LOCATION       : char              -           !Path to File which defines Time Series&lt;br /&gt;
 CONTINUOUS_OUTPUT_FILE    : logical           1           !Writes &amp;quot;famous&amp;quot; iter.log&lt;br /&gt;
 CONDUTIVITYFACE           : integer           1           !Way to interpolate conducivity face&lt;br /&gt;
                                                           !1 - Average, 2 - Maximum, 3 - Minimum, 4 - Weigthed&lt;br /&gt;
 HORIZONTAL_K_FACTOR       : real              1.0         !Factor for Horizontal Conductivity = Kh / Kv&lt;br /&gt;
 CUT_OFF_THETA_LOW         : real              1e-6        !Disables calculation when Theta is near ThetaR&lt;br /&gt;
 CUT_OFF_THETA_HIGH        : real              1e-15       !Set Theta = ThetaS when Theta &amp;gt; ThetaS - CUT_OFF_THETA_HIGH&lt;br /&gt;
 MIN_ITER                  : integer           2           !Number of iterations below which the DT is increased&lt;br /&gt;
 MAX_ITER                  : integer           3           !Number of iterations above which the DT is decreased&lt;br /&gt;
 LIMIT_ITER                : integer           50          !Number of iterations of a time step (for restart)&lt;br /&gt;
 THETA_TOLERANCE           : real              0.001       !Converge Parameter&lt;br /&gt;
 INCREASE_DT               : real              1.25        !Increase of DT when iter &amp;lt; MIN_ITER&lt;br /&gt;
 DECREASE_DT               : real              0.70        !Decrease of DT when iter &amp;gt; MAX_ITER&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                      : Theta / waterlevel &lt;br /&gt;
 &lt;br /&gt;
 see Module FillMatrix for more options&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some keywords of the PorousMedia input file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginsoiltype&amp;gt;&lt;br /&gt;
 *Saturated water content&lt;br /&gt;
 THETA_S                   : 0.55&lt;br /&gt;
 &lt;br /&gt;
 *residual water content&lt;br /&gt;
 THETA_R                   : 0.1&lt;br /&gt;
 &lt;br /&gt;
 *N of Van Genuchten: 1.5(clay) to 4.5 (sandy)&lt;br /&gt;
 N_FIT                     : 1.15&lt;br /&gt;
 &lt;br /&gt;
 *Saturated hydraulic conductivity&lt;br /&gt;
 SAT_K                     : 1.39e-8&lt;br /&gt;
 &lt;br /&gt;
 *alpha of Van Genuchten: 0.005 (clay) - 0.035 (sandy)&lt;br /&gt;
 ALPHA                     : 0.02&lt;br /&gt;
 &lt;br /&gt;
 *L of Mualem - Van Genuchten (mostly 0.5)&lt;br /&gt;
 L_FIT                     : 0.50&lt;br /&gt;
 &amp;lt;endsoiltype&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4397</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4397"/>
				<updated>2011-03-07T16:09:01Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula (1.3) are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* Hubert Chanson|Chanson, H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages &lt;br /&gt;
*http://www.hkh-friend.net.np/rhdc/training/lectures/HEGGEN/Tc_3.pdf&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4396</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4396"/>
				<updated>2011-03-07T16:08:43Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula (1.3) are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* Hubert Chanson|Chanson, H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages &lt;br /&gt;
*[http://www.hkh-friend.net.np/rhdc/training/lectures/HEGGEN/Tc_3.pdf]&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4395</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4395"/>
				<updated>2011-03-07T16:07:22Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula (1.3) are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* Hubert Chanson|Chanson, H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages &lt;br /&gt;
*[[http://www.hkh-friend.net.np/rhdc/training/lectures/HEGGEN/Tc_3.pdf]]&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4394</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4394"/>
				<updated>2011-03-07T16:05:42Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Calculated Flows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula (1.3) are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* Hubert Chanson|Chanson, H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages (ISBN 978 0 7506 5978 9)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4393</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4393"/>
				<updated>2011-03-07T16:05:19Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* Hubert Chanson|Chanson, H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages (ISBN 978 0 7506 5978 9)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4392</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4392"/>
				<updated>2011-03-07T16:05:04Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* Hubert Chanson|Chanson, H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages (ISBN 978 0 7506 5978 9)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4391</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4391"/>
				<updated>2011-03-07T16:04:53Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* Hubert Chanson|Chanson, H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages (ISBN 978 0 7506 5978 9)&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4390</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4390"/>
				<updated>2011-03-07T16:04:38Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* [[Hubert Chanson|Chanson]], H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages (ISBN 978 0 7506 5978 9)&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4389</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4389"/>
				<updated>2011-03-07T16:04:24Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* How To Generate Manning Coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*Brown, Rebecca (2006). &amp;quot;Size of the Moon,&amp;quot; ''Scientific American'', 51(78).&lt;br /&gt;
*Miller, Edward (2005). ''The Sun''. Academic Press.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4388</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4388"/>
				<updated>2011-03-07T16:02:21Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sun is pretty big,&amp;lt;ref&amp;gt;Miller 2005, p. 1.&amp;lt;/ref&amp;gt; but the moon is not so big.&amp;lt;ref&amp;gt;Brown 2006, p. 2.&amp;lt;/ref&amp;gt; The sun is also quite hot.&amp;lt;ref&amp;gt;Miller 2005, p. 3.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Outputs==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*Brown, Rebecca (2006). &amp;quot;Size of the Moon,&amp;quot; ''Scientific American'', 51(78).&lt;br /&gt;
*Miller, Edward (2005). ''The Sun''. Academic Press.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4387</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4387"/>
				<updated>2011-03-07T16:01:34Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Outputs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sun is pretty big,&amp;lt;ref&amp;gt;Miller 2005, p. 1.&amp;lt;/ref&amp;gt; but the moon is not so big.&amp;lt;ref&amp;gt;Brown 2006, p. 2.&amp;lt;/ref&amp;gt; The sun is also quite hot.&amp;lt;ref&amp;gt;Miller 2005, p. 3.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*Brown, Rebecca (2006). &amp;quot;Size of the Moon,&amp;quot; ''Scientific American'', 51(78).&lt;br /&gt;
*Miller, Edward (2005). ''The Sun''. Academic Press.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Template:Reflist&amp;diff=4386</id>
		<title>Template:Reflist</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Template:Reflist&amp;diff=4386"/>
				<updated>2011-03-07T16:01:23Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: New page: &amp;lt;ref&amp;gt;Miller 2005, p. 1.&amp;lt;/ref&amp;gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[&amp;lt;ref&amp;gt;Miller 2005, p. 1.&amp;lt;/ref&amp;gt;]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Help:Contents&amp;diff=4385</id>
		<title>Help:Contents</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Help:Contents&amp;diff=4385"/>
				<updated>2011-03-07T16:00:55Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: New page: Link title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Link title]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4384</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4384"/>
				<updated>2011-03-07T15:59:45Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* General */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4383</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4383"/>
				<updated>2011-03-07T15:57:44Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Manning Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation &amp;lt;ref&amp;gt;Gauckler, P. (1867), Etudes Théoriques et Pratiques sur l'Ecoulement et le Mouvement des Eaux, Comptes Rendues de l'Académie des Sciences, Paris, France, Tome 64, pp. 818–822&amp;lt;/ref&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
===General===&lt;br /&gt;
* [[Hubert Chanson|Chanson]], H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages (ISBN 978 0 7506 5978 9)&lt;br /&gt;
* Walkowiak, D. (Ed.) ''Open Channel Flow Measurement Handbook'' (2006) Teledyne ISCO, 6th ed., ISBN 0962275735.&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4382</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4382"/>
				<updated>2011-03-07T15:56:12Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
===General===&lt;br /&gt;
* [[Hubert Chanson|Chanson]], H. (2004), The Hydraulics of Open Channel Flow, Butterworth-Heinemann, Oxford, UK, 2nd edition, 630 pages (ISBN 978 0 7506 5978 9)&lt;br /&gt;
* Walkowiak, D. (Ed.) ''Open Channel Flow Measurement Handbook'' (2006) Teledyne ISCO, 6th ed., ISBN 0962275735.&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4381</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4381"/>
				<updated>2011-03-07T15:54:40Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4380</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4380"/>
				<updated>2011-03-07T15:21:24Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation &amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist|refs=&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot;&amp;gt;Miller, Edward.''The Sun''. Academic Press, 2005, p. 23.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Miller2005p34&amp;quot;&amp;gt;Miller, Edward.''The Sun''. Academic Press, 2005, p. 34.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Brown2006&amp;quot;&amp;gt;Brown, Rebecca. &amp;quot;Size of the Moon,&amp;quot; ''Scientific American,'' 51(78):46&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4379</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4379"/>
				<updated>2011-03-07T15:20:41Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist|refs=&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Miller2005p23&amp;quot;&amp;gt;Miller, Edward.''The Sun''. Academic Press, 2005, p. 23.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Miller2005p34&amp;quot;&amp;gt;Miller, Edward.''The Sun''. Academic Press, 2005, p. 34.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Brown2006&amp;quot;&amp;gt;Brown, Rebecca. &amp;quot;Size of the Moon,&amp;quot; ''Scientific American,'' 51(78):46&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4378</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4378"/>
				<updated>2011-03-07T14:45:39Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Calculated Flows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|upright=2.0|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|upright=2|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|upright=2|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4377</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4377"/>
				<updated>2011-03-07T14:43:06Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Slope */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.4cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|250px|250px|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|1000px|500px|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|500px|500px|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4376</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4376"/>
				<updated>2011-03-07T14:42:33Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Slope */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.5cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5.1cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5.1cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.5cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|250px|250px|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|1000px|500px|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|500px|500px|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4375</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4375"/>
				<updated>2011-03-07T14:41:52Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Manning Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5.7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.4cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.5cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|250px|250px|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|1000px|500px|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|500px|500px|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4374</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4374"/>
				<updated>2011-03-07T14:41:30Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Manning Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {6cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.4cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.5cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|250px|250px|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|1000px|500px|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|500px|500px|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4373</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4373"/>
				<updated>2011-03-07T14:41:07Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Manning Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {5cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.4cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.5cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|250px|250px|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|1000px|500px|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|500px|500px|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4372</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4372"/>
				<updated>2011-03-07T14:40:24Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Manning Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {7cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.4cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.5cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|250px|250px|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|1000px|500px|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|500px|500px|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4371</id>
		<title>Module Runoff</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Module_Runoff&amp;diff=4371"/>
				<updated>2011-03-07T14:36:41Z</updated>
		
		<summary type="html">&lt;p&gt;Federico: /* Manning Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Module Runoff allows the calculation of the overland surface runoff over a regular structured grid as function of the water column and terrain slope. The water column, namely the water located above the terrain, is given by the [[Module Basin]] where the precipitation is converting into a water column considering the losses due to the evapotranspiration and the infiltration processes. In particular the overland flow is evaluated by the Manning’s equation.&lt;br /&gt;
&lt;br /&gt;
==Main Processes==&lt;br /&gt;
===Manning Equation===&lt;br /&gt;
&lt;br /&gt;
The overland surface runoff is calculated at the interface of the grid cells and it is obtained by applying the Manning's equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q=\frac{1}{n}\cdot A\cdot R_{h}^{2/3}\cdot s^{1/2}\hspace {3cm}(1.1)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''Q'' || is the overland flow (m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;/s)&lt;br /&gt;
|-&lt;br /&gt;
| ''A'' || is the area of the cross-section (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || is the Manning coefficient (s/m&amp;lt;sup&amp;gt;1/3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| ''R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;''|| is the hydraulic radius (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''S'' || is the slope of the water surface  (m/m) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to apply the Manning's equation each grid cell is considered as an open channel as shown in the scheme below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure00.jpg|thumb|center|upright=8.0|Figure 1: Cell scheme]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
| ''h'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''w'' || is the cell width (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Hydraulics radius===&lt;br /&gt;
&lt;br /&gt;
The hydraulic radius is evaluated by the formula:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[R_{h}=\frac{w\cdot h}{w+2\cdot h}\hspace {6.8cm}(1.2)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In according with the Figure 1  the width is 'much' grater than the water column (w&amp;gt;&amp;gt;h) and the hydraulic radius can be considered only R&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;=h. Therefore the Manning's equation can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[Q=\frac{1}{n}\cdot w\cdot h^{5/3}\cdot s^{1/2}\hspace {5.8cm}(1.3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slope===&lt;br /&gt;
&lt;br /&gt;
The slope (s) is calculated by the difference of the water levels at the extremities of the considered cell:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[H(i,j)=\h(i,j)+T(i,j)\hspace {5.4cm}(1.4)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''H'' || is the water level (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''h(i,j)'' || is the water column (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''T(i,j)'' || is the Topography (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''j'' || is X direction &lt;br /&gt;
|-&lt;br /&gt;
| ''i'' || is Y direction&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{x}=\frac{H(i,j-1)-H(i,j)}{DZX}\hspace {5cm}(1.5)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt;'' || is the slope in the X direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j-1)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZX'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\[s_{y}=\frac{H(i-1,j)-H(i,j)}{DZY}\hspace {5cm}(1.6)&amp;lt;/math&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s&amp;lt;sub&amp;gt;y&amp;lt;/sub&amp;gt;'' || is the slope in the Y direction (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i-1,j)'' || is the water column at the left face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''H(i,j)'' || is the water column at the right face of the cell (m)&lt;br /&gt;
|-&lt;br /&gt;
| ''DZY'' || is width of the cell in the X direction (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In order to take in account the limitation given by the Manning's equation (1.1)[it tends to overestimate the flow velocity when solpe &amp;gt; 0.04] , the slope value obtained by the formulas (1.5) and (1.6) it  is subsequently adjusted by the following function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;s= 0.05247 + 0.06363 \cdot s - 0.182\cdot e^{(-62.38\cdot s)}\hspace {2.5cm}(1.7)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:{|&lt;br /&gt;
|''s'' || is the slope (m)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Manning cofficient===&lt;br /&gt;
&lt;br /&gt;
The Manning coefficient is derived from the land use map. Indeed by using a GIS program it is possible to associate at each cell a land use class in order to obtain by the support of an abacus a Manning coefficent value.&lt;br /&gt;
&lt;br /&gt;
===Calculated Flows===&lt;br /&gt;
&lt;br /&gt;
The flows obtained by the formula [3] are diveded into flows in X direction and Y direction according with the Figure 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Figure02.jpg|thumb|center|250px|250px|Figure 2:Flow directions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the eventuality presence of a river in the basin analyzed it is possible to obtain two different configurations:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
* Flow to the river when the water level of the river is lower that soil one&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure03.jpg|thumb|center|1000px|500px|Figure 3: Flow to the river]]&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
* Flow from the river when the water level is higher than the soil one&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
[[Image:Figure04.jpg|thumb|center|500px|500px|Figure 4: Flow from the river]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Other Features==&lt;br /&gt;
===How To Generate Manning Coefficients===&lt;br /&gt;
Manning coefficients must be provided in runoff data file.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
* Use a constant value &lt;br /&gt;
* Define a Manning's grid: One possible option is to associate Manning with land use classes (shape file). In this case can use MOHID GIS going to menu [Tools] &amp;lt;math&amp;gt;\Longrightarrow &amp;lt;/math&amp;gt;  [Shape to Grid Data] and provide:&lt;br /&gt;
:{|&lt;br /&gt;
|(i) the grid (model grid)&lt;br /&gt;
|-&lt;br /&gt;
|ii) the land use shape file &lt;br /&gt;
|-&lt;br /&gt;
| iii) the corespondence between land use codes and Manning&lt;br /&gt;
|}&lt;br /&gt;
Use Manning inicialization with [[Module_FillMatrix|Module FillMatrix]] standards in the block:&lt;br /&gt;
 &amp;lt;BeginOverLandCoefficient&amp;gt;&lt;br /&gt;
 FILE_IN_TIME           : NONE&lt;br /&gt;
 INITIALIZATION_METHOD  : ASCII_FILE&lt;br /&gt;
 REMAIN_CONSTANT        : 1&lt;br /&gt;
 DEFAULTVALUE           : 0.08&lt;br /&gt;
 FILENAME               : ..\..\GeneralData\Runoff\Mannings200m_v2.dat &lt;br /&gt;
 &amp;lt;EndOverLandCoefficient&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
==References ==&lt;br /&gt;
&lt;br /&gt;
==Data File ==&lt;br /&gt;
&lt;br /&gt;
===Keywords===&lt;br /&gt;
&lt;br /&gt;
===Sample===&lt;br /&gt;
&lt;br /&gt;
[[Category: MOHID Land]]&lt;/div&gt;</summary>
		<author><name>Federico</name></author>	</entry>

	</feed>