Skip to main content

Backwater Curves: Why the Water Rises Before a Structure

Put a weir, a gate, or a culvert in a canal and the water does not jump to its new depth at the structure—it eases into it over a distance, sometimes for hundreds of metres or more. That rising water surface upstream of an obstruction is a backwater curve, one family of gradually varied flow (GVF). This walkthrough shows how to trace it with FlowStudio’s gradually varied flow worksheet (SI units).

Open FlowStudio → https://flow.syncster.dev

What you are solving

In uniform flow the depth sits at normal depth yn and never changes along the reach. A control structure breaks that: it fixes the depth at one point to some other value, and the channel then blends from that control depth back toward normal depth. The blend is governed by the gradually varied flow equation:

dy/dx = (S0Sf) / (1 − Fr²)

Here S0 is the bed slope, Sf is the friction slope from Manning’s equation, and Fr is the Froude number. FlowStudio integrates this along the channel from an initial depth you supply, using Manning friction on a prismatic (rectangular or trapezoidal) section.

Two reference depths set the shape

Every GVF profile is read against two lines: normal depth yn (where Manning balances) and critical depth yc (where Fr = 1). On a mild slope (yn > yc), which covers most irrigation canals, the three profiles are:

  • M1 — the classic backwater curve. Depth is above yn, caused by a downstream weir, gate, or reservoir holding the water up. The surface rises smoothly upstream and approaches yn asymptotically.
  • M2 — a drawdown curve. Depth is between yn and yc, as the flow accelerates toward a free overfall or a steep reach.
  • M3 — supercritical. Depth is below yc, for example the fast jet just downstream of a sluice gate, rising until it meets a hydraulic jump.

Knowing which one you expect tells you where to start the integration and which way to march. If you have not yet found yn and yc for your channel, get them first from the rectangular or trapezoidal normal-depth worksheet.

Step 1 — Create the worksheet

Sign in if prompted, then create or open a project. Add a new worksheet and choose gradually varied flow. Open the sheet so you see the intro note (it states the GVF equation and available integration methods), the Section type selector, and the input fieldsets for geometry, initial conditions, and integration.

FlowStudio GVF worksheet — Figure 1
Figure 1. The freshly opened GVF worksheet — the “About this worksheet” note, the Rectangular/Trapezoidal selector, and the empty input grid.

Step 2 — Enter channel geometry and flow

Pick Rectangular or Trapezoidal (for a trapezoid, add side slope z, H:V). Then enter SI values: bottom width b, Manning n, bed slope S0 (m/m), and discharge Q (m³/s). For a reproducible mild-slope demo, try a rectangular canal: b = 5 m, n = 0.025, S0 = 0.0004, Q = 12 m³/s. For these values normal depth is roughly yn ≈ 2.6 m and critical depth yc ≈ 0.84 m—so yn > yc, a mild slope, and any pond-up behind a structure is an M1 curve.

FlowStudio GVF worksheet — Figure 2
Figure 2. Channel geometry and flow entered: b = 5 m, n = 0.025, S0 = 0.0004, Q = 12 m³/s, with control depth y0 = 3.0 m at x0 = 0.

Step 3 — Set the control depth as the initial condition

This is the step that makes a backwater curve. Under Initial conditions, put the structure at x0 = 0 and set y0 to the depth the structure imposes—for example a weir that holds the water at y0 = 3.0 m, above normal depth. Because a subcritical backwater is controlled from downstream, the profile must be integrated upstream: set Direction = Upstream (−x).

Rule of thumb for direction: subcritical flow (M1, M2) is controlled from downstream, so march upstream from the control; supercritical flow (M3, e.g. below a gate) is controlled from upstream, so march downstream.

FlowStudio GVF worksheet — Figure 3
Figure 3. Initial conditions and Integration: method = RK4, reach L = 2000 m, 48 steps, Direction = Upstream (−x), and the Compute profile button.

Step 4 — Choose a method and reach, then compute

Under Integration, keep Runge–Kutta 4 (fixed Δx) for a smooth, accurate curve (Midpoint, Euler, and a fixed-Δy Standard-step method are also available). Set a reach length L long enough to see the surface relax back toward yn—on a mild slope a backwater can stretch a long way, so try L = 2000 m with 40–80 steps—then click Compute profile.

Step 5 — Read the profile and the table

