Lesson 2 – Channels#

Overview#

Complete QGIS Lesson 1 before starting this lesson. Use Lesson 2 to build an urban drainage channel and add culverts to the channel.

Note

This lesson uses an HEC-RAS import. Alternate channel development methods are included in the advanced tutorials and coastal tutorials. It is not necessary to have a RAS channel.

Channel Development Tutorial is the advanced lesson for this project.

This video shows the full process of this tutorial.

Required Data#

The lesson makes use of the original data from Lesson 1, left bank, right bank, and cross section data, and culvert rating tables. Start from the end of Lesson 1. All data is provided in the Lesson folders. This lesson uses the same project and data from the classic QGIS Lesson 2 but it does not use HEC-RAS data. Instead, it uses the FLO-2D Plugin channel tools.

File

Content

Location

QGIS Lesson 1.gpkg

FLO-2D GeoPackage

\QGIS Lesson 1

QGIS Lesson 1.qgz

QGIS file

\QGIS Lesson 1

Grnway Inflow 24 hr100yr.txt

Inflow hydrograph

\QGIS Lesson 2

*.txt

Culvert rating tables

\QGIS Lesson 2\Hydraulic Structures

Greenway.g01

Channel GeoRAS file

\QGIS Lesson 2\HEC-RAS Channel

Project Location C:\Users\Public\Documents\FLO-2D PRO Documentation\Example Projects\QGIS Tutorials

Check these folders to ensure the data is available before starting the lesson.

Step 1: Open QGIS and load the project#

../_images/Worksh002.png
  1. Open QGIS and drag Lesson 1.qgz onto the map space the file in QGIS and Load the Project into the FLO-2D Plugin.

../_images/Worksh157.png
  1. Click Yes to load the plugin.

../_images/Worksh031.png

C:\Users\Public\Documents\FLO-2D PRO Documentation\Example Projects\QGIS Tutorials\QGIS Lesson 1\QGIS Lesson 1.qgz

  1. If necessary add an aerial image to the map. See Lesson 1 - Part 2 - Step 3 for instructions.

../_images/Worksh056.png
  1. Organize the map layers to facilitate the next steps. Uncheck Infiltration Layers and any unused Project Data Layers.

../_images/Worksh185.png

Step 2: Import GeoRAS channel#

  1. Click the Import RAS icon. Open the Greenway.g01 file.

../_images/Worksh057.png

C:\Users\Public\Documents\FLO-2D PRO Documentation\Example Projects\QGIS Tutorials\QGIS Lesson 2\Greenway.g01

  1. Check the Bank Stations radio button and click OK.

../_images/Worksh058.png
  1. The channel left bank, right bank, and cross sections are imported into the User Layers. The cross-section data is imported into the cross section data tables.

../_images/Worksh059.png

Step 3: Schematize channel#

  1. Click the Schematize channels button.

../_images/Worksh060.png
  1. If the channel schematization process was successful, the following message will appear. Click Close.

../_images/Worksh061.png

Step 4: Channel boundary condition#

Inlet#

  1. Zoom to the first channel element on the southeast corner of the map.

../_images/Lesson050.png
  1. Group the Channel layers. Select Left Bank Lines, Right Bank Lines, Cross Sections and No Exchange Channel Areas. Right click the group and group them into Channels. Uncheck the Channels group.

../_images/image50.png
  1. Collapse the Cross Section Editor

  2. Expand the Boundary Condition Editor.

  3. Click the Add point BC button.

../_images/Lesson052.png
  1. Digitize a point to the first left bank channel cell and click OK.

../_images/Lesson053.png
  1. Click Save on the Widget

../_images/Lesson054.png
  1. Change the BC name of the inflow to GrnwayIN

  2. Set Defined for to Channel

  3. Click Add new Time Series

  4. Name the new Time Series to Grnway 24hr 100yr.

  5. The widget should look like this.

../_images/Mod10_010.gif
  1. Open the hydrograph file in Notepad and copy the data.

../_images/Lesson056.png

C:\Users\Public\Documents\FLO-2D PRO Documentation\Example Projects\QGIS Tutorials\QGIS Lesson 2\Greenway Inflow 100yr 24hr.txt

  1. Place the cursor in the first cell of the Table and click Paste.

../_images/Worksh040.gif

Outlet#

  1. Zoom to the end of the channel.

  2. Add a BC Point to the last element of the channel.

../_images/Lesson058.png ../_images/Lesson059.png
  1. Save the form and set the BC type to Outflow

../_images/Lesson054.png
  1. Name the BC to GrnwayOut

  2. Set the Outflow type to 3.

../_images/Lesson060.png
  1. Click the Schematize button the outflow conditions and click OK to close the message.

../_images/Lesson061.png ../_images/Lesson062.png

Step 5: Culverts#

This structure will calculate discharge through a box culvert. This example has a box culvert that is longer than the grid element. The channel segments are split up to allow for the width of the roadway.

Note

This image shows how the culverts should look once they have been digitized

../_images/Worksh074.png
  1. Zoom to the first culvert.

../_images/Worksh175.png
  1. Collapse all FLO-2D Widgets. Open the Structures Editor. Click the Add Structure icon.

../_images/Worksh186.png
  1. Digitize the first culvert

    • Left click the upstream left bank.

    • Left click the downstream left bank.

    • Right click to complete the line.

    • Click OK to complete the structure

../_images/addstructure.gif
  1. Repeat the process on the second culvert downstream.

../_images/addstructure2.gif
  1. Click the Save Button on the Structure Editor.

../_images/Worksh077.png
  1. Fill out the data for each structure.

    • Name the culverts Grnway1, Grnway2

    • Type = Channel

    • Rating = Rating table

    • Tailwater condition is none

../_images/Worksh076.png
  1. Click the Import Rating Tables button

../_images/Worksh078.png
  1. Navigate to the Rating Tables files, select both tables and click Open.

C:\Users\Public\Documents\FLO-2D PRO Documentation\Example Projects\QGIS Tutorials\QGIS Lesson 2\Hydraulic Structures

../_images/Worksh079.png
  1. The data was loaded into the FLO-2D Table Editor for the active structure. If it isn’t showing, select the structure from the dropdown menu to update the table and plot.

../_images/Worksh179.png
  1. Click Schematize to write the data to the schematic layers.

../_images/Worksh080.png
  1. The hydraulic structures are now ready.

  2. If the table and plot did not update, refresh the tables by selecting the structure again in the widget.

../_images/Worksh081.png

Step 6: Interpolate the channel#

  1. To interpolate the channel segments, export the channel data and run the interpolator. In the Cross Sections Editor widget, click the Create CHAN.DAT, XSEC.DAT, and CHANBANK.DAT icon.

../_images/Worksh084.png
  1. Select the folder where the *.DAT files will be saved.

C:\Users\Public\Documents\FLO-2D PRO Documentation\Example Projects\QGIS Tutorials\QGIS Lesson 2\Lesson 2 Export

../_images/Worksh085.png ../_images/Worksh086.png

Note

If this process results in an Interpolate.exe error, it is possible to move that Interpolate.exe to another location. Sometimes this file is locked by admin rights because it is in the Program Files (x86) directory.

../_images/Worksh087.png
  1. If the interpolation is performed correctly the following message will appear. Click Import CHAN.DAT and XSEC.DAT to update the channel data in QGIS.

../_images/Worksh088.png
  1. Click the OK icon when the process is finished.

../_images/Worksh089.png

7. Export the project#

  1. Click the Setup Control Parameters icon.

../_images/Worksh017.png
  1. Check the boxes for Main Channel and Hydraulic structures if needed.

  2. Click Save.

../_images/Worksh082.png
  1. Click the Export Data button.

../_images/Worksh021.png
  1. Navigate to the project and click Select Folder.

C:\Users\Public\Documents\FLO-2D PRO Documentation\Example Projects\QGIS Tutorials\QGIS Lesson 2\QGIS Lesson 2 Export

../_images/Worksh187.png
  1. If all files were written correctly, the following message will appear. Click OK to close it.

../_images/Worksh188.png

Step 8: Test run and fix the channel bank#

  1. Click the Run FLO-2D Icon.

../_images/Worksh0052.png
  1. Set the FLO-2D Folder. C:\program files (x86)\flo-2d pro

  2. Set the Project Folder.

C:\users\public\public documents\flo-2d pro documentation\Example Projects\QGIS Tutorials\QGIS Lesson 2\Lesson 2 Export

  1. Click OK.

../_images/Worksh090.png
  1. If an error message appears, open the error.chk file from the project directory. If no error message appears, let the simulation run and create the backup file shown in Step 9.6.

../_images/Worksh091.png
  1. If you are in a live class, Open and read the Error.CHK file in Notepad or Notepad++ and wait for the instructor. We will fix this as a group.

  2. If you are on your own, check out this video. It will show you how to fix the error.

Step 9: Final run and recovery point#

  1. Click the Run FLO-2D Icon.

../_images/Worksh0052.png
  1. Set the FLO-2D Folder. C:\program files (x86)\flo-2d pro

  2. Set the Project Folder.

C:\users\public\public documents\flo-2d pro documentation\Example Projects\QGIS Tutorials\QGIS Lesson 2\Lesson 2 Export

  1. Click OK.

../_images/Worksh090.png
  1. If the run still has errors, repeat Step 8. If the run starts, let it run.

  2. Save and close QGIS.

  3. Find QGIS Lesson 1 in a File Browser. Select the Lesson 1.gpkg and Lesson 1.qgz files and zip them. This will create a recovery file.

  4. Name the zipped file. It is good to choose a name that identifies project progress. For Example: Lesson 2 Complete.zip.

  5. Repeat this step after any time a Backup or Recovery Point is desired.

../_images/Worksh024.png

Summary#

This lesson was a simple channel import. It used a Georeferenced HEC-RAS geometry file. These files can be made with HEC-RAS version 5.xx, or HECGEORAS plugin for ArcGIS.

There are many ways to build channels with QGIS for FLO-2D and the other possibilities are outlined in the Advanced Tutorials. You can see these on the left hand table of contents.