Model help:TopoFlow-Channels-Dynamic Wave: Difference between revisions

From CSDMS
(Created page with "<!-- How to create a new "Model help" page: 1) Log in to the wiki 2) Create a new page for each model, by using the following URL: * http://csdms.colorado.edu/wiki/Model help:...")
 
m (Text replacement - "http://csdms.colorado.edu/wiki/" to "https://csdms.colorado.edu/wiki/")
 
(27 intermediate revisions by 3 users not shown)
Line 3: Line 3:
1) Log in to the wiki
1) Log in to the wiki
2) Create a new page for each model, by using the following URL:
2) Create a new page for each model, by using the following URL:
   * http://csdms.colorado.edu/wiki/Model help:<modelname>
   * https://csdms.colorado.edu/wiki/Model help:<modelname>
   * Replace <modelname> with the name of a model
   * Replace <modelname> with the name of a model
3) Than follow the link "edit this page"
3) Than follow the link "edit this page"
Line 28: Line 28:
|width="20%"| Component status
|width="20%"| Component status
|width="60%"| Enabled / Disabled
|width="60%"| Enabled / Disabled
|width="20%"| -
|width="20%"| [-]
|-
|-
| Input directory
| Input directory
Line 71: Line 71:
|-
|-
| Manning N type
| Manning N type
| grid of D8 flow slopes in binary file
| grid of D8 flow slopes in binary file (Allowed input types: Scalar / Grid /Time_Series /Grid_Sequence )
| Allowed input types: Scalar / Grid /Time_Series /Grid_Sequence
| [-]
|-
|-
| Manning N
| Manning N
Line 209: Line 209:


==Uses ports==
==Uses ports==
<span class="remove_this_tag">This will be something that the CSDMS facility will add</span>
 
• Meteorology <br />
• Snow (Snowmelt) <br />
• Evap (Evaporation) <br />
• Infil (Infiltration) <br />
• Satzone (Subsurface flow in saturated zone) <br />
• Ice (Icemelt) <br />
• Diversions (sources, sinks, canals) <br />


==Provides ports==
==Provides ports==
<span class="remove_this_tag">This will be something that the CSDMS facility will add</span>
 
• Channels (surface water flow in a network of channels) <br />
• Configure (tabbed dialog GUI to change settings) <br />
• Run (only if used as the Driver) <br />


