Darcy–Weisbach friction factor

Darcy–Weisbach friction factor
766 Downloads
Updated 29 Nov 2015

View License

% In fluid dynamics, the Darcy friction factor formulae are equations – based
% on experimental data and theory – for the Darcy friction factor. The Darcy
% friction factor is a dimensionless quantity used in the Darcy–Weisbach
% equation, for the description of friction losses in pipe flow as well as
% open channel flow. It is also known as the Darcy–Weisbach friction factor,
% resistance coefficient or simply friction factor and is four times larger
% than the Fanning friction factor.

% f is the Darcy friction factor
% Roughness height, epsilon (m, ft)
% Hydraulic diameter, D (m, ft) – For fluid-filled, circular conduits, D = inside diameter
% Re is the Reynolds number
% densiity of fluid rho
% viscosity of the fluid miu

Cite As

Lateef Adewale Kareem (2026). Darcy–Weisbach friction factor (https://www.mathworks.com/matlabcentral/fileexchange/54227-darcy-weisbach-friction-factor), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0.0