Skip to main content

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, y2 = Cca, where a is gate opening and Cc 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 yn for the approach channel—the sheet finds upstream pool depth y1.

Downstream, it integrates Manning-based gradually varied flow from the gate. If the contracta is supercritical and you set a subcritical tailwater yt (or leave tailwater blank so the sheet can default to yn when that is valid), it locates a Belanger jump where the supercritical profile reaches the depth whose sequent is yt, applies an empirical jump length correlation, then continues subcritical GVF to the end of your reach.

Step 1 — Create the worksheet

Sign in if prompted, then create or open a project. Add a new worksheet and choose Sluice gate (rectangular channel). Open the sheet so you see the intro paragraph, the input grid, and the Compute gate & profile button.


Step 2 — Enter channel, gate, and reach

Enter SI values: bottom width b, Manning n, bed slope S0 (m/m), discharge Q, opening a, contraction Cc, upstream reach length Lu (plotted pool), downstream profile length L, and integration steps (RK4 Δx nominal count). For a reproducible demo you might try, for example: b = 5 m, n = 0.025, S0 = 0.0004, Q = 12 m³/s, a = 0.45 m, Cc = 0.61, Lu = 20 m, L = 200 m, steps = 48—tune to your case.

Leave Tailwater yt blank to let the sheet use normal depth yn as tailwater when that is physically consistent; or type a subcritical tailwater to force a specific jump target.

Step 3 — Compute and read the summary

Click Compute gate & profile. The Summary table lists normal depth yn, critical depth, pool depth y1, contracted depth y2, velocities, Froude numbers, specific energy at the contracta, and—if a jump is applied— jump station xj, pre-jump depth y′, tailwater used, estimated jump length Lj (Chow / Chaudhry correlation), Froude before the jump, and where subcritical GVF resumes (xs). A short note under the title explains the run (afflux, drowned jump, or extend-L messages).


Step 4 — Long-section profile and section view

The long section plots depth vs distance: negative x is the upstream pool at y1, the gate at x = 0, then downstream GVF. If a jump is modeled, you should see supercritical depth approaching xj, a short horizontal segment at tailwater depth over the estimated jump length, then subcritical profile. The cross section at the pool shows width b and depth y1.


Jump length, references, and common pitfalls

  • Jump length Lj uses the empirical form Lj = 220 y′ tanh[(Fr′ − 1)/22] for a horizontal rectangular channel, as summarized in standard references (e.g. Chow; Chaudhry) and engineering summaries such as LMNO — Hydraulic jump. It is not a CFD result; treat it as order-of-magnitude for visualization and teaching.
  • If tailwater is too high relative to the sequent depth at the gate, the sheet warns of a drowned / submerged jump and keeps a supercritical reach only—adjust yt, slope, n, or Q to match your scenario.
  • If Fr2 < 1 at the contracta, no jump splice is applied; check opening, Q, and b.
  • If the note says the jump is not in reach, increase downstream L or change tailwater / slope so the M3 profile can reach the required pre-jump depth.
  • Very small y1/a
may trigger a warning that outflow may not behave as a free sluice—results are indicative.

Wrap-up

You’ve walked through the sluice gate worksheet: energy-based pool depth, downstream GVF, optional Belanger jump with empirical length, and where to read Lj and xs in the Summary and notes. Cross-check against hydraulic texts, physical models, or project standards for design decisions.

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...

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....

From Checkers to Consciousness: Tracing the Roots of AI

 Artificial intelligence (AI) and machine learning (ML) have exploded into our lives, powering everything from our music playlists to groundbreaking medical diagnoses. Even how our mobile phone cameras take pictures uses AI. But where did this extraordinary revolution begin? And how did we go from clunky, rule-based systems to the sophisticated, data-driven intelligence we see today? The quest to build intelligent machines has captivated thinkers, scientists, mathematicians and many more for centuries, with pioneers like Alan Turing laying crucial theoretical groundwork long before the formal establishment of the field.  Now let's dive into the fascinating origin story and explore the ever-expanding contributions of these transformative technologies. The Seeds of Intelligence: Early Days of AI The concept of artificial intelligence has roots in ancient myths and fictional automatons. However, the formal pursuit of AI as a scientific field began in the mid-20th century. Alan Tu...