L'CADAME · UFRJ · RESEARCH TOOL PROTOTYPE

2P Next-Generation Pipe Friction Calculator

Colebrook–White versus the explicit two-parameter (2P) rough-wall friction model. The 2P formulation is a new rough-wall friction approach with two hydraulic surface parameters; it is not an explicit approximation of the Colebrook equation.
Public calculator users—Backend counter not connected in offline prototype
Calculations on this browser0Stored locally on this device
Voluntary data contributions—Activated with research-data endpoint
Public Research Edition v1.6
Beyond Equivalent Roughness

A next-generation approach to pipe friction and hydraulic surface characterization

Most conventional turbulent pipe-friction calculators reduce the wall to a single equivalent roughness. The 2P framework introduces two independent hydraulic coordinates, k and q, so measured friction can retain information associated with roughness scale and additional morphology-dependent resistance.

Why 2P? Talk to us
Have pressure-drop or friction-factor data that a conventional equivalent-roughness model does not represent satisfactorily? Use this research calculator to compare approaches, or contact us about an independent 2P assessment of your dataset.

Why a next-generation 2P formulation beyond Colebrook–White?

Engineering perspective. Colebrook–White remains a useful and widely adopted engineering correlation. The 2P formulation is not an explicit approximation to Colebrook and is not proposed merely to replace an iterative equation with an explicit one. Its main purpose is to provide a richer hydraulic description when a single equivalent relative roughness is insufficient to represent the measured friction behavior.

Limitations of a one-roughness-parameter description

Colebrook–White represents wall condition through one equivalent relative roughness, ε/D. This is very effective when the surface can be represented adequately by an equivalent sand-grain roughness. However, real engineered surfaces can differ in element shape, spacing, density, orientation and form drag even when they have similar characteristic roughness heights. A single ε/D cannot independently retain both a roughness length scale and this additional morphology-dependent hydraulic information.

The consequence is practical: two surfaces may have comparable equivalent roughness heights yet exhibit different friction-factor curves. In such cases, forcing the entire Reynolds-number dependence into one Colebrook roughness parameter can produce systematic residuals or an apparent roughness that changes when different portions of the data are fitted.

What the second 2P coordinate adds

The 2P model uses two independent hydraulic surface coordinates, k and q. In this calculator, k = ks/R represents the roughness-scale coordinate, whereas q provides an additional degree of freedom associated with the hydraulic influence of surface morphology and additional resistance not captured by roughness height alone. Thus, the model can distinguish surfaces that a one-parameter equivalent-roughness description may collapse onto the same ε/D.

Once Re, k and q are specified, the 2P friction factor is evaluated explicitly. This is computationally convenient, but the more important advantage is physical and descriptive: the second coordinate permits the measured friction curve to carry information beyond a single equivalent sand-grain roughness.

Why engineers may prefer 2P when suitable data are available

For multi-point hydraulic measurements, the 2P approach can be calibrated against the complete friction curve and compared directly with the best Colebrook fit. In the experimental database used by this research calculator, several calibrated rough-surface cases show lower 2P MAPE than the corresponding globally fitted Colebrook correlation. For example, the Taylor cone A5 case gives 1.42% versus 9.08%, and the Taylor small-hemisphere B3 case gives 3.13% versus 7.01%. These examples do not establish universal superiority, but they demonstrate why a second hydraulic coordinate can be valuable for morphology-sensitive surfaces.

Recommended use. Use Colebrook when a conventional equivalent-roughness description is adequate, when only ε/D is known, or when compatibility with established design standards is the priority. Use 2P when sufficiently rich friction data are available and the objective is to characterize a real surface more faithfully, distinguish morphology-sensitive hydraulic behavior, or obtain a compact explicit friction model over the calibrated Reynolds-number range. The improvement should always be checked against experimental data and model-adequacy statistics rather than assumed in advance.

Validate before you adopt

2P is intended to complement established engineering practice where a single equivalent roughness is not sufficient. The calculator therefore keeps Colebrook–White as a visible benchmark and reports comparative fit information where experimental datasets are available. A second parameter should be retained only when the measurements support it.

Smooth-wall consistency

The physically smooth limit corresponds to k = 0 and q = 0. This provides a direct baseline for checking that additional surface coordinates disappear when no roughness contribution is required.

Experimental comparison

For rough surfaces, judge the model from the complete friction curve—not from a single operating point. Compare 2P and Colebrook using residuals and error metrics over the measured Reynolds-number range, and examine whether the inferred parameters remain physically and statistically meaningful.

Talk to us — test 2P on your data

Are you working with a pipe, coating, corroded or scaled surface, manufactured roughness, or experimental friction data that cannot be represented satisfactorily by a conventional equivalent roughness? We are interested in discussing engineering applications, validation datasets, research collaborations and industrial case studies involving the 2P methodology.

What you can bring

Useful information includes Reynolds number and friction-factor measurements or, alternatively, flow rate, pipe diameter, pressure drop, test-section length and fluid properties. Surface measurements, photographs, profilometry, nominal roughness, corrosion/scaling information and operating history can further strengthen the hydraulic interpretation.

What we can investigate

