Sculpt the ground: raise levees and dig detention basins, then test rain, river and sea surge on your edited city.
Water surface model. Every ground point gets a static water level L = sea·(1.15 - 0.35t) + river·exp(-dx²/2s²) + pond; depth is max(0, L - ground). This is a bathtub (hydrostatic) model, not a flow solver: there is no water routing, momentum or flood-wave timing. Units: 1 scene unit = 1 m; the model city is 200 m × 200 m.
Ponding. Rain fills a citywide pond depth A with dA/dt = I - (kA + c), I = 0.55·rain/100 m/h, k = 0.15 + 1.55·drain/100 per hour, c = 0.05·drain/100 m/h. The exact solution is A(t) = A* + (A0 - A*)e-kt with A* = (I - c)/k. The 100 % rain setting is a deliberately extreme teaching scale, not a design storm.
Terrain edits. A brush adds a Gaussian bump a·exp(-r²/2σ²), σ = radius/2, to the ground (limited to -6 m / +8 m in total). Dug volume is counted as detention storage: each m³ removed stores 1 m³ of runoff, lowering the citywide pond by V / (200 m)². A raised levee changes the margin between ground and water only.
Simplifications. Roads, bridge and trees keep their original height, houses follow the ground, and infiltration, soil, flow velocity and real storm statistics are not modelled.
Independent checks