==Main equations==
==Main equations==
* Mass conservation equation
* Mass conservation equation
::::{|
::::{|
|width=500px|<math>\Delta V \left (i,t \right)=\Delta t \left (R \left (i,t \right) \Delta x \Delta y -Q \left (i,t \right) +\Sigma_{k} Q \left (k,t \right) \right) </math>
|width=500px|<math>\Delta V \left (i,t \right)=\Delta t \ast [ R \left (i,t \right) \Delta x \Delta y -Q \left (i,t \right) +\Sigma_{k} Q \left (k,t \right) ] </math>
|width=50px align="right"|(1)
|width=50px align="right"|(1)
|}
|}
* Mean water depth in channel segment (if θ > 0 )
* Mean water depth in channel segment (if θ > 0 )
::::{|
::::{|
|width=500px|<math>d=\left (\left (w^2 + 4 \tan \left (\theta\right) V / L\right)^{\frac{1}{2}} -w\right) / \left ( 2 \tan \left (\theta\right)\right) </math>
|width=500px|<math>d=\{[w^2 + 4 \tan \left (\theta\right) V / L] ^{\frac{1}{2}} -w\} / [ 2 \tan \left (\theta\right)] </math>
|width=50px align="right"|(2)
|width=50px align="right"|(2)
|}
|}
* Mean water depth in channel segment (if θ = 0)
* Mean water depth in channel segment (if θ = 0)
::::{|
::::{|
|width=500px|<math>d= V / \left (w L \right) </math>
|width=500px|<math>d= V / [w \ast L ] </math>
|width=50px align="right"|(3)
|width=50px align="right"|(3)
|}
|}
* Momentum conservation equation
* Momentum conservation equation
::::{|
::::{|
|width=500px|<math>\Delta v \left (i,t \right)=\Delta t \left ( T_{1} + T_{2} + T_{3} + T_{4} + T_{5} \right) / \left (d \left (i,t \right) A_{w}\right) </math>
|width=500px|<math>\Delta v \left (i,t \right)=\Delta t \ast \left ( T_{1} + T_{2} + T_{3} + T_{4} + T_{5} \right) / [d \left (i,t \right) \ast A_{w}] </math>
|width=50px align="right"|(4)
|width=50px align="right"|(4)
|}
|}
* Efflux term
* Efflux term
::::{|
::::{|
|width=500px|<math>T_{1}=v \left (i,t \right) Q \left (i,t \right) \left ( C - 1 \right) </math>
|width=500px|<math>T_{1}=v \left (i,t \right) \ast Q \left (i,t \right) \ast \left ( C - 1 \right) </math>
|width=50px align="right"|(5)
|width=50px align="right"|(5)
|}
|}
* Influx term
* Influx term
::::{|
::::{|
|width=500px|<math>T_{2}=\Sigma_{k} \left ( v \left (k,t \right) - v \left (i,t \right) C \right) Q \left (k,t \right) </math>
|width=500px|<math>T_{2}=\Sigma_{k} [ v \left (k,t \right) - v \left (i,t \right) \ast C ] \ast Q \left (k,t \right) </math>
|width=50px align="right"|(6)
|width=50px align="right"|(6)
|}
|}
* "New mass" momentum term
* "New mass" momentum term
::::{|
::::{|
|width=500px|<math>T_{3}=- v \left (i,t \right) C R \left (i,t \right) \Delta x \Delta y </math>
|width=500px|<math>T_{3}=- v \left (i,t \right) \ast C \ast R \left (i,t \right) \ast \Delta x \ast \Delta y </math>
|width=50px align="right"|(7)
|width=50px align="right"|(7)
|}
|}
* Gravity term
* Gravity term
::::{|
::::{|
|width=500px|<math>T_{4}=A_{w} \left (g d \left (i,t \right) S \left (i,t \right)\right) </math>
|width=500px|<math>T_{4}=A_{w} \ast [g \ast d \left (i,t \right) \ast S \left (i,t \right)] </math>
|width=50px align="right"|(8)
|width=50px align="right"|(8)
|}
|}
* Friction term
* Friction term
::::{|
::::{|
|width=500px|<math>T_{5}=- A_{w} \left (f\left (i,t \right) v \left (i,t \right)^2 \right) </math>
|width=500px|<math>T_{5}=- A_{w} \ast [ f\left (i,t \right) \ast v \left (i,t \right)^2 ] </math>
|width=50px align="right"|(9)
|width=50px align="right"|(9)
|}
|}
* Discharge of water
* Discharge of water
::::{|
::::{|
|width=500px|<math>Q=v A_{w} </math>
|width=500px|<math>Q=v \ast A_{w} </math>
|width=50px align="right"|(10)
|width=50px align="right"|(10)
|}
|}
* Friction factor (for law of the wall)
* Friction factor (for law of the wall)
::::{|
::::{|
|width=500px|<math>f \left (i,t \right)= \left (/kappa / LN \left (a d \left (i,t \right) / z_{0}\right)\right)^2 </math>
|width=500px|<math>f \left (i,t \right)= [\kappa / LN \left (a \ast d \left (i,t \right) / z_{0}\right)]^2 </math>
|width=50px align="right"|(11)
|width=50px align="right"|(11)
|}
|}
* Friction factor for Manning's equation
* Friction factor for Manning's equation
::::{|
::::{|
|width=500px|<math>f \left (i,t \right)=g n^2 / R_{h}\left (i,t \right)^{\frac{1}{3}} </math>
|width=500px|<math>f \left (i,t \right)=g \ast n^2 / R_{h}\left (i,t \right)^{\frac{1}{3}} </math>
|width=50px align="right"|(12)
|width=50px align="right"|(12)
|}
|}
Line 282: Line 292:
* Top surface area of a channel segment
* Top surface area of a channel segment
::::{|
::::{|
|width=500px|<math>A_{t}=w_{t} L </math>
|width=500px|<math>A_{t}=w_{t} \ast L </math>
|width=50px align="right"|(14)
|width=50px align="right"|(14)
|}
* Top width of a wetted trapezoidal cross-section
::::{|
|width=500px|<math>w_{t}= w + [ 2 \ast d \ast \tan \left ( \theta \right ) ] </math>
|width=50px align="right"|(15)
|}
|}
* hydraulic radius
* hydraulic radius
::::{|
::::{|
|width=500px|<math>R_{h}= A_{w} /P_{w}</math>
|width=500px|<math>R_{h}= A_{w} /P_{w}</math>
|width=50px align="right"|(15)
|width=50px align="right"|(16)
|}
|}
* wetted cross-sectional area of a trapezoid
* wetted cross-sectional area of a trapezoid
::::{|
::::{|
|width=500px|<math>A_{w}= d \left (w + \left (d \tan \left (\theta\right)\right)\right) </math>
|width=500px|<math>A_{w}= d \ast [ w + \left (d \ast \tan \left (\theta\right)\right)] </math>
|width=50px align="right"|(16)
|width=50px align="right"|(17)
|}  
|}  
* Wetted perimeter of a trapezoid
* Wetted perimeter of a trapezoid
::::{|
::::{|
|width=500px|<math>P_{w}= w + \left ( 2 d / cos\left (\theta\right)\right)</math>
|width=500px|<math>P_{w}= w + [ 2 \ast d / cos\left (\theta\right)] </math>
|width=50px align="right"|(17)
|width=50px align="right"|(18)
|}  
|}  
* wetted volume of a trapezoidal channel
* wetted volume of a trapezoidal channel
::::{|
::::{|
|width=500px|<math>V_{w}=d^2 \left (L \tan \left (\theta\right)\right) +d \left (L w\right) </math>
|width=500px|<math>V_{w}=d^2 \ast [ L \ast \tan \left (\theta\right)] +d \ast [ L \ast w ] </math>
|width=50px align="right"|(18)
|width=50px align="right"|(19)
|}  
|}  


