Plumbing Swamee Jain Friction Factor Calculator

Named Swamee–Jain Darcy—not Fanning—friction on explicit bounded turbulent Re/roughness branch; 80 bisections for implicit Colebrook, no transition/laminar substitution or hydraulic code rating.

Description

The Swamee–Jain approximation estimates the Darcy friction factor for turbulent pipe flow.

The Swamee–Jain approximation estimates the Darcy friction factor for turbulent pipe flow. Darcy and Fanning factors differ by a factor of four.1

The returned values include Modeled darcy friction factors. The How section below explains the calculation, input rules and interpretation.

When to use Plumbing Swamee Jain Friction Factor Calculator

Use Plumbing Swamee Jain Friction Factor Calculator when you need to evaluate the supplied records under the calculation and evidence rules below. No Colebrook iteration, laminar or transitional flow solution is performed.

Prepare measured flows, pressures, temperatures or inventories with consistent units. For catalog tools, use independently verified capacities at the stated operating conditions and supply the explicit design demand.

How to use Plumbing Swamee Jain Friction Factor Calculator and understand its results

  1. Prepare measured flows, pressures, temperatures or inventories with consistent units. For catalog tools, use independently verified capacities at the stated operating conditions and supply the explicit design demand.
  2. Enter observedTurbulentReynolds, callerRelativeRoughness using the field table and calculation rules, then run the tool.
  3. Read modeledDarcyFrictionFactors. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
observedTurbulentReynoldsObserved turbulent reynoldslist of numberRequired
callerRelativeRoughnessCaller relative roughnesslist of numberRequired

Enter aligned nonempty Reynolds numbers 4000–100000000 and relative roughness values 0–0.05. Evaluate the explicit approximation directly and return Darcy factors.

f=.25/[log10(relativeRoughness/3.7+5.74/Re^.9)]²

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
modeledDarcyFrictionFactorsModeled darcy friction factorslist of number
json
{
  "input": {
    "observedTurbulentReynolds": [
      10000,
      100000
    ],
    "callerRelativeRoughness": [
      0,
      0.001
    ]
  },
  "output": {
    "modeledDarcyFrictionFactors": [
      0.030972096533322144,
      0.02234241216395183
    ]
  }
}

Limitations and assumptions

No Colebrook iteration, laminar or transitional flow solution is performed.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Plumbing Haaland Friction Factor Calculator: The Haaland approximation estimates turbulent Darcy friction directly. A Fanning factor uses a different convention. For a complementary task, use Plumbing Colebrook Friction Factor Calculator: Colebrook relates turbulent Darcy friction implicitly to Reynolds number and relative roughness. Solving for inverse square-root friction makes the residual monotone on the chosen bracket.

References

  1. Plumbing Swamee Jain Friction Factor Calculator — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies