Difference between revisions of "Tutorial M01 Results QGIS"

From Tuflow
Jump to navigation Jump to search
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= Introduction =  
 
= Introduction =  
 
QGIS is used to view the grid and mesh 2D results:
 
QGIS is used to view the grid and mesh 2D results:
:*The grid results (.flt) are inspected with the Profile Tool plugin. For installation, see <u>[https://wiki.tuflow.com/index.php?title=QGIS_Profile_Tool Installation of Profile Tool]</u>
+
:*The grid results (.tif) are inspected with the Profile Tool plugin. For installation, see <u>[https://wiki.tuflow.com/index.php?title=QGIS_Profile_Tool Installation of Profile Tool]</u>
:*The mesh results (.xmdf) are inspected with the TUFLOW Viewer which is part of the TUFLOW plugin. For installation, see <u>[https://wiki.tuflow.com/index.php?title=TUFLOW_QGIS_Plugin#Installation_of_Plugin Installation of TUFLOW Plugin]</u>.<br>
+
:*The mesh results (.xmdf) are inspected with the <u>[[TUFLOW_Viewer | TUFLOW Viewer]]</u> which is part of the TUFLOW plugin. For installation, see <u>[https://wiki.tuflow.com/index.php?title=TUFLOW_QGIS_Plugin#Installation_of_Plugin Installation of TUFLOW Plugin]</u>.<br>
 
<br>
 
<br>
  
Line 8: Line 8:
 
View grid results with Profile Tool:<br>
 
View grid results with Profile Tool:<br>
 
<ol>
 
<ol>
<li>Load the '''M01_5m_001_h_Max.flt''' file from the '''Module_01\TUFLOW\results\grids''' folder. It can either be dragged and dropped into QGIS, or loaded by selecting Layer > Add Layer > Add Raster Layer from the menu.
+
<li>Load the '''M01_5m_001_h_Max.tif''' file from the '''Module_01\TUFLOW\results\grids''' folder. It can either be dragged and dropped into QGIS, or loaded by selecting Layer > Add Layer > Add Raster Layer from the menu.
 
<li>This displays the maximum water level in the model recorded during the whole simulation.
 
<li>This displays the maximum water level in the model recorded during the whole simulation.
 
<li>Use the Profile Tool to view the maximum water level and DEM.<br>
 
<li>Use the Profile Tool to view the maximum water level and DEM.<br>
 
<br>
 
<br>
[[File:Animation M01 Results 01.gif]]<br>
+
{{Video|name=Animation_M01_Results_01b.mp4|width=1265}}<br>
 
<br>
 
<br>
 
</ol>
 
</ol>
Line 28: Line 28:
 
<li>The Map Outputs show scalar datasets, e.g. depth and velocity, and vector datasets, e.g. velocity vectors. Only one scalar and one vector dataset can be displayed at the same time.<br>
 
<li>The Map Outputs show scalar datasets, e.g. depth and velocity, and vector datasets, e.g. velocity vectors. Only one scalar and one vector dataset can be displayed at the same time.<br>
 
<br>
 
<br>
[[File:Animation M01 LoadResults.gif]]<br><br>
+
{{Video|name=Animation_M01_LoadResults_e.mp4|width=1265}}<br><br>
<li>Select 'M01_5m_001' from the Open Results list, click on a scalar dataset 'Depth' under the Result Type and scroll through the output times. The results update as new output times are selected. </li>
+
<li>Select '''M01_5m_001''' from the Open Results list, click on a scalar dataset 'Depth' under the Result Type and scroll through the output times. The results update as new output times are selected. </li>
 
Note: The styling of the Map Outputs can be changed by right clicking on each result dataset and editing the 'Properties'. <br>
 
Note: The styling of the Map Outputs can be changed by right clicking on each result dataset and editing the 'Properties'. <br>
 
<br>
 
<br>
[[File:Animation M01 Depth.gif]]<br><br>
+
{{Video|name=Animation_M01_Depth_c.mp4|width=1265}}<br><br>
 
<li>Click on a vector dataset 'Vector Velocity' to add it to the displayed 'Depth' and visualise them together. The vector output shows both direction and magnitude. <br>
 
<li>Click on a vector dataset 'Vector Velocity' to add it to the displayed 'Depth' and visualise them together. The vector output shows both direction and magnitude. <br>
 
Note: The appearance of vectors can be be changed. Right click on 'Vector Velocity' and edit the 'Properties'. <br>
 
Note: The appearance of vectors can be be changed. Right click on 'Vector Velocity' and edit the 'Properties'. <br>
 
<br>
 
<br>
[[File:Animation M01 VVec 01.gif]]
+
{{Video|name=Animation_M01_VVec_01f.mp4|width=1265}}
 
<br><br>
 
<br><br>
 
</ol>
 
</ol>
 
View mesh results (Time Series) with TUFLOW Viewer from the 2d_po files:
 
View mesh results (Time Series) with TUFLOW Viewer from the 2d_po files:
 
<ol>
 
<ol>
<li>Using the 'Select Features' tool, select the '''M01_5m_001_PLOT_L''' line, and select the time series results from the Time Series Result Type. This shows the time series results at the location of the 2d_po line.
+
<li>Using the 'Select Features' tool, select the '''M01_5m_001_PLOT_L''' line, and select the Flow dataset from the Time Series Result Type. This shows the flow data across the 2d_po line (Type Q_).
<li>View the point time series results by selecting the '''M01_5m_001_PLOT_P''' in the Layers panel and the point.
+
<li>View the point time series for Level and Velocity dataset (Type H_ and V_) by selecting the '''M01_5m_001_PLOT_P''' in the Layers panel and the point.
 
<br><br>
 
<br><br>
[[File:Animation M01 TimeSeries_01a.gif]]<br>
+
{{Video|name=Animation_M01_TimeSeries_01g.mp4|width=1265}}<br>
 
<br>
 
<br>
 
</ol>
 
</ol>

Latest revision as of 08:42, 15 August 2023

Introduction

QGIS is used to view the grid and mesh 2D results:


Method

View grid results with Profile Tool:

  1. Load the M01_5m_001_h_Max.tif file from the Module_01\TUFLOW\results\grids folder. It can either be dragged and dropped into QGIS, or loaded by selecting Layer > Add Layer > Add Raster Layer from the menu.
  2. This displays the maximum water level in the model recorded during the whole simulation.
  3. Use the Profile Tool to view the maximum water level and DEM.



View mesh results (Map Outputs) with TUFLOW Viewer:

  1. Open the TUFLOW Viewer from the TUFLOW plugin toolbar:

    M01 TUFLOW Viewer Install.png

  2. Load the results using the TCF. From File > Load Results, navigate to the Module_01\TUFLOW\runs folder and select the M01_5m_001.tcf file. This option uses the file paths within the TCF to load both types of results, Map Outputs and Time Series.
    Note: The same File > Load Results option can be used when loading from the M01_5m_001.tlf file written in the Module_01\TUFLOW\runs\log folder.
  3. Alternatively, open the Map Outputs and Time Series results independently using:
    • Load Results - Map Outputs > select map output mesh results file (.xmdf)
    • Load Results - Time Series > select time series output results (.tpc)
  4. The Map Outputs show scalar datasets, e.g. depth and velocity, and vector datasets, e.g. velocity vectors. Only one scalar and one vector dataset can be displayed at the same time.



  5. Select M01_5m_001 from the Open Results list, click on a scalar dataset 'Depth' under the Result Type and scroll through the output times. The results update as new output times are selected.
  6. Note: The styling of the Map Outputs can be changed by right clicking on each result dataset and editing the 'Properties'.



  7. Click on a vector dataset 'Vector Velocity' to add it to the displayed 'Depth' and visualise them together. The vector output shows both direction and magnitude.
    Note: The appearance of vectors can be be changed. Right click on 'Vector Velocity' and edit the 'Properties'.



View mesh results (Time Series) with TUFLOW Viewer from the 2d_po files:

  1. Using the 'Select Features' tool, select the M01_5m_001_PLOT_L line, and select the Flow dataset from the Time Series Result Type. This shows the flow data across the 2d_po line (Type Q_).
  2. View the point time series for Level and Velocity dataset (Type H_ and V_) by selecting the M01_5m_001_PLOT_P in the Layers panel and the point.



Conclusion

  • The basics of viewing 2D TUFLOW results in QGIS using the TUFLOW Viewer were covered.
  • For further functionality, see TUFLOW Viewer.


Up
Go-up.png Back to Module 1 Main Page