The long-section chart plots depth versus distance. Starting from the control depth at the structure, the M1 surface should sag gently toward normal depth as you move upstream, flattening out and running nearly parallel to the bed far from the structure. The results table lists each station’s x, depth y, bed/stage z, Froude number Fr, friction slope Sf, and the local slope dy/dx—handy for seeing the curve go asymptotic (dy/dx → 0 as yyn).

FlowStudio GVF worksheet — Figure 4
Figure 4. The computed long-section profile: control depth at x = 0 relaxing toward normal depth upstream — the M1 backwater shape (yn ≈ 2.56 m, yc ≈ 0.84 m).
FlowStudio GVF worksheet — Figure 5
Figure 5. The results table (x, y, z, Fr, Sf, dy/dx); reference values read yn = 2.564 m and yc = 0.837 m.

Common pitfalls

  • Wrong direction. If a subcritical profile blows up or runs away instead of settling to yn, you are almost certainly marching the wrong way—subcritical is controlled from downstream, so integrate upstream.
  • Starting on the wrong side of yn/yc. The initial depth decides which profile you get. Above yn → M1; between yn and yc → M2; below yc → M3. Check your control depth against both reference lines first.
  • Near-critical stalling. The GVF equation is singular at Fr = 1 (the denominator 1 − Fr² → 0), so integration slows or stops near critical depth. A true transition through critical is a rapidly varied phenomenon (a jump or a control), not GVF—model it with the sluice-gate worksheet or a dedicated control instead of pushing GVF through yc.
  • Reach too short. If the profile has not yet flattened to yn at the end of L, lengthen the reach. Backwater lengths on flat canals are often surprisingly large.

Wrap-up

You’ve traced a backwater curve from a control depth back to normal depth using the same GVF closure FlowStudio integrates. Swap in your own b, z, n, S0, and Q, set the control depth your structure imposes, and read off how far upstream the influence reaches—the number that tells you whose fields get wetter when you raise a gate.

Run the sheet live at https://flow.syncster.dev.

Comments

Popular posts from this blog

How I used Google Sheets and Apps Script

Google Sheet is one of the most powerful spreadsheet application that exists online, rivaling with Microsoft's Excel. One of the main strengths is its strong support for collaboration with other users, much easier and popular than collaboration tools with Microsoft Office. Aside from plain spreadsheet, it also supports extensions such as macro. If you are familiar with macros on other office tools, they work almost the same. However, the most extension I use and tinker with is the Apps Scipt . Apps Script Extension One of the challenges I faced recently is how do I track or monitor reports in our department if they are submitted on time or worst, forgotten due to lack of better monitoring tools. So I thought if there can be simple applications that can be deployed or use by a more general user to allow reminding periodically what reports are approaching due dates or those that are past dues. Then I looked for a way, instead of creating a full blown app from scratc...

Sluicegate Tutorial with FlowStudio

This walkthrough shows how to use FlowStudio ’s sluice gate (rectangular channel) worksheet: upstream pool depth from specific energy, downstream gradually varied flow, and—when the case allows— hydraulic jump placement plus an empirical jump length (SI units). Open FlowStudio → https://flow.syncster.dev What you are solving A bottom sluice in a wide rectangular channel passes a discharge Q . The worksheet assumes a contracted depth at the vena contracta, y 2 = C c a , where a is gate opening and C c is a contraction coefficient (often near 0.6–0.65). From specific energy matching between the upstream pool and the contracta—together with a check against uniform normal depth y n for the approach channel—the sheet finds upstream pool depth y 1 . Downstream, it integrates Manning-based gradually varied flow from the gate. If the contracta is supercritical and you set a subcritical tailwater y t (or...

Automate Sending Email with Apps Script and Google Sheet

Introduction It has been too long that many people uses Microsoft Excel in day-to-day computing tasks. It's so big that it almost resemble a programming language where non-technical people can create their own spreadsheet programs. It has many uses with just the default grid-type data entries. But Microsoft Office developers did not stopped there. They gave it more power by adding a scripting capability to it with VBA or Visual Basic for Applications. Most of the office apps of Microsoft has this VBA at their disposal but I most used it with Microsoft Excel. It was the most appropriate application for me to use it. But then come the big competition. I'll skip the open source apps that may compete with Microsoft Office and go directly with the big one. This is the Google Sheet from Google. Introducing Google Sheet Google Sheets is an online spreadsheet application that allows users to create, edit, and format spreadsheets to organize and analyze information....