PipeFlow Tool Guide

PipeFlow User Guide

PipeFlow brings professional hydraulic modeling directly to the web. Designed as an web based alternative for a software like EPANET, it helps professionals and students model pressurized pipe networks online with ease, utilizing the proven Gradient Method (disclaimer: PipeFlow is currently in active development. While we strive for precision, please cross-reference results with established methods..).

🌊 Core Capabilities

  • Steady-state flow & pressure analysis
  • Extended Period Simulation (EPS)
  • Hazen-Williams & Darcy-Weisbach equations
  • Pump curve performance analysis

🛠️ Features

  • Drag-and-drop Topology Editor
  • Real-time HGL (Hydraulic Grade Line) Profiling
  • Engineering PDF Reports & CSV Export
  • Dark Mode Interface optimized for lengthy design sessions

How to Use

1

Draw the Network

Use the toolbar on the left to place Nodes (Junctions, Reservoirs, Tanks). Then select the Pipe tool and click two nodes sequentially to connect them. Note: A valid network must have at least one Reservoir or Tank to provide hydraulic head.

2

Input Data

Select any element on the canvas to open the Properties Panel.

  • Junctions: Enter Elevation (m) and Base Demand (LPS).
  • Pipes: Enter Length (m), Diameter (mm), and Roughness (C-factor).
  • Pumps: Define the Head Curve (Flow vs Head points).
3

Run Simulation

Click the RUN button in the top right. If successful, results (Pressure, Flow, Velocity) will overlay on the map. Use the "View" menu to color-code pipes by Velocity to spot bottlenecks.

Calculation Example

PipeFlow uses iterative matrix algebra to solve complex networks. However, the fundamental building block is the head loss calculation across a single pipe. Below is a detailed breakdown of how the tool calculates the Pressure at Node 2 in a simple Reservoir-Pipe-Junction system.

Res 1 (100m) Junc 2 (90m) Q = 10 LPS

Scenario Data:

  • Flow Rate (Q) = 10 Liters/sec
  • Pipe Length (L)= 1000 meters
  • Diameter (D) = 200 mm
  • Roughness (C) = 130 (Hazen-Williams)
  • Node 1 Head = 100 meters
  • Node 2 Elev = 90 meters

Step 1: Unit Conversion (SI)

The standard SI formula requires Flow in m³/s and Diameter in meters.

Q = 10 / 1000 = 0.01 m³/s
D = 200 / 1000 = 0.2 m

Step 2: Hazen-Williams Formula

We calculate Head Loss (hf) due to friction:

hf = 10.67 × L × Q1.852 × C-1.852 × D-4.871

Step 3: Substitution

Q term = 0.011.852 ≈ 0.0001972
C term = 130-1.852 ≈ 0.0001211
D term = 0.2-4.871 ≈ 2528.53
hf = 10.67 × 1000 × 0.0001972 × 0.0001211 × 2528.53
hf = 0.644 meters

Step 4: Final Pressure Calculation

Pressure is the remaining hydraulic head minus the physical elevation.

Head @ Node 2 = (Head @ Node 1) - (Head Loss)
H2 = 100m - 0.644m = 99.356m
Pressure = H2 - Elevation2
P = 99.356m - 90m = 9.356 meters

Frequently Asked Questions

Is PipeFlow free to use?

Yes, it is a free web-based tool for educational and commercial use.

Can I save my projects?

Yes, projects are saved as `.JSON` files to your local hard drive.

Why is my pressure negative?

Negative pressure means the node elevation is higher than the Hydraulic Grade Line (HGL). Increase pump head or reservoir elevation.

Does it support loops?

Yes, the solver handles looped networks, branches, and dead-ends automatically.

What is EPS?

Extended Period Simulation. It calculates system behavior over time (e.g., 24 hours), showing tank filling/draining.

Can I simulate US Units?

Yes, go to Edit > Project Options to switch from LPS/Meters to GPM/Feet.

How do I add a Pump Curve?

Select a pump, and in the properties panel click "Edit Head Curve". Add flow vs head points.

Can I export to Excel?

Yes, File > Export Results will generate CSV files for nodes and links compatible with Excel.

What is the difference between Reservoir and Tank?

Reservoirs have infinite water (constant head). Tanks have finite volume and levels change during EPS.

Does it calculate Minor Losses?

Yes, you can add a 'k' coefficient to pipes or valves to simulate bends and fittings.

How do I delete a pipe?

Select the pipe and press the 'Delete' key on your keyboard.

What does the "System Disconnected" error mean?

It means some nodes are not connected to a Source (Reservoir/Tank) and cannot get water.

Can I print a report?

Yes, File > Print Report generates a professional PDF with tables and diagrams.

What happens if the solver fails?

Check for closed valves trapping water or demands that exceed available pressure/flow capacity.

Does it support Darcy-Weisbach?

Yes, you can switch the friction formula in Project Options.

How do I model a Check Valve (CV)?

Pipes allow flow in both directions. For a CV, you must currently use a specific Valve type or Control rule.

Can I change pipe colors?

Use the View menu to color-code pipes by Velocity, Diameter, or Head Loss.

Is data sent to a server?

No. All calculations happen locally in your browser for privacy and speed.

What browser is required?

Any modern browser (Chrome, Edge, Firefox, Safari) works.

How accurate is it?

It uses the same underlying mathematical principles (Gradient Algorithm) as EPANET.

For Tutorials: https://www.youtube.com/@SapienKnows/playlists

Post Views: 294