5.8 Special Channels

5.8.1 M Channels (User Defined Flow Matrix)

M channels allow the modeller to define the flow through a channel (usually a structure) based on a user specified flow matrix. To set up M channels follow the steps below:

  1. In the 1d_nwk layer, populate the required attributes as shown in Table 5.19
  2. Create the flow matrix as shown in the image below and save the file as a .csv. The .csv file is referenced in the 1d_nwk Inlet_Type attribute. Notes using the example in the below image are:
    1. TUFLOW searches through the sheet until more than 3 numbers are found at the beginning of a row (Row 3 in the example).
    2. This first row contains a multiplication factor (in Cell A3) followed by upstream depth values (in the direction that the channel is digitised). The depth values are added to the channel invert to set the water level.
    3. The next rows have the downstream depth in Column A. Flows are listed in the adjacent columns relating to the above upstream depth value (Row 3).
    4. Note: at present the matrix must be square and that the u/s and d/s depths must be the same values. The flows along the diagonal must be zero, and to the left of the diagonal negative (or zero) and to the right positive (or zero).
  3. Optionally create a flow area matrix of the same dimensions and depth values as for the flow matrix. Note:
    1. The path to the area.csv file is specified after the flow.csv file in the Inlet_Type attribute (separate the two filenames using a “|”; eg. “..\UD_Q.csv | ..\UD_A.csv”).
    2. The factor value in the A3 cell is not used in the flow area matrix (the value in the flow matrix is used to factor the areas).
    3. The area values are only used for outputting the channel velocity (they are not used for the hydraulic computations other than when the channel velocity is used for other channels, eg. adjusting structure losses).
    4. If an area matrix is not provided, TUFLOW will calculate the area based on the channel width multiplied by the pBlockage and the average of the upstream and downstream depths.

A working example of a model containing a 1D M channel is provided in the 1D Structures Example Model Dataset on the TUFLOW Wiki.

5.8.2 Q Channels (Upstream Depth-Discharge Relationship)

Q channels are used to model flow through a channel using an .ecf Depth Discharge Database. The Depth Discharge Database is the same as the Pit Inlet Database used for Q pits, with the same database used for both Q channels and Q pits. Refer to Section 5.10.3.

In the 1d_nwk layer, the following attributes can be used to set up a Q channel (also see Table 5.19).

  • ID = Unique Channel ID.
  • Type = “Q”.
  • US_Invert = Elevation corresponding to zero depth in the depth-discharge curve.
  • Inlet_Type = The depth discharge curve in the Depth Discharge Database or Pit Inlet Database. This is analogous to a Q pit (see Section 5.10.3). Note that the flow is automatically adjusted for being drowned out using the Bradley relationship for weirs (see Section 5.7.4.2 or Figure 5.7), and if the flow reverses the same depth discharge curve is used.
  • Width_or_Dia = For Q channels can be used as a flow multiplier – this is useful if the depth-discharge curve is a unit flow (i.e. flow per unit width). If the discharge is unit flow specify the width of the flow, otherwise specify a value of 1.0 (noting that a zero value is treated as 1.0).
  • Number_of = The number of parallel Q channels (a zero value is interpreted as one channel).

A working example of a model containing a 1D Q channel is provided in the 1D Structures Example Model Dataset on the TUFLOW Wiki.

5.8.3 X Connectors

X connectors are used for connecting a side tributary or pipe into the main flow path. They are digitised as a line within a 1d_nwk GIS layer with type “X”. No other attributes are required.

Use of an X connector has the advantage of allowing different end cross-sections (see Section 5.6.6) or WLLs (see Section 11.2.4) to be specified for the side channel, rather than using the end cross-section on the main channel.

They can also be used in pipe networks to ensure that the angle of the inlet and outlet culverts has been digitised appropriately as this influences the manhole losses calculated when using the Engelund loss approach (see Section 5.10.4.4). The angle of the pipe channel line is used for determining manhole losses, not that of the X connector.

The direction of the X Connector must be digitised starting from the side channel and ending at the main channel. If two or more connectors are used at the same location (i.e. to connect two or more side channels to a main channel) their ends must all snap to the same main channel.

5.8.4 Legacy Channels

For backwards compatibility, gradient (type ‘G’) and normal (type ‘blank’) channels remain supported in the current release of TUFLOW. Sloping (type ‘S’) open channels are the preferred method of modelling open channels as it incorporates the flow regimes covered by normal and G channels and include the additional ability of handling super-critical flow. Refer to Section 5.5 for further information.

