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: 3 Method name: Dynamic_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 cons.) 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) Δv(i,t) = Δt * (T_1 + T_2 + T_3 + T_4 + T_5) / ( d(i,t) * A_w )= change in mean velocity (m / s) (mom. cons.) T_1 = v(i,t) * Q(i,t) * (C - 1) = efflux term in equation for Δv T_2 = Σ_k (v(k,t) - v(i,t) * C) * Q(k,t) = influx term in equation for Δv T_3 = -v(i,t) * C * R(i,t) * Δx * Δy = "new mass" momentum term in equation for Δv T_4 = A_w * (g * d(i,t) * S(i,t)) = gravity term in equation for Δv T_5 = -A_w * (f(i,t) * v(i,t)^2) = friction term in equation for Δv Q = v * A_w = discharge of water (m^3 / s) f(i,t) = ( κ / LN ( a * d(i,t) / z_0) )^2 = friction factor (unitless) (for law of the wall) f(i,t) = g * n^2 / Rh(i,t)^1/3 = friction factor (unitless) (for Manning's equation) C = A_w / A_t = area ratio appearing in equation for Δv A_t = w_t * L = top surface area of a channel segment (m2) (L = length) w_t = w + ( 2 * d * tan(θ) ) = top width of a wetted trapezoidal cross-section (m) R_h = A_w / P_w = hydraulic radius (m) A_w = d * (w + (d * tan(θ))) = wetted cross-sectional area of a trapezoid (m2) P_w = w + (2 * d / cos(θ)) = wetted perimeter of a trapezoid (m) V_w = 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
CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith, CanCoupleWith,
<pbars ytitle=Downloads Title='Monthly Downloads topoflow-channels-dynamic_wave' xlabels=true size=900x200 ymax=20 grid=true box=true cubic=true plots=open xformat=number connected=true angle=90 legend> ,Total downloads: 48 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,1 Apr,0 May,0 Jun,3 Jul,2 Aug,1 Sep,0 Oct,0 Nov,4 Dec,0 2012 - Jan,1 Feb,1 Mar,0 Apr,2 May,0 Jun,0 Jul,0 Aug,1 Sep,1 Oct,0 Nov,2 Dec,0 2013 - Jan,5 Feb,3 Mar,2 Apr,1 May,7 Jun,1 Jul,0 Aug,0 Sep,0 Oct,0 Nov,0 Dec,0 2014 - Jan,0 Feb,0 Mar,4 Apr,2 May,0 Jun,1 Jul,0 Aug,0 Sep,0 Oct,0 Nov,1 Dec,0 2015 - Jan,0 Feb,2 Mar,0 Apr,0 May,0 Jun,0 Jul,0 </pbars>
Template:Download Model