TUFLOW 2D Cell Size Selection

From Tuflow
Jump to navigation Jump to search

This page is currently under construction.

Introduction

This page of the TUFLOW Wiki discusses 2D cell size convergence. Cell size convergence refers to the tendency for model results to trend towards a common answer as cell size decreases. This behaviour occurs due to topographic features that influence the hydraulic flow behaviour better approximating reality as resolution increases. The series of creek cross-section images below demonstrate this. As model resolution increases from 20m to 5m the modelled topography progressively matches the real-world geometry more closely.
Mesh Converge XS 20m.pngMesh Converge XS 10m.pngMesh Converge XS 05m.png

Unfortunately it isn't practical for all models to be designed at an infinitely fine resolution due to the impact it has on simulation speed. Increasing a model resolution will make a simulation run slower. As a rule of thumb, halving the cell size in a model will typically increase the simulation run time by a factor 8. This is due to the number of cells increasing by a factor of (4) four and the necessity for a calculation timestep half that of the larger resolution, translating to (2) twice the number of calculations (4 x 2 = 8).

The challenge for modellers is knowing what resolution is necessary to achieve results that are fit for purpose with sufficient accuracy.

Australian Rainfall and Runoff Guideline - Two Dimensional Modelling in Urban and Rural Floodplain provides some recommendations on this topic. It states:

The resolution of a 2D model grid/mesh determines the scale of physical features and flow behaviour that can be modelled for a given study area. Selection of an appropriate resolution is generally driven by a combination of the following factors:
* The scale of topographic and/or flow phenomena to be modelled
* The desired level of detail to be achieved in the model outputs
* The length of event time and consequent run time
* The size of the area of interest
Details of the model schematisation process including resolution aspects are described in Chapter 6. Chapter 7 also highlights the importance of grid/mesh resolutions in achieving manageable run times to maximise calibration outcomes. Table 10-2 (below) provides guidance on levels of model resolution that may be appropriate in certain typical situations.
Modelling Case Typical 2D Cell Resolution
Flow in Channel In order to adequately resolve flow in a channel it is desirable to provide at least 5 grid/mesh elements laterally across the channel
Urban Overland Most urban flood models employ grid/mesh resolutions of 2m to 5m.
Flow in Floodplain Rural floodplain models typically employ grid/mesh resolutions of 10m and 50m (although resolutions up to 200m have been used) depending on the size of the are to be analysed, the characteristics/dimensions of the floodplain and the desired level of output detail.
Lakes and Estuaries these situations often include areas of open water where less detail is required than along the water body boundary. Such situations are well suited to a flexible mesh rather than fixed grid based model as the mesh is able to incorporate a change of resolution across the model domain. element resolutions for these models can span the full range as described above depending on project requirements.
Flow Over and Embankment Embankments effectively act as weirs in the floodplain context. Many 2D modelling packages have automatic or manually activated corrections that compensate for the error in head loss typically associated with modelling broad-crested weir flow with a 2D scheme. For practical purposes, a single 2D element is generally adequate to represent the impact of a levee, road or railway embankment. The resolution of these elements is generally not a significant limitation on the schematisation of most domains.

This Wiki page uses two test cases to discuss this topic. Quantitative results are presented demonstrating how and when resolution assumptions have a tangible impact on model results.

Test Case 1 - Rural Dam Break

This test case has been sourced from the UK Environment Agency 2D Hydraulic Model Benchmark Test dataset. It is referred to as Test 5 in the Environment Agency (EA) dataset. The EA designed to simulate flood wave propagation down a river valley following the failure of a dam. The valley DEM is ~0.8 km by ~17 km and the valley slopes downstream on a slope of ~0.01 in its upper region, easing to ~0.001 at lower elevations. The model uses a single manning n value of 0.04 across the entire domain. The model topography, EA reporting points and the simulation inflow hydrograph is shown below.
Mesh Converge Model Description 001.png Mesh Converge Model Elevation 001.png

The model has a single inflow at the top of the catchment.
Mesh Converge Model Inflow 001.png
The water flows downhill through the respective EA reporting points. Reporting location 4 and 5 are at the bottom of the model, furthest from the inflow locations.
Mesh Converge SMS 0.5hr.png Mesh Converge SMS 1.5hr.png

The EA benchmark testing original assumed a 50m cell resolution. For the purpose of this assessment a range of cell sizes have been used to determine the impact changing grid resolution has on the model result. The following grid resolutions were used:

  • 10m (33ft) resolution - 188,240 cell count
  • 20m (66ft) resolution - 47,080 cell count
  • 50m (164ft) resolution - 7,540 cell count
  • 100m (328ft) resolution - 1,880 cell count
  • 150m (492ft) resolution - 840 cell count
  • 200m (656ft) resolution - 480 cell count
  • 250m (820ft) resolution - 300 cell count

Test Case 1 - Results

Test results have focused on reporting locations 4 and 5. Their location furthest downstream makes them most sensitive of all 7 reporting points. Any divergence in result due to poor representation of the upstream topography will accumulate, amplifying the result difference associated with a change in cell resolution. The results are presented below. Although the figures are shown in sequence (from fine to coarse resolution), the results are overlayed on one another moving through the dataset so it obvious if poor convergence occurs.

Cell Size Location 4 Result Location 5 Result Mesh Resolution Figure
10m Mesh Converge Exg P4 010.png Mesh Converge Exg P5 010.png Mesh Converge Grid 010.png
20m Mesh Converge Exg P4 020.png Mesh Converge Exg P5 020.png Mesh Converge Grid 020.png
50m Mesh Converge Exg P4 050.png Mesh Converge Exg P5 050.png Mesh Converge Grid 050.png
100m Mesh Converge Exg P4 100.png Mesh Converge Exg P5 100.png Mesh Converge Grid 100.png
150m Mesh Converge Exg P4 150.png Mesh Converge Exg P5 150.png Mesh Converge Grid 150.png
200m Mesh Converge Exg P4 200.png Mesh Converge Exg P5 200.png Mesh Converge Grid 200.png
250m Mesh Converge Exg P4 250.png Mesh Converge Exg P5 250.png Mesh Converge Grid 250.png

Test Case 1 - Discussion

The graphed results indicate convergence is observed for all cases with a cell resolution equal to or finer than 100m. The grid figures presented to the right of the graphs suggest the 100m cell resolution case has approximately (4) four cells laterally across the valley which the daybreak flow is contained within. Although the 400-600m wide valley isn't a traditional channel, the scale of flow associated with the dam break mean the valley is behaviour like one. Small drainage channels within the valley are too small to have a significant impact on the flood behaviour for flow conditions of this large magnitude. This result trend is consistent with the Australian Rainfall and Runoff recommendation for the flow in a channel, "In order to adequately resolve flow in a channel it is desirable to provide at least 5 grid/mesh elements laterally across the channel".

Simulation time can influence model resolution selection. This is not the case in this situation. All models have run in under 5 minutes using TUFLOW HPC's GPU hardware module.

Cell Size Model Size
(Cell Count)
Simulation Run Time
(seconds)
Judgement of Convergence
(Yes / No)
10m (33ft) 188,240 151 Yes
20m (66ft) 47,080 48 Yes
50m (164ft) 7,540 17 Yes
100m (328ft) 1,880 11 Yes
150m (492ft) 840 9 No
200m (656ft) 480 8 No
250m (820ft) 300 7 No

Test Case 2 - Urbanised Catchment

Test Case 2 - Results

Test Case 2 - Discussion