Line 314: Line 329:
| ΔV
| ΔV
| change in water volume
| change in water volume
| m^3
| m<sup>3</sup>
|-
|-
| Δt
| Δt
Line 342: Line 357:
| V
| V
| water volume
| water volume
| m^3
| m<sup>3</sup>
|-
|-
| L
| L
Line 348: Line 363:
| m
| m
|-
|-
| T<sub>1
| T<sub>1</sub>
| efflux term
| efflux term
| m^4 / s^2
| m<sup>4</sup> / s<sup>2</sup>
|-
|-
| T<sub>2
| T<sub>2</sub>
| influx term
| influx term
| m^4 / s^2
| m<sup>4</sup> / s<sup>2</sup>
|-
|-
| T<sub>3
| T<sub>3</sub>
| "new mass" monmentum term
| "new mass" momentum term
| m
| m<sup>4</sup> / s<sup>2</sup>
|-
|-
| T<sub>4
| T<sub>4</sub>
| gravity term
| gravity term
| m^4 / s^2
| m<sup>4</sup> / s<sup>2</sup>
|-
|-
| T<sub>5
| T<sub>5</sub>
| friction term
| friction term
| m
| m<sup>4</sup> / s<sup>2</sup>
|-
|-
| A<sub>w</sub>
| A<sub>w</sub>
| wetted cross-sectional area of a trapezoid
| wetted cross-sectional area of a trapezoid
| m^2
| m<sup>2</sup>
|-
|-
| n
| n
Line 378: Line 393:
| P<sub>w</sub>
| P<sub>w</sub>
| wetted perimeter of a trapezoid
| wetted perimeter of a trapezoid
| m
| m<sup>2</sup>
|-
|-
| S
| S
Line 386: Line 401:
| g
| g
| gravity acceleration
| gravity acceleration
| m / s^2
| m / s<sup>2</sup>
|-
|-
| z<sub>0</sub>
| z<sub>0</sub>
Line 402: Line 417:
| C  
| C  
| constant
| constant
| -
| -  
|-
|-
| A_{t}
| A<sub>t</sub>
| top surface area of a channel segment
| top surface area of a channel segment
| m^2
| m<sup>2</sup>
|-
|-
| W_{t}
| W<sub>t</sub>
| top width of a wetted trapezoidal cross section
| top width of a wetted trapezoidal cross section
| m
| m
|-
|-
| V_{w}
| V<sub>w</sub>
| wetted volume of a trapezoidal channel
| wetted volume of a trapezoidal channel
| m
| m
Line 424: Line 439:
| Q
| Q
| discharge of water
| discharge of water
| m^3 / s
| m<sup>3</sup> / s
|-
|-
| v
| v
Line 450: Line 465:
   </div>
   </div>
</div>
</div>
==Notes==
==Notes==
* Note on input parameters
 