The L'CADAME/UFRJ team can evaluate whether a two-parameter description is justified, estimate k and q, compare the result with Colebrook–White, assess parameter identifiability and uncertainty, and examine whether the inferred hydraulic signature is consistent with the available information about the surface.

Interested in testing the 2P approach on your data? Contact the L'CADAME/UFRJ research team to discuss a dataset, engineering application, collaborative validation study or technology-development project. This calculator is intended as an entry point for technical discussion; engineering conclusions for a specific installation should be based on an appropriate characterization and validation of the available data.

Quick 2P calculation

Darcy friction factor
—

Explicit 2P equation

f₂P = [ (Cbl/Re1/4 + q)12 + (Ce/Re2/13 + q)12 + Fr(k)12 ]1/12
Circular-pipe constants used here: Cbl = 0.310 and Ce = 0.09435. The 2P evaluation is explicit once Re, k and q are known.

Compare with Colebrook

2P friction factor—
Colebrook friction factor—
2P − Colebrook—

Colebrook–White equation

1/√fCB = −2 log10[ (ε/D)/3.7 + 2.51/(Re√fCB) ]
Colebrook is solved iteratively because the Darcy friction factor fCB appears on both sides of the equation. In contrast, the 2P model is evaluated directly from Re, k and q. The 2P equation is not derived as an explicit approximation to Colebrook; it represents a different two-parameter hydraulic description of rough-wall friction. A live computational-effort comparison is provided below.

Interactive friction diagram

2PColebrook
Horizontal axis: Reynolds number Re on a logarithmic scale. Major powers of ten are always labeled; for narrower ranges, intermediate 2×10ⁿ and 5×10ⁿ labels are added automatically so the axis remains readable. 10⁴ = 10,000; 10⁵ = 100,000; 10⁶ = 1,000,000.

Interactive 2P friction chart — graphical map of (Re, q) → X → (k, f2P)

Use the controls below exactly as in the 2P simulator, or click directly on the chart. The lower panel selects the pair (Re,q) and determines X(Re,q); the upper panel then uses that same X with k to obtain the Darcy friction factor.

X(Re,q)—
f2P—
Selected Re—
Reading path—
Interactive reading: click the lower panel to select q and the corresponding constant-Re curve; click the upper panel to select the nearest k value. The red guide now runs only from the selected lower point to the shared X axis and from that axis to the selected upper point, rather than crossing the entire lower plot.

Computational effort: 2P versus Colebrook

The 2P friction factor is evaluated explicitly once Re, k and q are known. The Colebrook–White equation is implicit and requires iteration because the friction factor appears on both sides of the equation. For a single engineering calculation the absolute time difference is usually small, but repeated evaluations can matter in pipeline-network solvers, transient simulations, optimization, Monte Carlo studies, and digital-twin applications.

Structural comparison

Feature2P modelColebrook
Surface descriptionk, qε/D
Friction-factor equationExplicitImplicit
Iteration requiredNoYes
Per-evaluation structureDirect formula evaluationRepeated logarithmic updates until convergence
Repeated large calculationsPotential computational advantageHigher numerical overhead

Live browser benchmark

2P total time—
Colebrook total time—
Colebrook / 2P—
Colebrook iterations—
Browser benchmark only. Timing depends on hardware, browser, solver tolerance, and implementation. It should not be interpreted as a universal speedup factor.

Pressure-drop calculation

2P pressure drop
—

Parameter status

The parameter database distinguishes the epistemic status of each pair. k and q are hydraulic descriptors of a tested rough surface configuration; they are not universal material constants.

Calibrated Exact tested surface, well-populated curve, both parameters resolved away from the numerical lower bound.

Indicative Useful engineering starting estimate, but limited generality; recalibration is recommended.

Research-only One parameter is poorly resolved, the curve is sparse, or the fit is not strong enough for a calculator default.

Independent validation Dataset not included in the original 53/649 calibration database. Used to test the model independently; fitted parameters may carry specific identifiability limitations.

Do not silently assign k and q from a material name alone. Manufacturing, roughness amplitude, spacing, geometry, aging and surface condition may change the hydraulic response.

Fit your experimental friction data

The prototype minimizes squared logarithmic residuals, consistent with the calibration methodology used in the engineering manuscript.
Fitted k—
Fitted q—
Fitted ε/D—
2P MAPE—
Colebrook MAPE—
Identification note—

Additional independent validation — Botros

The Botros data are kept separate from the core 53-dataset / 649-measurement database used in the engineering manuscript. This prevents the independent test from being confused with the data used for the main model assessment.

Botros Pipe #1

20 individual high-Reynolds-number measurements are available for Pipe #1. The measured interval is narrow and already close to a high-Re friction plateau, so the friction curve can be validated accurately while k and q remain less strongly identifiable individually.

2P fitted k1.482×10⁻⁴
2P fitted q9.250×10⁻⁴
2P MAPE0.027%

Colebrook comparison

Global fitted ε/D2.683×10⁻⁵
Botros reported ε/D2.640×10⁻⁵
Global Colebrook MAPE0.190%
These Botros k and q values are shown for validation/research use. They should not be offered as a normal material preset because the narrow high-Re interval does not strongly separate the two parameters.

