Numerical calculation of Darcy-Weisbach friction factor

The darcy-weisbach friction factor is calculated using the Colebrook-White equation via the secant method.
45 Descargas
Actualizado 9 jun 2023

Ver licencia

This function takes in a given reynolds number, relative roughness, and residual value. Utilizing these three values the function iterates though the colebrook-white equation to calculate the darcy-weisbach friction factor utilizing the secant method. Since the secant method is utilized, the function breaks down a extremely high reynolds numbers. This can be resolved by adjusting the values of the first two iterations of the friction factor calculation to a value closer to the actual value.

Citar como

Ryan Pritzkau (2026). Numerical calculation of Darcy-Weisbach friction factor (https://es.mathworks.com/matlabcentral/fileexchange/130809-numerical-calculation-of-darcy-weisbach-friction-factor), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2023a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0