'''''Notes on Input Parameters'''''
 
The input variables for the dynamic wave method should usually be specified as grids, except in special cases.
The input variables for the dynamic wave method should usually be specified as grids, except in special cases.


Single grids and grid sequences are assumed to be stored as RTG and RTS files, respectively. Time series are assumed to be stored as text files, with one value per line. For a time series or grid sequence, the time between values must coincide with the timestep provided.
Single grids and grid sequences are assumed to be stored as RTG and RTS files, respectively. Time series are assumed to be stored as text files, with one value per line. For a time series or grid sequence, the time between values must coincide with the timestep provided.


Flow directions are determined by a grid of D8 flow codes. All grids are assumed to be stored as RTG (RiverTools Grid) files and flow codes are assumed to follow the Jenson (1984) convention (see above) that is also used for RiverTools D8 flow grids. Flow grids and slope grids can be created by RiverTools or a similar program and the other grids can be created using tools in the TopoFlow Create menu.
Flow directions are determined by a grid of D8 flow codes. All grids are assumed to be stored as RTG (RiverTools Grid) files and flow codes are assumed to follow the Jenson (1984) convention (i.e. [NE,E,SE,S,SW,W,NW,N] → [1,2,4,8,16,32,64,128]) that is also used for RiverTools D8 flow grids. Flow grids and slope grids can be created by RiverTools or a similar program and the other grids can be created using tools in the TopoFlow Create menu.


Bed slope, S, can be computed from a DEM by using the Create → Profile-smoothed DEM dialog or by using hydrologic GIS software. The current version assumes that all channels have trapezoidal cross-sections (see Notes below) but allows bottom-width and bank angle to vary spatially as grids. TopoFlow has pre-processing tools in the Create menu for creating grids of bed width, bank angle and bed roughness. The Create → Channel Geometry Grids → With Area Grid tool allows you to parameterize these variables as power-law functions of contributing area. The Create → Channel Geometry Grids → With HS Order Grid tool allows you to assign values based on Horton-Strahler order.
Bed slope, S, can be computed from a DEM by using the Create → Profile-smoothed DEM dialog or by using hydrologic GIS software. The current version assumes that all channels have trapezoidal cross-sections (see Notes below) but allows bottom-width and bank angle to vary spatially as grids. TopoFlow has pre-processing tools in the Create menu for creating grids of bed width, bank angle and bed roughness. The Create → Channel Geometry Grids → With Area Grid tool allows you to parameterize these variables as power-law functions of contributing area. The Create → Channel Geometry Grids → With HS Order Grid tool allows you to assign values based on Horton-Strahler order.
Line 466: Line 484:
It is physically unrealistic to specify a spatially uniform initial flow depth by entering a scalar value greater than zero for init_depth. This will result in a very large peak in the hydrograph and may cause TopoFlow to crash. The Create → RTG File for Initial Depth tool can be used to create a grid of initial flow depths that varies spatially and is in steady-state equilibrium with a specified baseflow recharge rate.  
It is physically unrealistic to specify a spatially uniform initial flow depth by entering a scalar value greater than zero for init_depth. This will result in a very large peak in the hydrograph and may cause TopoFlow to crash. The Create → RTG File for Initial Depth tool can be used to create a grid of initial flow depths that varies spatially and is in steady-state equilibrium with a specified baseflow recharge rate.  


*Note on the equations
'''''Notes on the Equations'''''
 
All variables and their units can be seen by expanding the Nomenclature section above.
 
The dynamic wave method is the most complete and complex method for modeling flow in open channels. This method retains all of the terms in the full, 1D momentum equation, including the gravity, friction and pressure gradient terms (as used by the diffusive wave method) as well as local and convective acceleration (or momentum flux) terms. This full equation is known as the St. Venant equation. In the current version of TopoFlow it is assumed that the flow directions are static and given by a D8 flow grid. In this case, integral vs. differential forms of the conservation equations for mass and momentum can be used.
The dynamic wave method is the most complete and complex method for modeling flow in open channels. This method retains all of the terms in the full, 1D momentum equation, including the gravity, friction and pressure gradient terms (as used by the diffusive wave method) as well as local and convective acceleration (or momentum flux) terms. This full equation is known as the St. Venant equation. In the current version of TopoFlow it is assumed that the flow directions are static and given by a D8 flow grid. In this case, integral vs. differential forms of the conservation equations for mass and momentum can be used.


