Tested against the references you already design with
We compared PocketFlow Pro with US Army Corps of Engineers spillway charts, FHWA HDS-5 culvert equations,
laboratory flume measurements and published benchmarks, running every case on one laptop GPU.
Spillways, weirs, culverts, bridges, rockfill and dam breaks, each against a published reference.
Seven application cases and seven fundamental cases. Pick one to see how it compares.
The cases in detail
Chapter
Applications
Structures and their ratings: spillway, weirs, culverts, bridge, rockfill and a dam-break wave, against design charts and laboratory measurements.
Standard ogee spillway (Corps of Engineers)
vs Corps of Engineers chart
Will it rate your spillway like the Corps of Engineers chart?
Start-up: water released from the full reservoir flows over the crest and settles (30 s).
Data and setup
The discharge coefficient of the standard ogee crest is one of the best-documented numbers in dam
engineering. We model a slice through the WES standard crest (downstream face x1.85 =
2Hd0.85y with the two-radius upstream curve; design head Hd = 0.4 m, crest
height P/Hd = 2, side walls without friction) fed from a reservoir. The discharge coefficient is
C = q/He1.5 (m½/s), with q the steady discharge per metre of crest and He
the energy head of the approach flow above the crest: in each cross-section of the approach channel, the
pressure head, elevation and velocity head of the water are averaged weighted by discharge, and these section
values are averaged from 2.5 to 6.5 design heads upstream of the crest. We compare it with
the US Army Corps of Engineers design chart for this crest shape (the deep-approach curve, P/Hd 1.33 and above, of Hydraulic Design
Chart 122-1) and with the 1949 Waterways Experiment Station laboratory tests of the same crest that the chart is
drawn through above 0.4 times the design head.
Broad-crested weir
vs Bazin's measurements
Does a flat-topped weir pass the flow Bazin measured?
PocketFlow ProMeasured (Bazin)Hager & Schwalt (1994)±2 % band
Flow over the weir at a head of 0.6 crest lengths: the water draws down over the crest and springs clear of the sharp downstream corner.
Data and setup
Bazin's classic experiments (1896–98) on a rectangular weir block 0.75 m high with a 0.40 m flat crest, sharp
upstream corner and free overfall, in a 2 m wide channel (series 113, as tabulated by Horton 1907). We model a
slice of the channel and compare the discharge coefficient Cd, defined by
q = Cd(2/3)3/2√g H13/2 with H1 the total head above the crest
including velocity head (in the model, measured 1.5 m upstream; Bazin read his head 5 m upstream). Bazin's discharges were derived from a standard weir that he calibrated to within about 1 %
(Horton 1907).
Labyrinth weir
vs Utah State lab tests
Does a folded crest pass the flow the laboratory measured?
Discharge coefficient against total head over weir height.At a head of 0.2 times the weir height: the nappe springs clear of the downstream face as the water falls from both sides of each fold.
Data and setup
Crookston's laboratory labyrinth (Utah Water Research Laboratory, 2010): a trapezoidal labyrinth with 15° sidewalls,
a quarter-round crest and a weir height P of 0.30 m, with a free outfall. The laboratory model had two identical cycles across the flume, so we model one cycle between planes of symmetry
(side-wall friction neglected), with 60 cells across the cycle (100 at the lowest head) and turbulence modelled
with k-ε and wall functions. The coefficient is defined by Q = (2/3) Cd Lc √(2g) HT3/2,
with Lc the crest length along its centreline and HT the total head upstream. The comparison is with
Crookston & Tullis's design curve for this crest, which is fitted to these measurements. At low heads the nappe springs
clear of the downstream face; at heads of 0.4–0.5 times the weir height the space under the nappe fills with water and the
sheet falls into the downstream pool.
Culvert inlet control
vs FHWA HDS-5
How much headwater does a culvert need for a given flow?
PocketFlow ProHDS-5 inlet control
Headwater ratio HW/D against Q/(A·D0.5), the flow term of the HDS-5 inlet-control equations, in US customary units
(ft0.5/s), the form used by HDS-5, over its unsubmerged-inlet range.
Data and setup
For a culvert, the design question is how much headwater a given flow needs. We compare the headwater ratio
HW/D with the inlet-control equations of FHWA HDS-5 for a circular barrel with a square-edged headwall and a
concrete box with a square-edged inlet in a vertical headwall (HDS-5 coefficients for 90° and 15° wingwall flares), on a 3 % slope with a free outfall, across the unsubmerged-inlet range. In every run the barrel flowed part-full downstream of the inlet, so the inlet controlled the flow.
Arch-bridge afflux
vs Birmingham flume tests
How much does a bridge raise the water level upstream?
Plan view of depth-averaged velocity over the first 100 s from start-up.
Data and setup
Afflux is the rise in upstream water level that a bridge causes. We use measurements for a single-span arch
bridge in a laboratory channel with floodplains (Atabay & Knight 2004). Each
discharge is run with the bridge in place. The afflux is the upstream water level with the bridge minus the measured normal depth without it, as in the
laboratory; in the model the upstream level is averaged over the main channel from 0.1 m to 1.0 m upstream of the bridge. The water
surface is compared with the levels measured along the main channel in the metre upstream of the bridge (as plotted by
Kocaman 2014), using the model surface averaged over the last 10 s. Each discharge is run for at least 200 s of flow
and until it has settled: the afflux is the mean over the last 60 s, changing by less than 0.02 percentage points per 10 s window over its last six windows, and
the water stored in the model changing by less than 0.1 % of the inflow.
Flow through rockfill
vs Liu et al. laboratory test
Does flow through a rock groyne, toe or filter lose the right amount of head?
Dam break through a crushed-rock column: the water seeps through the rock and refills the far side.
Data and setup
Rock groynes, rockfill toes and riprap filters are modelled as porous zones: the app takes the porosity and
stone size and applies a resistance that grows with the velocity through the rock (a Darcy–Forchheimer law
with published coefficients for crushed rock, Jensen et al. 2014, written in terms of the bulk velocity through
the rock).
Dam break against an obstacle
vs MARIN laboratory test
How fast does a dam-break wave arrive, how high does it run, and how hard does it hit?
PocketFlow ProMeasured
Water height at the probe (m) against time (s).The full 6 s: impact, run-up on the far wall, and the returning wave. Yellow: the water-height probes H1–H4.
PocketFlow ProMeasured
Pressure on the box (kPa) against time (s).
Data and setup
Chapter
Fundamentals
The classic benchmark for the core equations, and textbook flows with exact solutions or classic laboratory and benchmark references.
Lid-driven cavity
vs Ghia et al. benchmark
Are the core flow equations right?
PocketFlow ProGhia et al. (1982)
Horizontal velocity u/U through the middle of the box (x = 0.5), against height.Vertical velocity v/U through the middle of the box (y = 0.5), against x.Spin-up at Re 1000: the main vortex forms and the corner eddies appear.
Data and setup
A square box of fluid whose lid slides at constant velocity is the classic test of a flow solver's core
equations. We compare the velocity through the middle of the box, and the positions of the main vortex and the
two corner eddies, with the benchmark solution of Ghia, Ghia & Shin (1982) at Reynolds numbers 100, 400 and 1000.
Vortex centres at Re 1000
Flow past a sphere
vs Tabata & Itakura benchmark
Does a body in a stream feel the right drag?
Drag coefficient +1.6 % against the benchmark (24 cells per diameter).
Wake development from the uniform stream (24 cells per diameter): the reversed-flow region (amber dashed line) grows behind the sphere and settles into a steady ring vortex. The view is the centre plane mirrored about the symmetry plane: one quarter of the sphere is modelled.Data and setup
The drag coefficient is Cd = F/(½ρU2·πD2/4), with the drag force F taken from a momentum balance on a control volume around the sphere. One quarter of the sphere is modelled between two symmetry planes.
Grid
PocketFlow Pro
Reference
Error
24 cells per diameter
1.1068
1.0895
+1.6 %
Reference: Tabata & Itakura (1998).
Cylinder wake
vs Williamson
Does the wake behind a cylinder shed vortices at the right rate?
Strouhal number +2.9 % against the measured value (32 cells per diameter).
Regular shedding (32 cells per diameter), about four periods: vortices leave the cylinder alternately from each side and form the vortex street.Data and setup
The Strouhal number is St = fD/U, with f the frequency of the lift force on the cylinder once the shedding is regular. The frictionless side boundaries are 10 diameters either side of the cylinder, a blockage of 5 %.
Grid
PocketFlow Pro
Reference
Error
32 cells per diameter
0.1690
0.1643
+2.9 %
Reference: Williamson (1989).
Falling film
vs Nusselt film theory
Does a thin film run down a slope at the right depth?
Film thickness −0.6 % against Nusselt's theory on the finer grid (16 cells over the film), −0.6 % on the coarser (8 cells over the film).
Velocity across the film against height above the bed, both made dimensionless, with Nusselt's parabola.The first second on the finer grid (16 cells over the film): the film, released at rest at the theoretical thickness, accelerates until its velocity profile matches the parabola. The bulge in the first 0.2 s is start-up: the film is released at rest while the inlet already delivers the full flow; it washes out within about 0.7 s, before the measuring strip. The last 70 mm before the outlet, where the outlet boundary holds the level up, are not shown.
Data and setup
The film thickness is given as δ/δN, the computed thickness over Nusselt's thickness for the same flow rate. The velocity profile is compared with the theoretical u/umax = 2η − η2, with η the height above the bed over the film thickness. The film Reynolds number is q/ν, the flow per metre width over the kinematic viscosity; at about 1 on a 30° slope the film stays flat and laminar, the regime Nusselt's solution describes.
Grid
PocketFlow Pro
Reference
Error
8 cells over the film
0.9943
1.0000
−0.6 %
16 cells over the film
0.9936
1.0000
−0.6 %
Headline: the finer grid. Reference: Nusselt (1916).
Backward-facing step
vs Armaly et al. measurements
Does the flow separate and reattach in the right place?
Reattachment length −3.7 % against the measured curve (39 cells over the step).
Start-up (39 cells over the step): the start-up vortices wash out and the recirculation behind the step settles. Coral marker: where the flow reattaches; amber line: the reattachment length read from the measurements.Data and setup
The reattachment length xr/s is the distance from the step to where the flow reattaches to the bottom wall, over the step height s. The Reynolds number is based on the hydraulic diameter of the inlet channel.
Grid
PocketFlow Pro
Reference
Error
39 cells over the step
4.815
5.0
−3.7 %
Reference: Armaly et al. (1983).
Wigley hull waves
vs towing-tank measurements
Does a body moving through water raise the right waves?
Wave profile along the hull within 4.2 mm RMS of the measurements (1.4 in ζ/L × 10³) on the finer grid (250 cells per hull length), 4.1 mm (1.3) on the coarser (160 cells per hull length).
Wave elevation along the hull.Development of the wave pattern on the finer grid (250 cells per hull length): plan view of the free-surface elevation, with the wave profile along the hull side below.
Data and setup
The measurements are the University of Tokyo 2.5 m Wigley model, fixed in sinkage and trim, at Fn 0.267 (Kajitani et al. 1983, Table 1), where the wave elevation is tabulated in nondimensional form; we show it as ζ/L × 103 (the tabulated value × ½Fn2 × 103, reading it as 2gζ/U2, the reading consistent with independent measurements), with L the hull length. The headline is the root-mean-square difference between the computed and the measured wave elevation over the whole hull, in ζ/L × 103 and in mm at the 3.014 m hull length computed here (scaled by Froude similarity). The measured bow crest is ζ/L × 103 = 12.9, which is 38.9 mm at that length. Errors are computed from unrounded values.
Grid
Profile RMS (mm)
Bow crest (mm)
Measured crest (mm)
Crest error
160 cells per hull length
4.1
38.6
38.9
−0.7 %
250 cells per hull length
4.2
40.7
38.9
+4.8 %
Headline: the finer grid. Reference: Kajitani et al. (1983).
Laminar wall friction: flow between plates and in a pipe
vs exact solutions
Does a viscous flow along a wall meet the right resistance?
Between parallel plates: wall resistance −1.2 % against the exact solution (24 cells across). In a round pipe whose wall cuts through the grid: wall resistance −2.1 % against the exact solution (24 cells per diameter).
Settled flow (24 cells across the channel): velocity over the exact centreline velocity; right, the profile in the shaded strip against the exact parabola.Data and setup
Wall resistance is the force per unit mass along the plates that drives the delivered flow, over the exact value 12νq/H3 for the delivered flow rate per unit width q; below 1 the wall offers too little resistance. The centreline velocity is +1.0 % against the exact value and the velocity profile differs from the exact parabola by 0.8 % of the centreline velocity (root mean square). Velocities are measured over the middle 40 % of the channel length once the flow has settled.
Settled flow (24 cells per diameter): velocity over the exact centreline velocity on a section through the axis (radial scale exaggerated); right, the cross-section against the exact parabola.Data and setup
Wall resistance is the pressure gradient that drives the delivered flow, over the exact value 32μU/D2 for the delivered bulk velocity U; below 1 the wall offers too little resistance. The centreline velocity is −1.1 % against the exact value and the velocity profile differs from the exact parabola by 0.7 % of the centreline velocity (root mean square). Velocities are averaged along the developed part of the pipe (12 to 27 diameters from the inlet) once the flow has settled; the profile difference is over the cells not cut by the wall.
Grid
Wall resistance / exact
Error
Centreline velocity
Profile rms
24 cells per diameter
0.9791
−2.1 %
−1.1 %
0.7 %
Reference: Hagen (1839) / Poiseuille (1840).
Next step
Run these on your own structure
See one of these cases set up live, or tried on your own spillway, culvert or bridge. Setup details for any case
are available on request.
The published measurements, standards and benchmark solutions each case is compared with.
Scope and disclaimer. Each result applies only to the benchmark conditions of that case and the mesh used for it, computed with PocketFlow Pro 1.6 on NVIDIA RTX 5070 Ti laptop and desktop GPUs in October 2026. These are selected benchmark cases. Steady cases vary by about ±1 % between repeat runs and transient cases such as the dam break vary more; results will differ for other geometries, meshes and settings. They are not design values or certification, do not mean PocketFlow Pro suits any particular project, and are not a substitute for engineering judgement, independent checking or the applicable standards. Agencies, organisations and authors named here are cited as data sources only and do not endorse PocketFlow Pro. This page is general information: do not rely on it for any specific project. To the extent permitted by law, PocketFlow Pty Ltd excludes liability for loss arising from reliance on it. Nothing here excludes, restricts or modifies any right or remedy under the Australian Consumer Law. Use of PocketFlow Pro is governed by its licence agreement.
References
Armaly, B.F., Durst, F., Pereira, J.C.F. & Schönung, B. (1983). Experimental and theoretical investigation of backward-facing step flow. J. Fluid Mech. 127, 473–496.
Atabay, S. & Knight, D.W. (2004). Bridge afflux experiments in compound channels. Annex 6 of Defra/Environment Agency R&D Project Record W5A-061/PR6. Smooth compound channel, semicircular arch (series ASOSC, Table A2).
Bazin, H. (1896). Expériences nouvelles sur l'écoulement en déversoir (5e article). Annales des Ponts et Chaussées, Mémoires et documents, sér. 7, 12, 645–731; also 6e article (1898); data as tabulated in Horton, R.E. (1907), Weir experiments, coefficients, and formulas, USGS Water-Supply Paper 200.
Clift, R., Grace, J.R. & Weber, M.E. (1978). Bubbles, Drops, and Particles. Academic Press, New York.
Crookston, B.M. & Tullis, B.P. (2013). Hydraulic design and analysis of labyrinth weirs. I: Discharge relationships. J. Irrig. Drain. Eng. 139(5), 363–370.
Ghia, U., Ghia, K.N. & Shin, C.T. (1982). High-Re solutions for incompressible flow using the Navier–Stokes equations and a multigrid method. J. Comput. Phys. 48(3), 387–411.
Hagen, G. (1839). Ueber die Bewegung des Wassers in engen cylindrischen Röhren. Ann. Phys. Chem. 46, 423–442.
Hager, W.H. & Schwalt, M. (1994). Broad-crested weir. J. Irrig. Drain. Eng. 120(1), 13–26.
Jensen, B., Jacobsen, N.G. & Christensen, E.D. (2014). Investigations on the porous media equations and resistance coefficients for coastal structures. Coastal Eng. 84, 56–72.
Kajitani, H., Miyata, H., Ikehata, M., Tanaka, H., Adachi, H., Namimatsu, M. & Ogiwara, S. (1983). The summary of the cooperative experiment on Wigley parabolic model in Japan. Proc. 2nd DTNSRDC Workshop on Ship Wave-Resistance Computations, David W. Taylor Naval Ship R&D Center, Bethesda, MD, 5–35.
Kleefsman, K.M.T., Fekken, G., Veldman, A.E.P., Iwanowski, B. & Buchner, B. (2005). A volume-of-fluid based simulation method for wave impact problems. J. Comput. Phys. 206(1), 363–393. Data: SPHERIC Test 2, dam break with an obstacle.
Kocaman, S. (2014). Prediction of backwater profiles due to bridges in a compound channel using CFD. Adv. Mech. Eng. 6, 905217 (measured water-surface profiles).
Liu, P.L.-F., Lin, P., Chang, K.-A. & Sakakiyama, T. (1999). Numerical modeling of wave interaction with porous structures. J. Waterway, Port, Coastal, Ocean Eng. 125(6), 322–330. Measured profiles as re-plotted by Chandra, B., Hashimoto, R., Kamrin, K. & Soga, K. (2024), Mixed material point method formulation, stabilization, and validation for a unified analysis of free-surface and seepage flow, J. Comput. Phys. 519, 113457 (arXiv:2402.11719v1, Fig. 21); the starting depth (0.25 m, Table 5) and the gate opening by hand over about 0.1 s (§3.3) are from the same paper.
Nusselt, W. (1916). Die Oberflächenkondensation des Wasserdampfes. Z. VDI 60, 541–546, 569–575.
Poiseuille, J.L.M. (1840). Recherches expérimentales sur le mouvement des liquides dans les tubes de très-petits diamètres. C. R. Acad. Sci. Paris 11, 961–967, 1041–1048; 12, 112–115.
Tabata, M. & Itakura, K. (1998). A precise computation of drag coefficients of a sphere. Int. J. Comput. Fluid Dyn. 9(3–4), 303–311.
US Army Corps of Engineers. Hydraulic Design Criteria, Vol. 1, sheet 111-3, Spillway crest: discharge coefficient, high overflow dams, with the 1949 Waterways Experiment Station tests of the standard crest; and sheet 122-1, low ogee crest discharge coefficients: approach depth effects (deleted in the Eighteenth Issue, superseded by sheet 111-21). Waterways Experiment Station, Vicksburg.
Williamson, C.H.K. (1989). Oblique and parallel modes of vortex shedding in the wake of a circular cylinder at low Reynolds numbers. J. Fluid Mech. 206, 579–627.
Williamson, C.H.K. (1996). Vortex dynamics in the cylinder wake. Annu. Rev. Fluid Mech. 28, 477–539.