basins,
Python
These inputs can be provided as scalars or grids:
Grids must be saved in binary files with no header. All variables should be stored as 4-byte, floating-point numbers (IEEE standard) except flow codes, which are unsigned, 1-byte integers.
The behavior of this component is controlled with a configuration (CFG) file, which may point to other files that contain input data. Here is a sample configuration (CFG) file for this component:
Method code: 2 Method name: Diffusive_Wave Manning flag: 1 Law of Wall flag: 0 Time step: Scalar 6.00000000 (sec) D8 flow code: Grid Treynor_flow.rtg (none) D8 slope: Grid Treynor_slope.rtg (m/m) Manning N: Grid Treynor_chan-n.rtg (s/m^(1/3)) Bed width: Grid Treynor_chan-w.rtg (m) Bank angle: Grid Treynor_chan-a.rtg (deg) Init. depth: Scalar 0.00000000 (m) Sinuosity: Scalar 1.00000000 (m/m) Save grid timestep: Scalar 60.00000000 (sec) Save Q grids: 1 Case5_2D-Q.rts (m^3/s) Save u grids: 0 Case5_2D-u.rts (m/s) Save d grids: 0 Case5_2D-d.rts (m) Save f grids: 0 Case5_2D-f.rts (none) Save pixels timestep: Scalar 60.00000000 (sec) Save Q pixels: 1 Case5_0D-Q.txt (m^3/s) Save u pixels: 0 Case5_0D-u.txt (m/s) Save d pixels: 0 Case5_0D-d.txt (m) Save f pixels: 0 Case5_0D-f.txt (none)
Q = discharge (m^3/s) u = flow velocity (m/s) d = flow depth (m) f = friction factor (none) Rh = hydraulic radius (m) S_free = free-surface slope (m/m)
The user can choose which, if any, of these to save. Each may be saved as a grid sequence, indexed by time, in a netCDF file, at a specified sampling rate. Each may also be saved for a set of "monitored" grid cells, each specified as a (row,column) pair in a file with the name: <case_prefix>_outlets.txt. With this option, computed values are saved in a multi-column text file at a specified sampling rate. Each column in this file corresponds to a time series of values for a particular grid cell. For both options the sampling rate must no smaller than the process timestep.
ΔV(i,t)= Δt * ( R(i,t) Δx Δy - Q(i,t) + Σk Q(k,t) ) = change in water volume (m^3), mass conservation d = {( w^2 + 4 tan(θ) V / L)^1/2 - w } / (2 tan(θ)) = mean water depth in channel segment (m) (if θ > 0) d = V / (w * L) = mean water depth in channel segment (m) (if θ = 0) Q = v * Aw = discharge of water (m^3 / s) v = n^(-1) * Rh^(2/3) * S^(1/2) = section-averaged velocity (m / s), Manning's formula v = ( g * Rh * S)^(1/2) * LN( a * d / z0) / κ = section-averaged velocity (m / s), Law of the Wall Rh = Aw / Pw = hydraulic radius (m) Aw = d * (w + (d * tan(θ))) = wetted cross-sectional area of a trapezoid (m^2) Pw = w + (2 * d / cos(θ)) = wetted perimeter of a trapezoid (m) Vw = d^2 * ( L * tan(θ) ) + d * (L * w) = wetted volume of a trapezoidal channel (m)
(Source: TopoFlow HTML Help System)
This part will be filled out by CSDMS staff
TopoFlow, TopoFlow-Meteorology, TopoFlow-Snowmelt-Degree-Day, TopoFlow-Snowmelt-Energy_Balance, TopoFlow-Evaporation-Energy_Balance, TopoFlow-Evaporation-Priestley_Taylor, TopoFlow-Evaporation-Read_File, TopoFlow-Infiltration-Green-Ampt, TopoFlow-Infiltration-Richards_1D, TopoFlow-Infiltration-Smith-Parlange, TopoFlow-Saturated_Zone-Darcy_Law, Gc2d, TopoFlow-Diversions,
<pbars ytitle=Downloads Title='Monthly Downloads topoflow-channels-diffusive_wave' xlabels=true size=900x200 ymax=20 grid=true box=true cubic=true plots=open xformat=number connected=true angle=90 legend> ,Total downloads: 41 2008 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 Aug,0 Sep,0 Oct,0 Nov,0 Dec,0 2009 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 Aug,0 Sep,0 Oct,0 Nov,0 Dec,0 2010 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 Aug,0 Sep,0 Oct,0 Nov,0 Dec,0 2011 - Jan,0 Feb,0 Mar,2 Apr,0 May,0 Jun,1 Jul,0 Aug,2 Sep,0 Oct,0 Nov,3 Dec,1 2012 - Jan,1 Feb,3 Mar,2 Apr,1 May,0 Jun,2 Jul,0 Aug,0 Sep,0 Oct,1 Nov,1 Dec,0 2013 - Jan,3 Feb,0 Mar,0 Apr,0 May,2 Jun,1 Jul,0 Aug,0 Sep,0 Oct,0 Nov,0 Dec,0 2014 - Jan,1 Feb,5 Mar,2 Apr,0 May,1 Jun,0 Jul,1 Aug,1 Sep,0 Oct,3 Nov,1 Dec,0 2015 - Jan,0 Feb,0 Mar,0 Apr,0 May,0 Jun,0 Jul,0 </pbars>
Template:Download Model