📐

Liquid Hydraulic Gradient Calculator

Calculate the pressure profile and hydraulic gradient line (HGL) along a liquid pipeline with elevation changes. Detect slack flow and low-pressure conditions.

Liquid Hydraulic Gradient
Calculate the pressure profile and hydraulic gradient line (HGL) along a liquid pipeline with elevation changes. Detect slack flow and low-pressure conditions using Darcy-Weisbach friction loss and elevation head.

Flow Parameters

cP

Pipe Properties

in

12" NPS Sch 40 = 11.938 in

in

Pressure Parameters

psig
psig

For slack flow detection

psia

Elevation Profile

One point per line: milepost, elevation. Comma or tab separated.

Results

Enter pipeline parameters and elevation profile, then click Calculate.

Key Equations

Darcy-Weisbach:

ΔP = f(L/D)(ρV²/2gₒ)/144

Elevation Head:

ΔP_elev = SG × 0.4335 × Δh

HGL Elevation:

HGL = Elev + P/(0.4335 × SG)

Slack Flow:

Occurs when P < P_vapor


Standards: Darcy-Weisbach, Colebrook-White (1939), Crane TP-410

Frequently Asked Questions

What is a hydraulic gradient line (HGL) in liquid pipeline design?

The hydraulic gradient line represents the total energy head along a pipeline, calculated as HGL = Elevation + P/(0.4335 × SG). It shows how pressure varies with distance and elevation, helping identify slack flow conditions.

What is slack flow in a liquid pipeline?

Slack flow occurs when pipeline pressure drops below the liquid vapor pressure at a high point, causing a vapor pocket to form. This calculator detects slack flow by comparing the HGL against the elevation profile and vapor pressure.

What equations does this hydraulic gradient calculator use?

The calculator uses Darcy-Weisbach friction loss with Colebrook-White friction factor, combined with elevation head calculated as ΔP_elev = SG × 0.4335 × Δh to determine the pressure profile along the pipeline.

How is elevation head calculated for liquid pipelines?

Elevation head in psi equals the liquid specific gravity times 0.4335 times the elevation change in feet. For example, pumping crude oil (SG 0.85) up a 1,000-foot hill requires about 368 psi of additional pressure beyond friction losses.

How do I prevent slack flow in a liquid pipeline?

Prevent slack flow by increasing inlet pressure, installing intermediate booster pump stations, using drag reducing agents (DRAs), increasing pipe diameter, or optimizing the pipeline route to avoid extreme hilltops. Maintain at least 50-100 psi above vapor pressure at all points.