Difference between revisions of "FMA Challenge 2"

From Tuflow
Jump to navigation Jump to search
 
(85 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= Introduction =
 
= Introduction =
The FMA Challenge Wiki's provide example TUFLOW models submitted by BMT WBM for the Floodplain Management Association 2-Dimensional Model Challenges, 2012.  
+
The FMA Challenge models are example TUFLOW models submitted by BMT WBM for the Floodplain Management Association 2-Dimensional Model Challenges, 2012. <br>
This Wiki assumes an intermediate to advanced user level. If you haven't already completed FMA Challenge 1, please see this <u>[[FMA Challenge 1 (1D-2D linked)|FMA Challenge 1]]</u> page.
+
This Wiki page assumes an intermediate to advanced user level. If you haven't already completed FMA Challenge 1, please see the <u>[[FMA Challenge 1 (1D-2D linked)|FMA Challenge 1]]</u> page.
  
In this challenge, a tidally influenced floodplain and riverine system will be explored along the California Coast. More information is available in the '''"tidal-description.docx"''' in the ZIP compressed file provided.
+
This challenge model investigates a tidally influenced floodplain and riverine system along the Californian Coast. More information is available in the document '''"FMA Challenge 2 Documention.TUFLOW.docx"''' that is provided withing the ZIP file download.
  
A series of fully functional example models have been developed allowing you to review the model setup, run the model and review results developing your skills in understanding:<br>
+
All three challenge models are presented as a fully functional examples, allowing you to review the model setup, run the model and review results.<br>
 +
This model specifically shows:
 
*Tidal influences on floodplains and riverine systems;
 
*Tidal influences on floodplains and riverine systems;
*Variation in results due to 2D cell resoultion and whether or not the model should contain a 1D component;
+
*Variation in results due to 2D cell resolution and whether or not the model should contain a 1D component;
 +
*The usage of a trd file to specify grid cell resolution and time steps;
 
*Looped batch files to run through scenarios; and
 
*Looped batch files to run through scenarios; and
*The differences between two different 2D solvers, TUFLOW classic and TUFLOW GPU.<br><br>
+
*The differences between two different 2D solvers, TUFLOW classic and TUFLOW GPU.<br>
  
Data for this model is provided via ZIP compressed file posted on the internet/FTP for download.
+
A key investigation of this FMA Challange is the performance of the differing 2D solution methods (CPU and GPU) in representing measured flood levels during a historical event.
  
==Relevant Tutorials==
+
Data for this model is provided in a variety of different GIS compatible formats. Download the dataset that matches the GIS software you are using:
 +
*[https://www.tuflow.com/Download/TUFLOW/Demo_Models/FMA_Challenge_Model_2_QGIS.zip QGIS Data Download]
 +
*[https://www.tuflow.com/Download/TUFLOW/Demo_Models/FMA_Challenge_Model_2_MapInfo.zip MapInfo Data Download]
 +
*[https://www.tuflow.com/Download/TUFLOW/Demo_Models/FMA_Challenge_Model_2_ArcGIS.zip ArcGIS Data Download]
 +
 
 +
=Relevant Tutorials=
 
It may be useful to revisit some of the following tutorials:<br>
 
It may be useful to revisit some of the following tutorials:<br>
*General 2D modelling- [[Tutorial Module01|Tutorial Module 1]]  
+
*General 2D modelling - <u>[[Tutorial_M01|Tutorial Module 1]]</u>
*2D topography modification- [[Tutorial Module03|Tutorial Module 3]]
+
*2D topography modification - <u>[[Tutorial_M02|Tutorial Module 2]]</u><br><br>
 
 
  
 
=Model Setup=
 
=Model Setup=
This section provides an overview and discussion of the model domain setup.<br> All files required to re-run the model can be found at '''FMA_Challenge_Models/FMA_Scenario2/'''. It is at your discretion which GIS package, text editor and method of model simulation to use (batch mode or within the text editor).
+
This section provides an overview and discussion of the model domain setup.
 +
It is at your discretion which GIS package, text editor and method of model simulation to use (batch mode or within the text editor). All files required to setup and run the models are available within the download package. You have the choice of running with shape file or mif for usage in ArcGIS/QGIS or Mapinfo respectively.<br> <br>
 +
This model does not require a licence dongle to run.
  
==Computational Domain Assembly and Execution==
+
==Grid Setup and Cell Size==
===TUFLOW Fixed Grid Model===
+
A series of north-south oriented  (10, 15 and 30m resolution) fixed grid domains have been developed over the coastal and estuarine study area.
The TUFLOW model directly reads the provided ESRII ASCII DEM raster format, to set the extent of the computational domain and interpolate elevations at the 2D cell centers, mid-sides and corners.  The boundary locations were digitized in GIS layers.  The provided GIS land use layer was directly read for assigning roughness values.
 
  
Simulation results were viewed using SMS and GIS software.  Calibration high water marks were loaded into a GIS layer and displayed within the GIS mapping to easily view the calibration performance of the model. TUFLOW’s 3D surfaces of peak water levels and depths were imported into the GIS to generate flood extent outlines.
+
When conceptualising the model domain, a fully 2D solution is preferable over a 1D/2D linked representation provided the 2D resolution of the primary flowpath/s is sufficiently fine. 'Sufficiently fine' is somewhat loosey defined as representing the channel with at minimum 4 fixed grid cells. Here, the 30m fixed grid resolution was determined sufficiently detailed to represent the river bathymetry.
  
=Relevant Files=
+
For this model the upper sections near the two inflows are not represented well, especially the northern Tributary Inflow.  However, this is unlikely to have an adverse effect on the objectives of the modelling, but would affect the comparison to the high water marks near these inflows.  
It is up to the modeler's discretion to determine what GIS package to use, what text editor to use, and how to run their models (batch mode or within the text editor).All relevant files can be found on '''FMA_Challenge_Models/FMA_Scenario2/'''
+
 
+
As there is no 1D/2D linking, Challenge 2 provided an opportunity to provide some comparisons between our two different 2D solvers.  Results from TUFLOW (finite difference implicit solution) and TUFLOW’s GPU Module (explicit finite volume GPU solver over a grid) are presented.
=Solution=
 
A sample solution has been presented, courtesy of BMT WBM.
 
  
==Cross section spacing, Grid Size, and Mesh Element Size==
+
As with FMA Challange 1, variable model cell sizes have been simulated using the powerful event and scenario functionality of TUFLOW.
Fixed grid models of different resolutions and a flexible mesh model were set up.  The fixed grid domains were orientated north-south.
 
 
 
The coarsest fixed grid and flexible mesh resolutions were sufficiently detailed to represent the river bathymetry, so no 1D/2D coupling was incorporated.  A fully 2D solution is preferable over a 1D/2D linked representation provided the 2D resolution of the primary flowpaths is sufficiently fine.  A minimum recommended 2D resolution across the river for TUFLOW for this model is a 30m grid (it is recommended that a minimum of 4 fixed grid cells be used for modeling a primary flowpath).  For this model the upper sections near the two inflows are not represented well, especially the northern Tributary Inflow.  However, this is unlikely to have an adverse effect on the objectives of the modeling, but would affect the comparison to the high water marks near these inflows.
 
 
As there is no 1D/2D linking, Challenge 2 provided an opportunity to provide some comparisons between our three different 2D solvers.  Results from TUFLOW (finite difference implicit solution), TUFLOW’s GPU Module (explicit finite volume GPU solver over a grid), and TUFLOW FV (explicit finite volume flexible mesh) are presented.
 
  
The number of cross sections, grids, or mesh elements used were as follows:<br>
+
The grids investigated are as follows:<br>
 
{| align="center" class="wikitable" width="50%"
 
{| align="center" class="wikitable" width="50%"
  
Line 47: Line 47:
 
! style="background-color:#005581; font-weight:bold; color:white;"| Active 2D Cells/Elements
 
! style="background-color:#005581; font-weight:bold; color:white;"| Active 2D Cells/Elements
 
|-
 
|-
| 10m (grid) || 727, 865  
+
| 10m (grid) || 727,865  
|-
 
| 15m (grid) || 323, 364
 
 
|-
 
|-
| 30m (grid) || 80, 842
+
| 15m (grid) || 323,364
 
|-
 
|-
| FM (Flexible Mesh)* || 17, 479
+
| 30m (grid) || 80,842
 
|}
 
|}
  
N.B. For the FM (Flexible Mesh) within the main flow channels the typical element width is 20 m and length 50 m (quadrilateral elements), and on the floodplains the typical size is 75 m to 100 m made up of quadrilaterals and triangles.
+
=== Note on Runtimes ===
 
 
 
 
==Computational Domain Assembly and Execution==
 
===TUFLOW Fixed Grid Model===
 
The TUFLOW model directly reads the provided ESRII ASCII DEM raster format, to set the extent of the computational domain and interpolate elevations at the 2D cell centers, mid-sides and corners.  The boundary locations were digitized in GIS layers.  The provided GIS land use layer was directly read for assigning roughness values.
 
 
 
Simulation results were viewed using SMS and GIS software.  Calibration high water marks were loaded into a GIS layer and displayed within the GIS mapping to easily view the calibration performance of the model.  TUFLOW’s 3D surfaces of peak water levels and depths were imported into the GIS to generate flood extent outlines.
 
 
 
===TUFLOW FV Flexible Mesh Model===
 
The approach taken to develop the TUFLOW FV Flexible Mesh model was:
 
<ol>
 
<li>Using the SMS software with DEM shaded contours as a guide, develop mesh map (creating polygons of specific areas in the model that had a specific mesh design and resolution). The design was such that elements follow bathymetric contours and likely flow directions. Also ensure that narrow flow channels are well resolved and elements lie along center of flow channel.
 
<li>Create mesh, automatically generating geometry (z) values from the DEM.
 
<li>Setup input files, consisting of one input file and 3 boundary condition time series (csv files).
 
<li>Run simulation on Dell Laptop 64 bit Intel i7 2.8 GHz CPU.
 
<li>Several simulations performed with varying Manning’s friction applied.
 
<li>Within SMS, load shape file with high water marks and point inspect model results of maximum water level. Export to Excel, convert to feet.
 
<li>Export 3D water level and depth surfaces into GIS to produce maximum flood extent polygons.</li>
 
 
 
  
===Discussion on Calibration===
+
There is a series of batch files provided with the demo model that give the choice of running only the 15m and 30m grid resolutions or all threeDue to the size of the model and large number of cells for the CPU only 10m case, it may take up to 24hrs of 'real time' to run on your computer. If you don't want to run the 10 m case then just run either  'run_all_001.bat' or '_run_all_CPU_001.bat'. Further details are provided in the Readme.txt within the runs directory.
A limited number of simulations were carried out to develop an understanding of the flood behavior and sensitivity of varying parametersThe results of these simulations are discussed below, some of which are provided in the ftp download.
 
  
===Simple Manning’s n / Topography Test===
+
Current benchmarching of runtimes for the CPU vs GPU respectively has found that the GPU simulations are typically 20-30 times faster than the CPU for this demo model. For models with a much larger number of cells >10 million the benefit of the GPU increases dramatically with CPU/GPU runtime speed increases over 100. Further detail on the hardware benchmarking conducted on FMA Demo Model 2 is provided [[Hardware_Benchmarking | here]].
The initial runs were carried out using the same Manning’s n over the entire model over a coarse resolution grid and flexible mesh. These runs were carried out using TUFLOW and TUFLOW GPU (30m grid), and TUFLOW FV (flexible mesh) models.
 
  
 +
==Simple Manning’s n / Topography Test==
 +
The initial runs were carried out using the same Manning’s n over the entire model over a coarse resolution grid (30m).
  
 
The topography for these runs did not include any special provision for incorporating the levee and road embankments.  The elevation sampling of the DEM was simply based on inspecting the DEM at the models’ elevation points.  At this stage no 3D breaklines along the embankment crests were used to ensure the crest of the elevation was correctly represented by the models’ elevations.  
 
The topography for these runs did not include any special provision for incorporating the levee and road embankments.  The elevation sampling of the DEM was simply based on inspecting the DEM at the models’ elevation points.  At this stage no 3D breaklines along the embankment crests were used to ensure the crest of the elevation was correctly represented by the models’ elevations.  
  
The Manning’s n used for the results provided was 0.035, which seems to give a reasonable first pass reproduction of the high water marks.  A value of 0.035 is consistent with the global n value that would typically apply to this study area. 
+
Simulations were carried out using a constant roughness initially, followed by variable roughness as defined by the NLCD Land Cover GIS layer and 3D breaklines of the levee and road embankments visible in the DEM and aerial photo.  This scenario (we envisage) would probably be representative of the present day conditions, and not representative of the 1964 flood event conditions.
 
 
Also of interest is the comparison between the three different 2D solvers TUFLOW, TUFLOW’s GPU Module and TUFLOW FV (all three use a different solution technique).  There is generally good agreement between all three schemes.
 
 
 
A high resolution .jpg image is provided in the ftp downloads for viewing the HWMs and results of these three simulations.  Open “Images\FMA C2.n0.035.HWM All 2D Solvers.jpg” and zoom in and pan around to easily view the flow patterns (velocity arrows), water level contours every 0.2m (blue lines), depths (blue shading) and high water marks (red is the recorded value, light blue is TUFLOW, black is TUFLOW GPU and yellow is TUFLOW FV).
 
 
 
===NLCD Land Cover and Embankment Crests Included===
 
Additional simulations were carried out using TUFLOW that included the NLCD Land Cover GIS layer, and 3D breaklines of the levee and road embankments visible in the DEM and aerial photo.  This scenario (we envisage) would probably be representative of the present day conditions, and not representative of the 1964 flood event conditions.
 
  
 
The NLCD GIS layer was read directly by TUFLOW and Manning’s n values assigned to the different land covers as tabulated below.  The water/river n value of 0.02 is considered at the lower end of typical n values for rivers based on numerous 2D model calibrations.  Typically for the lower reaches of coastal rivers the in-bank n value is 0.022 to 0.025 with an acceptable range considered to be (0.02 to 0.03).  In upper reaches, away from tidal influences, n values tend to be higher (0.025 to 0.04) for perennial rivers.  Possible reasons for the low n value could be due to the river bathymetry accreting since 1964 (we assume the bathymetry provided is based on more recent surveys), or the inflows maybe high.
 
The NLCD GIS layer was read directly by TUFLOW and Manning’s n values assigned to the different land covers as tabulated below.  The water/river n value of 0.02 is considered at the lower end of typical n values for rivers based on numerous 2D model calibrations.  Typically for the lower reaches of coastal rivers the in-bank n value is 0.022 to 0.025 with an acceptable range considered to be (0.02 to 0.03).  In upper reaches, away from tidal influences, n values tend to be higher (0.025 to 0.04) for perennial rivers.  Possible reasons for the low n value could be due to the river bathymetry accreting since 1964 (we assume the bathymetry provided is based on more recent surveys), or the inflows maybe high.
Line 136: Line 108:
 
| 101 || 0.02 ||Water/Sand/Silt
 
| 101 || 0.02 ||Water/Sand/Silt
 
|}
 
|}
 +
 +
=Model Calibration=
  
 
The NLCD land cover provided a poor representation of the in-bank river section when compared with the DEM and aerial photography.  The river section was therefore digitized to replace the NLCD representation in the river.  A general comment overall was that the NLCD land cover was not always in agreement with the aerial photo and somewhat poor in its accuracy and resolution.
 
The NLCD land cover provided a poor representation of the in-bank river section when compared with the DEM and aerial photography.  The river section was therefore digitized to replace the NLCD representation in the river.  A general comment overall was that the NLCD land cover was not always in agreement with the aerial photo and somewhat poor in its accuracy and resolution.
  
For the levee and road crests, GIS breaklines were digitized along the crests, and elevations sampled from the DEM.  Ideally, ground surveys of these hydraulic controls would be available to ensure the crest is accurately modeled.  TUFLOW reads the GIS breaklines and interpolates the crest elevation to the nearest 2D cell elevations to ensure the embankment height is correctly modeled.
+
For the levee and road crests, GIS breaklines were digitized along the crests, and elevations sampled from the DEM (refer ''2d_zsh_ridges_001'').  Ideally, ground surveys of these hydraulic controls would be available to ensure the crest is accurately modeled.  TUFLOW reads the GIS breaklines and interpolates the crest elevation to the nearest 2D cell elevations to ensure the embankment height is correctly modeled.
  
 
In general the comparison with the high water marks tends to be higher overall, but the distribution of flow has improved with less water travelling to the southern tidal entrance.  In a few areas it is worse such as in the images below.  In the images the red values are the 1964 HWMs, and the black the calculated peak levels.  In these areas the presence of the embankments has a strong influence on the calibration results.  To test this influence a further scenario removing two critical embankments was carried out as discussed further below.
 
In general the comparison with the high water marks tends to be higher overall, but the distribution of flow has improved with less water travelling to the southern tidal entrance.  In a few areas it is worse such as in the images below.  In the images the red values are the 1964 HWMs, and the black the calculated peak levels.  In these areas the presence of the embankments has a strong influence on the calibration results.  To test this influence a further scenario removing two critical embankments was carried out as discussed further below.
Line 154: Line 128:
 
To test the effect of completely removing the embankments in the images above, the 15m and 30m TUFLOW models were used.  Initially the 30m model was run as this is a quick running model so good for an initial sensitivity tests.   
 
To test the effect of completely removing the embankments in the images above, the 15m and 30m TUFLOW models were used.  Initially the 30m model was run as this is a quick running model so good for an initial sensitivity tests.   
  
The embankments were removed by digitizing the polygons shown in grey in the images below, and using TUFLOW’s Z Shape functionality that creates TINs within the polygons whose perimeters are merged with the surrounding ground levels to erase the embankments.  This is a very quick process to do and setup (about 5 minutes in this case), and there is no need to rework the original DEM.
+
The embankments were removed by digitizing the polygons shown in grey in the images below, and using TUFLOW’s Z Shape functionality that creates TINs within the polygons whose perimeters are merged with the surrounding ground levels to erase the embankments.  Within the demo model, the embankment removal can be run using the scenario ''EMB''. With this scenario applied, TUFLOW will modify the topography by calling the layer ''2d_zsh_remove_ridges_001_R.shp'' as shown in the tgc file.
  
 
The images below for the initial 30m grid run show the levels at the high water marks with and without the embankments at the two locations previously discussed.  The red values are the 1964 HWMs, the blue values the without embankments scenario and the black values in brackets for the with embankments case previously discussed.  An improvement in the calibration results tends to result.
 
The images below for the initial 30m grid run show the levels at the high water marks with and without the embankments at the two locations previously discussed.  The red values are the 1964 HWMs, the blue values the without embankments scenario and the black values in brackets for the with embankments case previously discussed.  An improvement in the calibration results tends to result.
 
The 15m simulation provided an even better calibration, and gives the best overall performance of all simulations carried out.  The maximum flood extent layer is provided in the ftp download for this simulation.
 
  
 
In conclusion, we would summarise that some of the key embankments within the study area either did not exist at the time of the 1964 event or were of a lower height or configuration.
 
In conclusion, we would summarise that some of the key embankments within the study area either did not exist at the time of the 1964 event or were of a lower height or configuration.
Line 170: Line 142:
 
==Challenges==
 
==Challenges==
  
No unexpected “challenges” for Challenge 2, but it is worth noting the challenges that arise in calibration exercises.  Sometimes there is an expectation that models should be able to reproduce recorded levels to within a very small tolerance.  In these situations there needs to be a good understanding/appreciation by both the client and the modeler of the uncertainties and reasons for discrepancies; and the acceptable tolerances between the modeling and recorded observations accordingly set.
+
No unexpected “challenges” for Challenge 2, but it is worth noting the challenges that arise in calibration exercises.  Sometimes there is an expectation that models should be able to reproduce recorded levels to within a very small tolerance.  In these situations there needs to be a good understanding/appreciation by both the client and the modeller of the uncertainties and reasons for discrepancies; and the acceptable tolerances between the modeling and recorded observations accordingly set.
  
 
===Are Manning’s n Values the Same for 1D and 2D models?===
 
===Are Manning’s n Values the Same for 1D and 2D models?===
Line 179: Line 151:
  
 
<ol>
 
<ol>
<li>Recorded levels can themselves be quite uncertain.  They should preferably be rated as to their accuracy and the type of flood mark noted with the recording.  For example, a water mark in the wall of a house is a reliable, accurate mark of the peak water level; while a debris level is simply an indication that the flood was at least this high (debris marks may not be at the peak of the flood).  Scanning through the high water marks in this study would indicate some inconsistencies.  For example, in the northern end of the study area the 5.35 HWM in the image below is upstream of the 5.66 HWM.  Either the 5.35 is low and/or the 5.66 is high.  If the accuracy of the HWMs can’t be established, then as a generalization, the modeler should err on the high side in case the flood mark was not recorded at the flood peak.
+
<li>Recorded levels can themselves be quite uncertain.  They should preferably be rated as to their accuracy and the type of flood mark noted with the recording.  For example, a water mark in the wall of a house is a reliable, accurate mark of the peak water level; while a debris level is simply an indication that the flood was at least this high (debris marks may not be at the peak of the flood).  Scanning through the high water marks in this study would indicate some inconsistencies.  For example, in the northern end of the study area the 5.35 HWM in the image below is upstream of the 5.66 HWM.  Either the 5.35 is low and/or the 5.66 is high.  If the accuracy of the HWMs can’t be established, then as a generalization, the modeler should err on the high side in case the flood mark was not recorded at the flood peak.<br>
[[File:Critical_Embankment5.jpg|600px]]
+
 
 +
  [[File:Critical_Embankment5.jpg|600px]]
  
<li>The modeler should NOT adopt unrealistic parameter values (eg. excessively low or high Manning’s n values) for the sole purpose of achieving a good calibration.  It is invariably the fact that there are other uncertainties causing the discrepancy when unrealistic Manning’s n values are used.  Unrealistic Manning’s n values or other parameters (eg. high eddy viscosity) distort the results and are a sure sign that there is something else wrong.
+
 
 +
<li>The modeller should NOT adopt unrealistic parameter values (eg. excessively low or high Manning’s n values) for the sole purpose of achieving a good calibration.  It is invariably the fact that there are other uncertainties causing the discrepancy when unrealistic Manning’s n values are used.  Unrealistic Manning’s n values or other parameters (eg. high eddy viscosity) distort the results and are a sure sign that there is something else wrong.
  
 
<li>Levees, roads, railways and other embankments can have a major influence on the flood behavior.  Those embankments that overtop should be ground surveyed along their crests and the crest height correctly represented in the model’s elevations.  Often for calibration events the height or presence of the embankments is not known accurately and this needs to be taken into account in the ability of a model to reproduce flood marks.
 
<li>Levees, roads, railways and other embankments can have a major influence on the flood behavior.  Those embankments that overtop should be ground surveyed along their crests and the crest height correctly represented in the model’s elevations.  Often for calibration events the height or presence of the embankments is not known accurately and this needs to be taken into account in the ability of a model to reproduce flood marks.
Line 194: Line 168:
  
 
==Caveats==
 
==Caveats==
===TUFLOW Fixed Grid Models===
+
In summary, the TUFLOW 15m No Embankments simulation provided the best calibration.
In summary, the TUFLOW 15m No Embankments simulation provided the best calibration (the shape file for the maximum inundation area for this run is included in the ftp download).
 
 
 
===TUFLOW FV Flexible Mesh Model===
 
The adoption of approach taken was based on minimizing preparation time. This approach could be interpreted as a “rapid solution” approach, providing preliminary advice for floodplain managers.
 
 
 
The cell sizes in the main river channels were chosen to allow between 5 and 10 cells across the channel width. As flow in the main channels is primarily in one direction, cells length were made longer than cell widths in order to optimize computational performance. Cell sizes on the floodplains were chosen to broadly represent overland flow characteristics, without capturing finer resolution features (such as roads, etc).
 
 
 
Differing friction values were tested (including a N = 0.022 in the main channels and rougher values on floodplains), however results with a constant N = 0.035 value provided the most accurate model predictions. N values at 0.035 are somewhat higher than anticipated (especially in the main channels), but considered acceptable.
 
 
 
It could be argued that a more detailed description should be made of hydraulically significant features on the floodplains (roads, etc) and also a more detailed description of overbank friction (according to land use). However, the calibration event occurred in 1964, which questions the validity of the adopted land use, terrain and (potentially) channel bathymetry – such uncertainties may overshadow any adoption of such details in the model application.
 
  
 
=Conclusion=
 
=Conclusion=
  
In this challenge, we explored a tidally influenced floodplain and riverine system. From this, we gained a better understanding of how cell resolution affects results and when it is suitable to neglect 1D components, how to use a looped batch file to run through scenarios, and an understanding of comparison between the three different TUFLOW solvers (CPU, GPU and FV).
+
In this challenge, we explored a tidally influenced floodplain and riverine system. From this, we gained a better understanding of how cell resolution affects results and when it is suitable to neglect 1D components, how to use a looped batch file to run through scenarios, and an understanding of comparison between the CPU and GPU TUFLOW solvers.
  
Congratulations on finishing Challenge 2!
+
Congratulations on finishing Challenge 2! Please click [[Main_Page | here]] to return to the main page.

Latest revision as of 14:59, 6 January 2023

Introduction

The FMA Challenge models are example TUFLOW models submitted by BMT WBM for the Floodplain Management Association 2-Dimensional Model Challenges, 2012.
This Wiki page assumes an intermediate to advanced user level. If you haven't already completed FMA Challenge 1, please see the FMA Challenge 1 page.

This challenge model investigates a tidally influenced floodplain and riverine system along the Californian Coast. More information is available in the document "FMA Challenge 2 Documention.TUFLOW.docx" that is provided withing the ZIP file download.

All three challenge models are presented as a fully functional examples, allowing you to review the model setup, run the model and review results.
This model specifically shows:

  • Tidal influences on floodplains and riverine systems;
  • Variation in results due to 2D cell resolution and whether or not the model should contain a 1D component;
  • The usage of a trd file to specify grid cell resolution and time steps;
  • Looped batch files to run through scenarios; and
  • The differences between two different 2D solvers, TUFLOW classic and TUFLOW GPU.

A key investigation of this FMA Challange is the performance of the differing 2D solution methods (CPU and GPU) in representing measured flood levels during a historical event.

Data for this model is provided in a variety of different GIS compatible formats. Download the dataset that matches the GIS software you are using:

Relevant Tutorials

It may be useful to revisit some of the following tutorials:

Model Setup

This section provides an overview and discussion of the model domain setup. It is at your discretion which GIS package, text editor and method of model simulation to use (batch mode or within the text editor). All files required to setup and run the models are available within the download package. You have the choice of running with shape file or mif for usage in ArcGIS/QGIS or Mapinfo respectively.

This model does not require a licence dongle to run.

Grid Setup and Cell Size

A series of north-south oriented (10, 15 and 30m resolution) fixed grid domains have been developed over the coastal and estuarine study area.

When conceptualising the model domain, a fully 2D solution is preferable over a 1D/2D linked representation provided the 2D resolution of the primary flowpath/s is sufficiently fine. 'Sufficiently fine' is somewhat loosey defined as representing the channel with at minimum 4 fixed grid cells. Here, the 30m fixed grid resolution was determined sufficiently detailed to represent the river bathymetry.

For this model the upper sections near the two inflows are not represented well, especially the northern Tributary Inflow. However, this is unlikely to have an adverse effect on the objectives of the modelling, but would affect the comparison to the high water marks near these inflows.

As there is no 1D/2D linking, Challenge 2 provided an opportunity to provide some comparisons between our two different 2D solvers. Results from TUFLOW (finite difference implicit solution) and TUFLOW’s GPU Module (explicit finite volume GPU solver over a grid) are presented.

As with FMA Challange 1, variable model cell sizes have been simulated using the powerful event and scenario functionality of TUFLOW.

The grids investigated are as follows:

2D Domain Active 2D Cells/Elements
10m (grid) 727,865
15m (grid) 323,364
30m (grid) 80,842

Note on Runtimes

There is a series of batch files provided with the demo model that give the choice of running only the 15m and 30m grid resolutions or all three. Due to the size of the model and large number of cells for the CPU only 10m case, it may take up to 24hrs of 'real time' to run on your computer. If you don't want to run the 10 m case then just run either 'run_all_001.bat' or '_run_all_CPU_001.bat'. Further details are provided in the Readme.txt within the runs directory.

Current benchmarching of runtimes for the CPU vs GPU respectively has found that the GPU simulations are typically 20-30 times faster than the CPU for this demo model. For models with a much larger number of cells >10 million the benefit of the GPU increases dramatically with CPU/GPU runtime speed increases over 100. Further detail on the hardware benchmarking conducted on FMA Demo Model 2 is provided here.

Simple Manning’s n / Topography Test

The initial runs were carried out using the same Manning’s n over the entire model over a coarse resolution grid (30m).

The topography for these runs did not include any special provision for incorporating the levee and road embankments. The elevation sampling of the DEM was simply based on inspecting the DEM at the models’ elevation points. At this stage no 3D breaklines along the embankment crests were used to ensure the crest of the elevation was correctly represented by the models’ elevations.

Simulations were carried out using a constant roughness initially, followed by variable roughness as defined by the NLCD Land Cover GIS layer and 3D breaklines of the levee and road embankments visible in the DEM and aerial photo. This scenario (we envisage) would probably be representative of the present day conditions, and not representative of the 1964 flood event conditions.

The NLCD GIS layer was read directly by TUFLOW and Manning’s n values assigned to the different land covers as tabulated below. The water/river n value of 0.02 is considered at the lower end of typical n values for rivers based on numerous 2D model calibrations. Typically for the lower reaches of coastal rivers the in-bank n value is 0.022 to 0.025 with an acceptable range considered to be (0.02 to 0.03). In upper reaches, away from tidal influences, n values tend to be higher (0.025 to 0.04) for perennial rivers. Possible reasons for the low n value could be due to the river bathymetry accreting since 1964 (we assume the bathymetry provided is based on more recent surveys), or the inflows maybe high.

The n values used are presented in the table below:

Material ID Manning's n Description
11 0.04 Dummy Open Water - Overwritten by digitised polygon
21 0.05 Developed
22 0.08 Developed
23 0.1 Developed
24 0.2 Developed
31 0.03 Barren Land(Rock/Sand/Clay)
41 0.05 Deciduous Forest
42 0.05 Evergreen Forest
43 0.06 Unknown
52 0.1 Shrub/Scrub
71 0.1 Grassland/Herbaceous
81 0.04 Pasture/Hay
82 0.05 Cultivated Crops
90 0.1 Woody Wetlands
95 0.1 Emergent Herbaceous Wetlands
101 0.02 Water/Sand/Silt

Model Calibration

The NLCD land cover provided a poor representation of the in-bank river section when compared with the DEM and aerial photography. The river section was therefore digitized to replace the NLCD representation in the river. A general comment overall was that the NLCD land cover was not always in agreement with the aerial photo and somewhat poor in its accuracy and resolution.

For the levee and road crests, GIS breaklines were digitized along the crests, and elevations sampled from the DEM (refer 2d_zsh_ridges_001). Ideally, ground surveys of these hydraulic controls would be available to ensure the crest is accurately modeled. TUFLOW reads the GIS breaklines and interpolates the crest elevation to the nearest 2D cell elevations to ensure the embankment height is correctly modeled.

In general the comparison with the high water marks tends to be higher overall, but the distribution of flow has improved with less water travelling to the southern tidal entrance. In a few areas it is worse such as in the images below. In the images the red values are the 1964 HWMs, and the black the calculated peak levels. In these areas the presence of the embankments has a strong influence on the calibration results. To test this influence a further scenario removing two critical embankments was carried out as discussed further below.

Critical Embankment1.jpg


Critical Embankment2.jpg


Removal of Major Embankments Scenario

To test the effect of completely removing the embankments in the images above, the 15m and 30m TUFLOW models were used. Initially the 30m model was run as this is a quick running model so good for an initial sensitivity tests.

The embankments were removed by digitizing the polygons shown in grey in the images below, and using TUFLOW’s Z Shape functionality that creates TINs within the polygons whose perimeters are merged with the surrounding ground levels to erase the embankments. Within the demo model, the embankment removal can be run using the scenario EMB. With this scenario applied, TUFLOW will modify the topography by calling the layer 2d_zsh_remove_ridges_001_R.shp as shown in the tgc file.

The images below for the initial 30m grid run show the levels at the high water marks with and without the embankments at the two locations previously discussed. The red values are the 1964 HWMs, the blue values the without embankments scenario and the black values in brackets for the with embankments case previously discussed. An improvement in the calibration results tends to result.

In conclusion, we would summarise that some of the key embankments within the study area either did not exist at the time of the 1964 event or were of a lower height or configuration.

Critical Embankment3.jpg


Critical Embankment4.jpg

Challenges

No unexpected “challenges” for Challenge 2, but it is worth noting the challenges that arise in calibration exercises. Sometimes there is an expectation that models should be able to reproduce recorded levels to within a very small tolerance. In these situations there needs to be a good understanding/appreciation by both the client and the modeller of the uncertainties and reasons for discrepancies; and the acceptable tolerances between the modeling and recorded observations accordingly set.

Are Manning’s n Values the Same for 1D and 2D models?

Generally Manning’s n values are very similar for 1D and 2D schemes. Where there is rapid changes in flow direction and magnitude (eg. at a structure, sharp bend or embankment opening), fully 2D schemes will simulate energy losses associated with the change in flow patterns, whereas 1D schemes either require user specified energy losses (eg. a structure) or artificially increasing Manning’s n. In these situations 1D schemes may utilize higher Manning’s n values than 2D schemes. Conversely, 2D schemes typically apply no side wall friction, so if there is significant wall friction a 2D scheme may require a slightly lower Manning’s n than a 1D scheme.

Calibration Challenges

Key challenges to note when calibrating are discussed below (this is not an exhaustive list but is a starting point!):

  1. Recorded levels can themselves be quite uncertain. They should preferably be rated as to their accuracy and the type of flood mark noted with the recording. For example, a water mark in the wall of a house is a reliable, accurate mark of the peak water level; while a debris level is simply an indication that the flood was at least this high (debris marks may not be at the peak of the flood). Scanning through the high water marks in this study would indicate some inconsistencies. For example, in the northern end of the study area the 5.35 HWM in the image below is upstream of the 5.66 HWM. Either the 5.35 is low and/or the 5.66 is high. If the accuracy of the HWMs can’t be established, then as a generalization, the modeler should err on the high side in case the flood mark was not recorded at the flood peak.
    Critical Embankment5.jpg
  2. The modeller should NOT adopt unrealistic parameter values (eg. excessively low or high Manning’s n values) for the sole purpose of achieving a good calibration. It is invariably the fact that there are other uncertainties causing the discrepancy when unrealistic Manning’s n values are used. Unrealistic Manning’s n values or other parameters (eg. high eddy viscosity) distort the results and are a sure sign that there is something else wrong.
  3. Levees, roads, railways and other embankments can have a major influence on the flood behavior. Those embankments that overtop should be ground surveyed along their crests and the crest height correctly represented in the model’s elevations. Often for calibration events the height or presence of the embankments is not known accurately and this needs to be taken into account in the ability of a model to reproduce flood marks.
  4. The inflows to a model for historical floods often have a high degree of uncertainty, and are the most common reason for a poor calibration. The precise distribution spatially and temporally of the rainfall is not known (sometimes there is little or no rainfall data), and/or the rating curve at a model boundary has significant uncertainties. The significant uncertainties associated with developing model inflows should be understood and appreciated by modeler and client. Ideally, one or more recorded hydrographs would be available to the modeler to verify that the model can reproduce the shape and timing of the flood. If a hydrologic model is being used to generate the inflows, then the calibration exercise should be a joint exercise in calibrating both the hydrologic and hydraulic models.
  5. Inaccurate topography has become less of an issue in recent years with the advent of more accurate aerial surveys. However, the bathymetry of the main flowpaths, and storage capacity of floodplain backwaters, needs to be accurately represented if the model is to have any chance of reproducing flood marks. If these areas have permanent water and/or dense vegetation, the aerial surveys are still incapable of accurately surveying them, so other forms of survey maybe required. If accurate surveys are not available for these areas, this adds to the uncertainty in the modeling and the ability of the model to reproduce historical flood events. There is also the issue of using contour data instead of the raw terrain data to create the DEM as highlighted in our Challenge 1 discussion.
  6. Structures are often poorly represented due to lack of data. For example, in the aerial photograph below for Challenge 2 there appears to be some structures (which has two calibration points in the vicinity). However, with no details provided, the structure below can only be modeled as a simple opening in the embankment with no allowance for bridge decks, etc.
  7. Critical Embankment7.png

    Caveats

    In summary, the TUFLOW 15m No Embankments simulation provided the best calibration.

    Conclusion

    In this challenge, we explored a tidally influenced floodplain and riverine system. From this, we gained a better understanding of how cell resolution affects results and when it is suitable to neglect 1D components, how to use a looped batch file to run through scenarios, and an understanding of comparison between the CPU and GPU TUFLOW solvers.

    Congratulations on finishing Challenge 2! Please click here to return to the main page.