Core 2P parameter database — 53 datasets / 649 measurements

ℓt=kR is the turbulent roughness length and ℓd=qR is the dynamic roughness length. Colebrook ε/D and ks,C=D(ε/D) are fitted independently.

All
Calibrated
Indicative
Research-only
StatusSourceSurface classCaseNRe range D or Dh (mm)R (mm) qkℓd=qR (mm)ℓt=kR (mm) Colebrook ε/DColebrook ks,C (mm) MAPE 2PMAPE CBDimension status

Contribute an experimental dataset (optional)

If you calibrate the 2P model using your own experimental data, you may optionally identify the material/surface and volunteer the dataset for possible inclusion in the L'CADAME research database. Nothing is shared automatically. Contribution requires an explicit opt-in.

Surface identification

Attribution and consent

Before public deployment, this contribution workflow should link to the laboratory's privacy/data-use notice. The calculator should store only the information the contributor explicitly submits.

What is included in a contribution?

The package includes the pasted experimental Re,f points, fitted k and q, fitted Colebrook ε/D, fit-error statistics, the material/surface information entered above, and the explicit consent choices. In this offline prototype, clicking “Prepare contribution” downloads a JSON package to your computer. When the L'CADAME page is deployed with a secure backend, the same button can submit that package directly to the research database.

Theory, references and use

What is new about the 2P model? The 2P formulation is not another explicit approximation of the implicit Colebrook equation. It is a distinct rough-wall friction model that represents the hydraulic action of the surface with two independent parameters, k and q, rather than collapsing the wall condition into the single equivalent roughness ε/D used by Colebrook.

The 2P formulation distinguishes an effective roughness-induced vortex/dissipative contribution, represented through k, from an additional geometry-dependent/form-drag-related contribution represented by q. The parameter pair should be determined for a surface configuration and retained over its operating range. The hydraulic coordinate k = ℓ(r)/R is not automatically a physical roughness height or equivalent sand-grain roughness; q represents an additional dimensionless resistance. This calculator evaluates turbulent single-phase wall friction, not a multiphase flow model.

Primary theory: Cruz, D. O. A., Anbarlooei, H., Santos, C. M. M., and Celis, G. E. O. (2026), “An improved two-parameter model for turbulent rough-wall flows: Addressing the limitations of Colebrook and Gioia–Chakraborty type models,” Physics of Fluids 38, 065155, DOI 10.1063/5.0325227.

Near-wall/friction basis: Anbarlooei, H. R., Celis, G. E. O., Santos, C. M. M., and Cruz, D. O. A., “On the turbulent friction and the near wall structure of pipe flows.”

Engineering validation: manuscript in preparation. This public research edition provides the current model and calibration database for technical evaluation.

Engineering use should remain within the Reynolds-number and geometry ranges for which the selected parameters were established. Non-circular passages require an independently established smooth-wall baseline.

Usage statistics and contributed datasets: a true laboratory-wide user counter and direct dataset submission require a small secure server/database endpoint. This release uses a calculation counter stored only in your browser and downloads contribution packages only when requested. No calculator inputs or contributed datasets are sent to a server. Your browser may clear or block local storage.

Research and engineering use

This public calculator is a research and technical-evaluation tool. It is designed to support comparison, validation and discussion of the 2P methodology; it does not replace project-specific engineering judgment, applicable standards, inspection requirements or safety procedures.

References

Primary references used for the experimental database, conventional rough-pipe comparison, and interpretation of the roughness data.

  1. Colebrook, C. F. (1939). “Turbulent flow in pipes, with particular reference to the transition region between the smooth and rough pipe laws.” Journal of the Institution of Civil Engineers, 11(4), 133–156. doi:10.1680/ijoti.1939.13150.
  2. Colebrook, C. F.; White, C. M. (1937). “Experiments with fluid friction in roughened pipes.” Proceedings of the Royal Society of London A, 161(906), 367–381. doi:10.1098/rspa.1937.0150.
  3. Moody, L. F. (1944). “Friction factors for pipe flow.” Transactions of the ASME, 66, 671–684.
  4. Olsson, C.-O.; Sundén, B. (1996). “Heat transfer and pressure drop characteristics of ten radiator tubes.” International Journal of Heat and Mass Transfer, 39(15), 3211–3220.
  5. Yoo, D. H.; Singh, V. P. (2005). “Two methods for the computation of commercial pipe friction factors.” Journal of Hydraulic Engineering, 131(8), 694–704. doi:10.1061/(ASCE)0733-9429(2005)131:8(694).
  6. Taylor, R. P.; Scaggs, W. F.; Coleman, H. W. (1988). “Measurement and prediction of the effects of nonuniform surface roughness on turbulent flow friction coefficients.” Journal of Fluids Engineering, 110(4), 380–384. doi:10.1115/1.3243567.
Database note. The 2P parameters k and q are fitted to the experimental friction data assembled from the sources above. The Colebrook relative roughness ε/D is fitted independently to the same datasets for comparison. The dimensional quantities ℓt=kR and ℓd=qR are the turbulent and dynamic roughness lengths used in this simulator.