Conservation of mass, in integral form, is represented by the first three equations above. The quantity, R, that appears in the first equation is known as the effective rainrate or excess rainrate and represents the sum of all vertical contributions to a grid cell's mass balance. R is computed as R = (P + M + G) - (I + E), where P = precipitation, M = snowmelt, G = seepage from subsurface, I = infiltration and E = evapotranspiration. (Note that R is technically not the same as the runoff, since runoff includes horizontal fluxes.) The summation sign in the first equation adds up all horizontal inflows to a grid cell from its neighbor grid cells. Mean channel flow depth, d, is then computed from channel geometry and the water volume that is computed for the corresponding grid cell. Note that channel length depends on distance between grid cell centers and sinuosity, while cross-sections are trapezoidal. When the bank angle, θ is greater than zero, the flow depth required to accomodate the water volume is computed by solving the last equation (a quadratic) for d to get the second equation.
Conservation of mass, in integral form, is represented by the equations above. The quantity, R, that appears in the first equation is known as the effective rainrate or excess rainrate and represents the sum of all vertical contributions to a grid cell's mass balance. R is computed as R = (P + M + G) - (I + E), where P = precipitation, M = snowmelt, G = seepage from subsurface, I = infiltration and E = evapotranspiration. (Note that R is technically not the same as the runoff, since runoff includes horizontal fluxes.) The summation sign in the first equation adds up all horizontal inflows to a grid cell from its neighbor grid cells. Mean channel flow depth, d, is then computed from channel geometry and the water volume that is computed for the corresponding grid cell. Note that channel length depends on distance between grid cell centers and sinuosity, while cross-sections are trapezoidal. When the bank angle, θ is greater than zero, the flow depth required to accomodate the water volume is computed by solving the last equation (a quadratic) for d to get the second equation.


Conservation of momentum, in integral form, is represented by the remaining equations above. The term T3 results from using the equation for mass conservation to simplify the one for momentum conservation. It represents the change in a grid cell's momentum balance due to the addition or subtraction of mass within the cell from vertical fluxes. Recall that momentum represents a product of mass and velocity, so changes in momentum can result from changes in mass or changes in velocity (chain rule).
Conservation of momentum, in integral form, is represented by the remaining equations above. The term T3 results from using the equation for mass conservation to simplify the one for momentum conservation. It represents the change in a grid cell's momentum balance due to the addition or subtraction of mass within the cell from vertical fluxes. Recall that momentum represents a product of mass and velocity, so changes in momentum can result from changes in mass or changes in velocity (chain rule).
Line 477: Line 498:
In the current version of TopoFlow (1.5 beta), water-surface slopes are set to zero if they ever become negative (implying upstream flow).
In the current version of TopoFlow (1.5 beta), water-surface slopes are set to zero if they ever become negative (implying upstream flow).


* Note on the current version
'''''Note on the current version'''''
It has also been assumed here that the water is incompressible; this allows us to take the density of water, ρ, to be a constant.  
 
It has also been assumed here that the water is incompressible; this allows us to take the density of water, ρ, to be a constant.


==Examples==
==Examples==
Line 484: Line 506:


<span class="remove_this_tag">Follow the next steps to include images / movies of simulations:</span>
<span class="remove_this_tag">Follow the next steps to include images / movies of simulations:</span>
* <span class="remove_this_tag">Upload file: http://csdms.colorado.edu/wiki/Special:Upload</span>
* <span class="remove_this_tag">Upload file: https://csdms.colorado.edu/wiki/Special:Upload</span>
* <span class="remove_this_tag">Create link to the file on your page: <nowiki>[[Image:<file name>]]</nowiki>.</span>
* <span class="remove_this_tag">Create link to the file on your page: <nowiki>[[Image:<file name>]]</nowiki>.</span>


Line 490: Line 512:


==Developer(s)==
==Developer(s)==
[[User:Gparker|Scott Peckham]]
[[User:Peckhams|Scott Peckham]]


==References==
==References==
Line 500: Line 522:


