DEV environment · test payments only
ChemEngWorks

Calculators › LineWorks

LIQUID HYDRAULICS

LineWorks

Calculate line pressure losses, fittings and liquid-flow performance.

Calculates the pressure loss along a line: straight pipe, a reducer or expander to a second bore, fittings, up to two valves by their flow coefficient, an orifice, extra resistance and a change of elevation.

Prices

RunsPrice
Every run1 credit
  • A run that fails because of its inputs, doesn't converge or runs out of time is free.
  • Cancelling a run is free, before or after it starts.
  • A fault on our side is never charged: the run is tried again automatically.

A credit costs 8p to 10p, depending on the pack. Credits don't expire. Packs and prices

Inputs and results

You enter

  • The fluid: a ThermoWorks mixture at its temperature and pressure, the workbook's saved properties, or a density and viscosity you enter
  • Flow rate, bores, length, roughness and change of elevation
  • Fittings from Crane's table of 57, valve flow coefficients (Cv), an orifice bore, extra K and L/D

You get

  • Pressure loss, pressure gradient and equivalent length
  • Velocity, Reynolds number and friction factor
  • What each part of the line adds to the loss

Example: Pressure loss

TWO PHASE

The workbook's line: 600 kg/h of a light-hydrocarbon mixture, mostly methane, at 150 K and 1.013 bar absolute (two-phase), through 128 m of 102.26 mm bore pipe with the workbook's fittings and a Cv 43.5 valve.

The starting case every new LineWorks case opens on, run by the engine on our servers and stored (engine 1.0.0 · data 1.0.0+components-1.0.0). Nothing is calculated in your browser, here or in the calculator. Exports and the other tools of a run need an account.

TOTAL PRESSURE LOSS0.15978bar
INLET VELOCITY10.47108m/s
FRICTION GRADIENT0.018705bar / 100 m

Pressure balance

Straight pipe0.0239 barFittings & extra K0.0045 barCv valves0.1313 barTransition & orifice0 barVelocity change0 barElevation0 barTotal0.1598 bar Bore 1 · 102.2604 mmBore 2 · 102.2604 mm128 m straight pipeElevation rise · 0 m

Pipeline schematic · not to scale

Live property transfer · 600 kg/h at -123.15 °C, 1.013 bar absolute. Liquid density: PR liquid-root fallback.

Resolved hydraulic properties
Density · kg/m³1.937993
Viscosity · cP0.00624498
Mass flow · kg/h600
Actual volume flow · m³/h309.59864
Mixture & phase properties
PropertyLiquidVapour
Density · kg/m³735.9668735031.406210084
Viscosity · cP0.4659671520.006225501
Phase flow · kg/h164.954448993435.045551007
Molecular weight · g/mol40.40961153217.028480955
Surface tension · mN/m24.58875251
Vapour Z0.98358
Vapour mass fraction0.725076
Bubble / dew temperature-163.191 °C / -56.149 °C
Hydraulic detail
QuantityBore 1Bore 2
Velocity · m/s10.4710843210.47108432
Reynolds number332,255.684563985332,255.684563985
Darcy friction factor0.0180185760.018018576
Gradient · bar/100 m0.0187052710.018705271
Fully turbulent factor0.016616
Inventory fitting K4.25357
Cv equivalent K123.707
Transition angle · degrees0
Transition K · bore 1 basis0
Orifice K0
Total resistance K · bore 1150.51454
Equivalent length · bore 1 · m854.21163
Friction / velocity / elevation · bar0.159783 / 0 / 0
Phase compositions & mass balance
ComponentFeed zLiquid xVapour y
METHANE0.820.0912020.936447
ETHANE0.070.3185510.030287
PROPANE0.0350.2496850.000698
n-BUTANE0.0150.1088220.000009
ISOBUTANE0.0080.0579830.000014
n-PENTANE0.0050.0362930
NITROGEN0.020.0003750.023136
CARBON DIOXIDE0.0270.1370890.00941

Vapour mole fraction β = 0.862233. Maximum mole-balance residual: 1.11e-16.

CARBON DIOXIDE: T is below its pure-component freezing point (216.58 K); no solids model.

Pure liquid density is undefined for at least one dissolved supercritical component. Entire liquid density uses Peng–Robinson (kij = 0), rather than dropping its mass.

12 component/property correlations are outside their temperature ranges. Results include extrapolation; inspect the coverage list.

Two-phase stream: LineWorks uses homogeneous density and viscosity with no phase slip.

Pressure loss exceeds 10% of inlet absolute pressure. Constant-property flow needs a pressure-dependent check.

Extrapolated correlations (source ranges in K)
PROPANE: muL 240–418 K
n-BUTANE: muL 180–425 K
ISOBUTANE: muL 190–408 K
NITROGEN: psat 63.15–123.15 K
NITROGEN: density 63.15–126.1 K
NITROGEN: muL 63–125 K
NITROGEN: sigma 63.15–126.1 K
CARBON DIOXIDE: psat 216.59–296.59 K
CARBON DIOXIDE: density 216.58–304.19 K
CARBON DIOXIDE: muL 219–304 K
CARBON DIOXIDE: sigma 216.58–304.19 K
CARBON DIOXIDE: muG 195–1500 K

Methods

  • Crane's Technical Paper 410 throughout
  • Darcy friction factor: laminar flow up to a Reynolds number of 2100, Colebrook–White (in Serghides' form) above it; transitional flow is flagged
  • Fittings as resistance coefficients from Crane's table; valves from their Cv; reducers, expanders and square-edged orifices from Crane's expressions
  • A two-phase stream is treated as homogeneous, without slip

How every calculator is tested: Methods and validation.

Limits

  • Properties are constant along the line
  • Homogeneous two-phase flow only: no slip or flow regime
  • A loss above 10 % of the inlet pressure is flagged

Results are screening estimates from the methods described. A competent engineer must check them before relying on them in design, safety or operating decisions.

How it is checked

Parity with the original
The engine is a port of the original standalone calculator, and reproduces it on 617 generated cases: every quantity within 10⁻¹² relative.
Validation against reference data
No published reference cases yet.
The original's own checks
Gives the saved workbook's velocity, Reynolds number, friction factor and pressure loss for its starting line.