A normal flow channel is defined by its length, bed resistance and hydraulic properties. The channel can wet and dry, however, for overbank areas (e.g. tidal flats or floodplains) G or S channels should be used. Note: For open channels it is recommended to use the S Type for the reasons given above.

Gradient channels were designed for overbank areas such as tidal flats and floodplains. The upstream and downstream bed invert attributes must be specified to define the slope of the channel. They are like normal channels, except when the water level at one end of the channel falls below the channel bed, the channel invokes a free-overfall algorithm that keeps water flowing without using negative depths. The algorithm takes into account both the channel’s bed resistance and upstream controlled weir flow at the downstream end.
Note: For overbank areas it is recommended to use the S Type for the reasons given above.

5.8.5 1d_nwk Attributes (M, P, Q, SG, SP Channels)

The table below covers the 1d_nwk attributes for all channels not covered in other 1d_nwk attribute tables.

Table 5.19: Special Channels: 1D Model Network (1d_nwk) Attribute Descriptions
No.  Default GIS Attribute Name Description Type
1 ID Unique identifier up to 12 characters in length. It may contain any character except for quotes and commas and cannot be blank. As a rule, spaces and special characters (e.g. “\”) should be avoided, although they are accepted. The same ID can be used for a channel and a node, but no two nodes and no two channels can have the same ID. Char(12)
2 Type

The channel type as specified using the flags in Table 5.1.

For X (connectors), no other attributes are required.
Char(4)
3 Ignore If a “T”, “t”, “Y” or “y” is specified, the object will be ignored (T for True and Y for Yes). Any other entry, including a blank field, will treat the object as active. Char(1)
4 UCS
(Use Channel Storage at nodes).

M, P, Q Channel Type:
Not used.

SG, SP Channel Type:
If left blank or set to Yes (“Y” or “y”) or True (“T” or “t”), the storage based on the width of the channel over half the channel length is assigned to both of the two nodes connected to the channel. If set to No (“N” or “n”) or False (“F” or “f”), the channel width does not contribute to the node’s storage. See Section 5.12.1.1 for further discussion.
Char(1)
5 Len_or_ANA

M, P, Q Channel Type:
Not used.

SG, SP Channel Type:
Only used in determining nodal storages if the UCS attribute is set to “Y” or “T”. Not used in conveyance calculations.
Float
6 n_ nF_Cd

M, P, Q Channel Type:
Not used.

SG, SP Channel Type:
Discharge coefficient for the structure if using a fixed coefficient. If the value is less than or equal to zero, the default Cd value of 0.6 for SG and 0.75 for SP is used.
Float
7 US_Invert

M Channel Type:
Invert level of channel.

P Channel Type:
Intake elevation of the pump.

Q Channel Type: US_Invert sets the level from which the upstream depth is to be calculated for interpolation into the depth-discharge curve.

SG Channel Type:
The higher of US_Invert and DS_Invert is used to set the structure crest or invert.

SP Channel Type:
Sets the spillway crest
Float
8 DS_Invert

M Channel Type:
Invert level of channel is taken as the maximum of US_Invert and DS_Invert.

P Channel Type:
Outlet elevation of the receptor.

Q Channel Type:
Not used.

SG Channel Type:
See comments above for US_Invert.

SP Channel Type:
Sets the level of the gate seat (if SP is operated, i.e. a SPO channel).
Float
9 Form_Loss

M, P, Q, SP Channel Type:
Not used.

SG Channel Type:
If no weir is specified in the Type attribute, it is assumed that the gate seats on to the bottom of the channel. For this case the flow calculations where the gate is not surcharged uses the Form_Loss attribute to apply an energy loss to the structure to represent contraction/expansion losses.
Float
10 pBlockage

Q Channel Type:
Not used.

M Channel Type:
Percentage blockage of channel (only used if no flow area matrix is provided). Refer to Inlet_Type attribute below.

P, SG, SP Channel Type:
The channel’s dimensions and flow capacity are reduced as per the pBlockage value.
Float
11 Inlet_Type

M Channel Type:
The relative path to the flow matrix file (must be a .csv file), and optionally flow area matrix file. See Section 5.8.1.

P, SG, SP Channel Type:
Only used for operational versions of these channels (i.e. type “PO”, “RGO”, SGO” or “SPO”) to specify the name of the . The is referenced within the .toc file and specifies the rules used to operate the channel. More than one channel can point to the same . Refer to Section 5.8.1.

