Friction and Roughness

Calculate the Darcy-Weisbach friction factor and estimate the relative roughness coefficient of a pipeline.

https://github.com/isantosruiz/friction

You are now following this Submission

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.

http://doi.org/10.5281/zenodo.1481992

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.

View more styles

Categories

Find more on Optimization Toolbox in Help Center and MATLAB Answers

General Information

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

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.