Calculate the Darcy-Weisbach friction factor and estimate the relative roughness coefficient of a pipeline.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The calculation of the Darcy-Weisbach friction factor is made from the Reynolds number and the relative roughness coefficient, by different methods (implicit and explicit). The calculation method to be used is specified with an input argument.
Additionally, a subroutine is provided to estimate the roughness coefficient from measurements of the Reynolds number and the friction factor under different operating conditions of the pipeline.
Cite As
Ildeberto de los Santos Ruiz (2026). Friction and Roughness (https://github.com/isantosruiz/friction), GitHub. Retrieved .
Ildeberto De Los Santos Ruiz. Isantosruiz/Friction: Friction And Roughness V2.0. Zenodo, 2018, doi:10.5281/zenodo.1481992.
General Information
- Version 2.0.3 (2.93 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 2.0.3 |