Q Channel Type (for QO see further below):
For non-operated Q channels the name of the depth-discharge curve in a depth discharge database (identical approach to inlet Q pits). A Q channel is distinguished from a Q pit, in that a Q channel is a line in the 1d_nwk layer and a Q pit is a point object. A depth-discharge database is the same as a pit inlet database as used for Q pits, and the same database file can be used for both Q channels and Q pits. The .ecf command Depth Discharge Database and the existing command Pit Inlet Database perform the same function.
Note that the depth discharge curve is depth (not water elevation) and the depth is taken as the upstream water level less the Q channel’s invert.

QO Channel Type:
For operated Q channels the filename of a .csv file containing a flow matrix table in the same format as used for M channels. See Section 5.8.1.
Char
(max 256)
12 Conn_1D_2D Not used. Char
13 Conn_No Not used. Integer
14 Width_or_Dia

P Channel Type:
The diameter of the pump offtake. Only used for outputting a velocity - it does not affect the hydraulic calculations.

M Channel Type:
Width of channel (only used if no flow area matrix is provided). Refer to Inlet_Type attribute above.

Q Channel Type (for QO see further below):
A multiplier applied to the flow interpolated from the depth-discharge curve. Particularly useful if the discharge values are per unit width (i.e. m2/s or ft2/s). If set to zero (0), the multiplier is set to one (1).

QO Channel Type:
Used to determine the flow area at different stages by multiplying by the upstream depth. The area is used to determine the velocity that is output, otherwise, it does not play a role in the hydraulic calculations.

SG, SP Channel Type:
The width of the gate/spillway. The flow area is assumed to be rectangular in shape.
Float
15 Height_or_WF

M, Q Channel Type:
Not used.

P Channel Type:
Can be used to set the pump flow capacity for operated pumps (i.e. a PO channel). The pump capacity can also be set and changed during the simulation using the .toc file operating control commands. Useful where the operating control definition is generic (i.e. pump control is used for more than one pump of different flow capacities).

SG Channel Type:
The vertical height of the gate in its fully open position. If an underlying weir is specified, the weir is assigned a coefficient adjustment factor of 1.0, which cannot be modified using this attribute.

SPO Channel Type:
For an operated (gated) spillway (SPO), sets the vertical height of the gate in its fully open position. The fully open height can also be changed during the simulation using the .toc file operating control commands. This is useful where the operating control definition is generic (i.e. non-structure specific). Not used if channel is non-operational (i.e. a SP channel).
Float
16 Number_of

P, SG, SP Channel Type:
The number of parallel (duplicate) channels. If set to zero, one channel is assumed.

M, Q Channel Type:
Number of parallel channels (flow and area matrices are multiplied by this value). If zero is set to one.
Integer
17 HConF_or_WC

M, Q Channel Type:
Not used.

SP Channel Type:
Weir flow coefficient, Cd, in its dimensionless form as in the equation below. If less than or equal to zero the default value for spillways in Table 5.16 is used. Entering a value greater than zero (0) will override this and apply a fixed Cd.
Note that published coefficients may be based on other non-dimensional or dimensional forms of the equation below, and care should be taken in ensuring the coefficient is converted to comply with the form below if this is the case.

\[Q = \frac{2}{3}\:C_{sf}\:C_{d}\:B\:\sqrt{2g}\:H^{Ex}\]

SG Channel Type:
As for the weir channel in Table 5.17 if a weir has been specified (e.g. a “SG WB” channel).
Float
18 WConF_or_WEx

M, Q Channel Type:
Not used.

SP Channel Type:
Weir flow equation exponent Ex in the equation for HConF_or_WC. If less than or equal to zero the default value for spillways in Table 5.16 is used (i.e. 1.5).

SG Channel Type:
As for the weir channel in Table 5.17 if a weir has been specified (e.g. a “SG WB” channel).
Float
19 EntryC_or_WSa

M, Q, SPO Channel Type:
Not used.

SP Channel Type:
Sets the submergence factor “a” exponent in the equation below for calculating the submergence factor Csf. If less than or equal to zero the default value for spillways in Table 5.16 is used.

\[C_{sf} = \left(1 - \left(\frac{H_{d}}{H_{u}}\right)^a\right)^b\]

SG Channel Type:
As for the weir channel in Table 5.17 if a weir has been specified (e.g. a “SG WB” channel).
Float
20 ExitC_or_WSb

M, Q, SPO Channel Type:
Not used.

SP Channel Type:
Sets the submergence factor “b” exponent in the weir flow equation above for calculating the weir submergence factor Csf. If less than or equal to zero the default value for spillways in Table 5.16 is used.

SG Channel Type:
As for the weir channel in Table 5.17 if a weir has been specified (e.g. a “SG WB” channel).
Float