Flood 2D (1D-2D surface)
Build a 2D surface mesh over the ground from a DEM, couple it to the manholes, run the sewer and the surface together on SWMM, and map flood depth and hazard.
Tools > Flood 2D... opens the Flood 2D (1D-2D surface) window. It covers a study area with a mesh of 2D cells built from a DEM, joins each manhole to the cell above it with a bottom orifice, and runs the open project and the surface together on the SWMM engine. Water that overflows a manhole spreads over the ground instead of being lost, and the window maps the maximum depth and the flood hazard.
The 2D surface is modelled the way PCSWMM does it in SWMM: each cell is a junction at ground level and each shared cell edge a short, wide open rectangular conduit that carries sheet flow between cells. The run does not change the project. Add 2D mesh to project... adds the mesh to the model, as one edit, if you want to keep it.
What you need
- A DEM as an ESRI ASCII grid (.asc), in the same projected coordinates and length unit as the model (metres or feet), not longitude and latitude. Load it with the DEM (.asc grid) file box.
- A study area. Current map view uses the extent of the whole network (not the part of the map you have zoomed to), Drawn polygon uses the outline of the subcatchment selected on the map, and Whole DEM extent uses the DEM's rectangle. Select a subcatchment before opening the window to use its outline; a tip at the top reminds you.
Set up the mesh
| Setting | Start value | Meaning |
|---|---|---|
| Cell shape | Hexagonal | Hexagonal or Rectangular cells. |
| Resolution | 10 m (30 ft) | Side of a rectangular cell, or centre-to-centre distance of hexagons. The window estimates the number of cells. |
| Storage layout | Cell-area storage (DrainPilot correction) | The alternative, PCSWMM layout, stores about twice the surface area, so ponded water stands at about half its true depth. |
| Mesh boundary | Open: free outfall on every edge | Or Closed: a wall, which needs an outfall in the 1D model. |
| Manning n | 0.035 | Surface roughness of every cell. |
| Manhole inlets | One cell edge square | The size of the bottom orifice joining each manhole to its cell. Untick to type the opening width and height. Discharge coeff. 0.65. |
Run it
- Optionally tick Rain directly on the grid (no losses) and set the intensity (50 mm/h to start) and duration (1 h). This adds rain straight onto the cells, with no infiltration, on top of whatever the model's own subcatchments do.
- Set the Routing step (s), 1 s to start. 2D meshes need short steps; Al Amin et al. (2024) used 0.5 s for 10 m hexagons.
- Press Run 1D-2D. A progress bar shows the run; Cancel stops it. The run uses the project's own simulation period and reporting step, with dynamic wave routing.
- When it finishes, the window says how many cells ran and how many manholes were linked; manholes outside the mesh are left unconnected and counted.
Read the flood map
- Colour the preview by Maximum depth (bands 0.05 to 0.15 m, 0.15 to 0.30 m, 0.30 to 0.60 m, 0.60 to 1.20 m, over 1.20 m) or by Hazard class (Australian, AIDR 7-3).
- Two tables give the cells and hectares in each depth band and each hazard class, and the total flooded area.
- Maximum depth comes from SWMM's Node Depth Summary, which sees every routing step; velocity and hazard are read at the reporting periods.
- PNG saves the picture, GeoJSON the cells with their results for GIS, and CSV one row per cell.
- View > Raster Layers... can export the last 2D run's maximum depth as a GeoTIFF (Flood max depth surface, m (last 2D run)).
| Hazard class | Meaning |
|---|---|
| H1 | Generally safe for vehicles, people and buildings. |
| H2 | Unsafe for small vehicles. |
| H3 | Unsafe for vehicles, children and the elderly. |
| H4 | Unsafe for vehicles and people. |
| H5 | Unsafe for vehicles and people. All building types vulnerable to structural damage. Some less robust building types vulnerable to failure. |
| H6 | Unsafe for vehicles and people. All building types considered vulnerable to failure. |
Hazard classes follow AIDR Guideline 7-3 (Flood hazard), Table 2: combined hazard curves (Australian classification), combining depth, velocity and their product.
