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
- 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.
- Enter observedTurbulentReynolds, callerRelativeRoughness using the field table and calculation rules, then run the tool.
- Read modeledDarcyFrictionFactors. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- 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 field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| observedTurbulentReynolds | Observed turbulent reynolds | list of number | Required |
| callerRelativeRoughness | Caller relative roughness | list of number | Required |
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 field | Meaning | Value type |
|---|---|---|
| modeledDarcyFrictionFactors | Modeled darcy friction factors | list of number |
{
"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
Similar or alternative tools
- Plumbing Haaland Friction Factor Calculator
The Haaland approximation estimates turbulent Darcy friction directly. A Fanning factor uses a different convention.
- 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.