Project Set-Up#
Overview
This step will outline the process of setting up a FLO-2D project using the Plugin for QGIS. Setting up the computational domain, creating a grid, interpolating elevation data and spatially variable roughness.
Required Data
This step makes use of terrain elevation data, project domain, and roughness data. The required data is available here:
C:\Users\Public\Documents\FLO-2D PRO Documentation\Example Projects\ Tailings Dam Breach Workshop\
File |
Content |
Location |
---|---|---|
Elevation Pre Disaster.tif |
Digital terrain raster |
..\2. Project Setup\Data |
Project Domain TD.shp |
Polygon for project domain |
..\ 2. Project Setup\Data |
Landuse TD.shp |
Shapefile for spatially variable roughness |
..\ 2. Project Setup\Data |
Step 1: Open QGIS and load project domain#
Search the start menu and run the QGIS Desktop program. Look for QGIS version 3.22 or higher.
Click the New Project icon to load a new map.
Open the project folder and drag the file Project Domain TD.shp onto the map space. This will set the CRS to the correct EPSG code. The code should be 29101.
Step 2: Create the GeoPackage#
Click the Settings icon.
Fill out the dialog box as shown below. Set the Grid cell size to 30 m. Click Create.
Save the geopackage file to the project folder. Name the file Tailings Dam.gpkg.
Set the project CRS to SAD69 / Brazil Polyconic (m). Filter the list with an EPSG code: 29101. Select EPSG: 29101 and click OK.
Wait for the geopackage to write and check the accuracy of the project settings and click OK.
The project should look like this:
Click the Collapse button and then expand the Grid Tools Widget.
Step 3: Create the grid#
From the Grid Tools widget, click Create Grid.
Select the Project Domain TD layer, and the Cell Size field and click OK. Click OK to close the Grid information window.
Save the project. Click the main Save icon on the QGIS toolbar.
Navigate to the project folder, name the project Tailings Dam.qgz and click Save.
Step 4: Interpolate the elevation#
Collapse the FLO-2D Project Layers.
Select the Project Domain Layer so that it is active.
Drag the Elevation Pre Disaster.tif onto the map.
Uncheck the Project Domain Layer and drag it to the bottom of the Layers List.
Drag the Elevation layer to the bottom of the list.
The map should look like the following image.
To interpolate the elevation to the grid layer from a raster layer, use the Sample Grid Elevation icon.
Click on the Sample Grid Elevation icon and enter the required data in the dialog fields and click OK. Click the OK box to close the Sampling Done dialog box.
The Render elev button will show if the process worked correctly.
Step 5: Assign roughness#
To assign roughness data, open the project folder and drag the Landuse TD.shp file onto the map space.
Important Note: New layers are placed on top of the Active layer. If a layer is added to the map and lost, look in the FLO-2D groups to find it. A good practice is to select the layer elevation layer before adding new data. Then the elevation data wont’ cover the new layer.
Click the Sample roughness icon.
Fill the dialog box and click OK. Click OK to close the next message window.
The roughness values and elevations are assigned to the grid layer in the Schematized Layers group. Right click the Grid layer and click Open Attribute Table to see the data.
Click the Set Control Parameters Icon to assign the control variables.
Fill the dialog box using the two figures below and save the data to the GeoPackage with the Save icon. The variable descriptions and additional instructions are presented in the Data Input Manual. The drag bar will expose the save button.
Save the project.
Step 6: Configure layers#
Move the extra data to the bottom of the layers list.
Expand the FLO-2D User Layers and Group the Boundary Conditions and Channels. Select the layers to be grouped. Right click and click Group Selected. Name the group to finish!
Group all the layers that will not be needed into a group called Not Used.
This procedure makes it easier to find layers that are more commonly used.
Repeat the procedure with the tables that are not needed.
Click the QGIS save button to save this configuration.