Problem statement and target quantities

For internal pipe flow, determine flow regime, friction losses, and available head while checking whether chosen correlations are valid for the operating condition.

Knowns: fluid properties, geometry, roughness, flow rate. Unknowns: Re, friction factor, pressure/head loss, and pump-power implications.

Assumptions and unit discipline

  • Steady, single-phase, incompressible internal flow in full pipe.
  • Swamee-Jain correlation is used only when turbulent assumptions are justified.
  • Transition and laminar cases require branch equations and explicit uncertainty handling.
  • Use SI units consistently: kg/m^3, Pa*s, m, m^3/s, Pa, m head.

Derivation checkpoints

Re = rho*v*D/mu
f = 0.25/(log10(eps/(3.7*D) + 5.74/(Re^0.9))^2)
dp = f*(L/D)*(rho*v^2/2)
hf = dp/(rho*g)

These rows combine regime identification with Darcy-Weisbach loss modeling; Bernoulli balance then checks energy consistency.

1. Establish flow regime and baseline velocity

Start with geometry and fluid properties, then compute A, v, and Re. This is the gating step that decides which friction model is physically appropriate.

2. Estimate friction and line losses

Apply Swamee-Jain only after confirming turbulent assumptions, then compute dp and hf. Compare with the laminar branch so the worksheet teaches model selection, not just model execution.

3. Apply Bernoulli balance for decision support

Use Bernoulli rows to translate loss calculations into an engineering decision: is downstream head/pressure adequate, or is pumping capacity required? The head_loss_balance row is your consistency check across equations.

4. Save one sheet per operating condition

Create separate sheets for design, nominal, and upset flow conditions. This keeps assumptions explicit and prevents accidental reuse of a friction regime that no longer applies.

5. Capture regime validity and unit discipline

State explicitly whether your case is laminar, transitional, or turbulent before applying Swamee-Jain. Keep SI units consistent across rows, and branch to a different model for compressible effects or when minor losses dominate. This is the difference between a worksheet that calculates and a worksheet that teaches correct engineering judgment.

Variable glossary and units

SymbolMeaningTypical unit
rhoFluid density.kg/m^3
muDynamic viscosity.Pa*s
QVolumetric flow rate.m^3/s
D,L,epsPipe diameter, length, roughness.m
Re,f,dp,hfRegime indicator, friction factor, pressure drop, head loss.- , - , Pa , m

How to interpret the results

  • If Re is not clearly turbulent, do not trust Swamee-Jain without branch comparison.
  • head_loss_balance near zero confirms Bernoulli and Darcy rows are internally consistent.
  • Compare dp and dp_total to quantify how much fittings/valves change pump demand.

Common mistakes and how to avoid them

  • Applying turbulent friction formulas in transition or laminar regimes.
  • Mixing gauge/absolute pressures and introducing hidden head-balance errors.
  • Ignoring minor losses in short lines where fittings dominate total pressure drop.

Worked example (interpreted)

Step 1: Baseline inputs produce Re=190,224 (clearly turbulent for this line).

Step 2: Turbulent branch gives f=0.01934, dp=28.87 kPa, and hf=2.949 m.

Step 3: Bernoulli check gives head_loss_balance≈0, confirming internal consistency.

Interpretation: line losses dominate but are internally consistent. Minor-loss rows then raise total pressure-drop and pump-power estimates for realistic fittings.

When this model is invalid

ConditionWhy invalidUse instead
Laminar or transition regimeSwamee-Jain is a turbulent relation.Use laminar row f_lam=64/Re or transition-appropriate correlation.
Compressible/high-Mach flowIncompressible Bernoulli assumptions fail.Compressible-flow energy equation with property variation.
Minor losses dominateMajor-loss-only model underpredicts total drop.Use K_total and dp_total branch rows.

How to validate your worksheet

  • Re_lam_margin and Re_turb_margin show regime distance from boundaries.
  • head_loss_balance should be near zero.
  • invalidity_proxy=4000-Re positive means turbulent Swamee-Jain assumptions are not safe.

Domain-specific variants in this template

The worksheet includes laminar branch rows plus minor-loss sensitivity rows so you can compare model families inside one notebook.

Practice problems (with answer outlines)

Practice 1: Regime classification

Compute Re for a reduced flow rate and decide whether turbulent formulas remain valid.

Outline: Recalculate velocity and Reynolds number; compare against laminar/transition/turbulent thresholds.

Practice 2: Minor-loss impact

Increase K_total from 1.8 to 4.0 and quantify pump-power change.

Outline: Recompute dp_minor, dp_total, then pump_power to isolate fittings effect.

Practice 3: Laminar branch comparison

For a low-Re case, compare f_lam and turbulent-correlation f outputs.

Outline: Use f=64/Re and show why turbulent relations become unreliable outside validity range.

References and standards

  • White, Fluid Mechanics (foundational derivations). Book page.
  • ASME MFC standards for flow measurement context. ASME MFC-3M.
  • Crane TP-410 (practical friction/minor-loss design data). Reference site.