==Links==
==Links==
* [[http://csdms.colorado.edu/wiki/Model:TopoFlow-Channels-Dynamic_Wave Model:TopoFlow-Channels-Dynamic_Wave]]
 
* [[http://csdms.colorado.edu/wiki/Model:TopoFlow Model:TopoFlow]]
* [[Model help:TopoFlow-Channels-Kinematic Wave]]
* [[Model help:TopoFlow-Channels-Diffusive Wave]]
* [[Model help:TopoFlow-Diversions]]
 
* [[Model:TopoFlow-Channels-Dynamic_Wave]]  (Model metadata)
* [[Model:TopoFlow]]


[[Category:Modules]]
[[Category:Modules]]

Latest revision as of 17:18, 19 February 2018

The CSDMS Help System

TopoFlow-Channels-Dynamic Wave

The module is used to compute flow routing in a D8-based, spatial hydrologic model with dynamic wave process.

Model introduction

This process component is part of a spatially-distributed hydrologic model called TopoFlow, but it can now be used as a stand-alone model. The dynamic wave method is the most complete and complex method for modeling flow in open channels. This method retains all of the terms in the full, 1D momentum equation, including the gravity, friction and pressure gradient terms (as used by the diffusive wave method) as well as local and convective acceleration (or momentum flux) terms. This full equation is known as the St. Venant equation. In the current version of TopoFlow it is assumed that the flow directions are static and given by a D8 flow grid. In this case, integral vs. differential forms of the conservation equations for mass and momentum can be used.

Model parameters

Parameter Description Unit
Component status Enabled / Disabled [-]
Input directory The location of the input files [-]
Output directory The location for the output files [-]
Site prefix [-]
Case prefix [-]
Number of steps Number of simulation steps [-]
Time step [sec]
D8 flow code file grid of D8 flow codes in binary file [-]
D8 slope file grid of D8 flow slopes in binary file [-]
Manning flag Option to use Manning'n for roughness [-]
Law of Wall flag Option to use Law of Wall for roughness [-]
Manning N type grid of D8 flow slopes in binary file (Allowed input types: Scalar / Grid /Time_Series /Grid_Sequence ) [-]
Manning N Manning'n value [m / s^1/3]
Roughness z0 type Allowed input types: Scalar / Grid /Time_Series /Grid_Sequence [m]
Roughness z0 Law of Wall roughness value [m]
Parameter Description Unit
Bed width type Allowed input types: Scalar / Grid /Time_Series /Grid_Sequence [-]
Bank width bed width of trapezoid cross-section [m]
Bank angle type Allowed input types: Scalar / Grid /Time_Series /Grid_Sequence [-]
Bank angle bank angle of trapezoid cross-section [degree]
Init. depth type Allowed input types: Scalar / Grid /Time_Series /Grid_Sequence [-]
Init. depth initiate flow depth (If scalar, use 0.0) [m]
Sinuosity type Allowed input types: Scalar / Grid /Time_Series /Grid_Sequence [-]
Sinuosity absolute channel sinuosity [m / m]
Parameter Description Unit
Save grid timestep time interval between saved grids [sec]
Save Q grids toggle Option to save computed Q grids [-]
Save Q grids file file name for Q grid stack [m^3 / s]
Save u grids toggle Option to save computed u grids [-]
Save u grids file file name for u grid stack [m / s]
Save d grids toggle Option to save computed d grids [-]
Save d grids file file name for d grid stack [m]
Save f grids toggle Option to save computed f grids [-]
Save f grids file file name for f grid stack
Parameter Description Unit
Save pixels timestep time interval between time series vales [sec]
Save Q pixels toggle Option to save computed Q time series [-]
Save Q pixels file file name for Q time series [m^3 / s]
Save u pixels toggle Option to save computed u time series [-]
Save u pixels file file name for u time series [m / s]
Save d pixels toggle Option to save computed d time series [-]
Save d pixels file file name for d time series [m]
Save f pixels toggle Option to save computed f time series [-]
Save f pixels file file name for f time series [-]

Uses ports

• Meteorology
• Snow (Snowmelt)
• Evap (Evaporation)
• Infil (Infiltration)
• Satzone (Subsurface flow in saturated zone)
• Ice (Icemelt)
• Diversions (sources, sinks, canals)

Provides ports

• Channels (surface water flow in a network of channels)
• Configure (tabbed dialog GUI to change settings)
• Run (only if used as the Driver)

Main equations

  • Mass conservation equation
[math]\displaystyle{ \Delta V \left (i,t \right)=\Delta t \ast [ R \left (i,t \right) \Delta x \Delta y -Q \left (i,t \right) +\Sigma_{k} Q \left (k,t \right) ] }[/math] (1)
  • Mean water depth in channel segment (if θ > 0 )
[math]\displaystyle{ d=\{[w^2 + 4 \tan \left (\theta\right) V / L] ^{\frac{1}{2}} -w\} / [ 2 \tan \left (\theta\right)] }[/math] (2)
  • Mean water depth in channel segment (if θ = 0)
[math]\displaystyle{ d= V / [w \ast L ] }[/math] (3)
  • Momentum conservation equation
[math]\displaystyle{ \Delta v \left (i,t \right)=\Delta t \ast \left ( T_{1} + T_{2} + T_{3} + T_{4} + T_{5} \right) / [d \left (i,t \right) \ast A_{w}] }[/math] (4)
  • Efflux term
[math]\displaystyle{ T_{1}=v \left (i,t \right) \ast Q \left (i,t \right) \ast \left ( C - 1 \right) }[/math] (5)
  • Influx term
[math]\displaystyle{ T_{2}=\Sigma_{k} [ v \left (k,t \right) - v \left (i,t \right) \ast C ] \ast Q \left (k,t \right) }[/math] (6)
  • "New mass" momentum term
[math]\displaystyle{ T_{3}=- v \left (i,t \right) \ast C \ast R \left (i,t \right) \ast \Delta x \ast \Delta y }[/math] (7)
  • Gravity term
[math]\displaystyle{ T_{4}=A_{w} \ast [g \ast d \left (i,t \right) \ast S \left (i,t \right)] }[/math] (8)
  • Friction term
[math]\displaystyle{ T_{5}=- A_{w} \ast [ f\left (i,t \right) \ast v \left (i,t \right)^2 ] }[/math] (9)
  • Discharge of water
[math]\displaystyle{ Q=v \ast A_{w} }[/math] (10)
  • Friction factor (for law of the wall)
[math]\displaystyle{ f \left (i,t \right)= [\kappa / LN \left (a \ast d \left (i,t \right) / z_{0}\right)]^2 }[/math] (11)
  • Friction factor for Manning's equation
[math]\displaystyle{ f \left (i,t \right)=g \ast n^2 / R_{h}\left (i,t \right)^{\frac{1}{3}} }[/math] (12)
  • Area ratio appearing
[math]\displaystyle{ C=A_{w} / A_{t} }[/math] (13)
  • Top surface area of a channel segment
[math]\displaystyle{ A_{t}=w_{t} \ast L }[/math] (14)
  • Top width of a wetted trapezoidal cross-section
[math]\displaystyle{ w_{t}= w + [ 2 \ast d \ast \tan \left ( \theta \right ) ] }[/math] (15)
  • hydraulic radius
[math]\displaystyle{ R_{h}= A_{w} /P_{w} }[/math] (16)
  • wetted cross-sectional area of a trapezoid
[math]\displaystyle{ A_{w}= d \ast [ w + \left (d \ast \tan \left (\theta\right)\right)] }[/math] (17)
  • Wetted perimeter of a trapezoid
[math]\displaystyle{ P_{w}= w + [ 2 \ast d / cos\left (\theta\right)] }[/math] (18)
  • wetted volume of a trapezoidal channel
[math]\displaystyle{ V_{w}=d^2 \ast [ L \ast \tan \left (\theta\right)] +d \ast [ L \ast w ] }[/math] (19)

Notes

Notes on Input Parameters

The input variables for the dynamic wave method should usually be specified as grids, except in special cases.

Single grids and grid sequences are assumed to be stored as RTG and RTS files, respectively. Time series are assumed to be stored as text files, with one value per line. For a time series or grid sequence, the time between values must coincide with the timestep provided.

Flow directions are determined by a grid of D8 flow codes. All grids are assumed to be stored as RTG (RiverTools Grid) files and flow codes are assumed to follow the Jenson (1984) convention (i.e. [NE,E,SE,S,SW,W,NW,N] → [1,2,4,8,16,32,64,128]) that is also used for RiverTools D8 flow grids. Flow grids and slope grids can be created by RiverTools or a similar program and the other grids can be created using tools in the TopoFlow Create menu.

Bed slope, S, can be computed from a DEM by using the Create → Profile-smoothed DEM dialog or by using hydrologic GIS software. The current version assumes that all channels have trapezoidal cross-sections (see Notes below) but allows bottom-width and bank angle to vary spatially as grids. TopoFlow has pre-processing tools in the Create menu for creating grids of bed width, bank angle and bed roughness. The Create → Channel Geometry Grids → With Area Grid tool allows you to parameterize these variables as power-law functions of contributing area. The Create → Channel Geometry Grids → With HS Order Grid tool allows you to assign values based on Horton-Strahler order.

Each pixel is classified as either a hillslope pixel (overland flow) or a channel pixel (channelized flow) and appropriate parameters must be used for each. For overland flow, w >> d, Rh → d, and bank angle drops out. Overland flow can then be modeled with a large value of Manning's n, such as 0.3. For channelized flow, the variation of n with bed grain size can be modeled with Strickler's equation as explained in the Notes below.

If a sinuosity greater than 1 is specified, then bed slopes are reduced by dividing them by this value. As with the other variables, it is most appropriate to specify a grid in this case.

It is physically unrealistic to specify a spatially uniform initial flow depth by entering a scalar value greater than zero for init_depth. This will result in a very large peak in the hydrograph and may cause TopoFlow to crash. The Create → RTG File for Initial Depth tool can be used to create a grid of initial flow depths that varies spatially and is in steady-state equilibrium with a specified baseflow recharge rate.

Notes on the Equations

All variables and their units can be seen by expanding the Nomenclature section above.

The dynamic wave method is the most complete and complex method for modeling flow in open channels. This method retains all of the terms in the full, 1D momentum equation, including the gravity, friction and pressure gradient terms (as used by the diffusive wave method) as well as local and convective acceleration (or momentum flux) terms. This full equation is known as the St. Venant equation. In the current version of TopoFlow it is assumed that the flow directions are static and given by a D8 flow grid. In this case, integral vs. differential forms of the conservation equations for mass and momentum can be used.

Conservation of mass, in integral form, is represented by the equations above. The quantity, R, that appears in the first equation is known as the effective rainrate or excess rainrate and represents the sum of all vertical contributions to a grid cell's mass balance. R is computed as R = (P + M + G) - (I + E), where P = precipitation, M = snowmelt, G = seepage from subsurface, I = infiltration and E = evapotranspiration. (Note that R is technically not the same as the runoff, since runoff includes horizontal fluxes.) The summation sign in the first equation adds up all horizontal inflows to a grid cell from its neighbor grid cells. Mean channel flow depth, d, is then computed from channel geometry and the water volume that is computed for the corresponding grid cell. Note that channel length depends on distance between grid cell centers and sinuosity, while cross-sections are trapezoidal. When the bank angle, θ is greater than zero, the flow depth required to accomodate the water volume is computed by solving the last equation (a quadratic) for d to get the second equation.

Conservation of momentum, in integral form, is represented by the remaining equations above. The term T3 results from using the equation for mass conservation to simplify the one for momentum conservation. It represents the change in a grid cell's momentum balance due to the addition or subtraction of mass within the cell from vertical fluxes. Recall that momentum represents a product of mass and velocity, so changes in momentum can result from changes in mass or changes in velocity (chain rule).

Notice that boundary-layer theory (which leads to the law of the wall) allows us to compute the loss of momentum due to friction directly as a separate process and isn't really restricted to the special case of steady, uniform flow. By contrast, Manning's equation is empirical and was found by studying steady, uniform flows. It does not allow us to cleanly separate the effects of friction and gravity; it assumes that they are in balance. However, if we use the fact that Manning's equation is really just a power-law approximation to the law of the wall, we can back-calculate a Manning's-equation version of the friction term (and friction factor) which has been freed from the assumption of steady, uniform flow.

In the current version of TopoFlow (1.5 beta), water-surface slopes are set to zero if they ever become negative (implying upstream flow).

Note on the current version

It has also been assumed here that the water is incompressible; this allows us to take the density of water, ρ, to be a constant.

Examples

An example run with input parameters, BLD files, as well as a figure / movie of the output

Follow the next steps to include images / movies of simulations:

See also: Help:Images or Help:Movies

Developer(s)

Scott Peckham

References

Peckham, S.D. (2008) Geomorphometry and spatial hydrologic modeling, In: Geomorphometry, chapter 25, Elsevier, New York, in press.

Peckham, S.D. and J.D. Smith (2008) Manning's equation and the best power-law approximation to the logarithmic law of the wall, in preparation.

Schlicting, H. (1960) Boundary Layer Theory, 4th ed., McGraw-Hill, New York, 647 pp.

Links