Colebrook-White Equation

Computes the friction factor in pipes for given values of the Reynolds number (Re) and the relative roughness coefficient (epsilon).
다운로드 수: 1.3K
업데이트 날짜: 2020/9/25

MATLAB code to compute the friction factor in pipes for given values of the Reynolds number (Re) and the relative roughness coefficient (epsilon).

Syntax:
f = colebrook(Re,epsilon)

Example 1: Single Re, single epsilon
Re = 1e5;
epsilon = 1e-4;
f = colebrook(Re,epsilon)

Example 2: Multiple Re, single epsilon
Re = 5000:1000:100000;
epsilon = 1e-4;
f = colebrook(Re,epsilon);
plot(Re,f)

Example 3: Single Re, multiple epsilon
Re = 1e5;
epsilon = linspace(1e-4,1e-1,100);
f = colebrook(Re,epsilon);
plot(epsilon,f)

Example 4: Multiple Re, multiple epsilon
Re = logspace(4,8,100);
epsilon = linspace(1e-4,1e-1,100);
[RE,EPSILON] = meshgrid(Re,epsilon);
F = colebrook(RE,EPSILON);
surf(RE,EPSILON,F)

References:
[1] Colebrook, C. F., & White, C. M. (1937). Experiments with fluid
friction in roughened pipes. Proceedings of the Royal Society of
London. Series A - Mathematical and Physical Sciences, 161(906),
367-381.
[2] Colebrook, C. (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.

인용 양식

Ildeberto de los Santos Ruiz (2024). Colebrook-White Equation (https://github.com/isantosruiz/colebrook/releases/tag/1.1), GitHub. 검색됨 .

Santos-Ruiz, Ildeberto. Colebrook Equation. Zenodo, 2019, doi:10.5281/zenodo.3348254.

양식 더 보기
MATLAB 릴리스 호환 정보
개발 환경: R2019a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Fluid Dynamics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.1

See release notes for this release on GitHub: https://github.com/isantosruiz/colebrook/releases/tag/1.1

1.0.2

Minor bugs fixed.

1.0.1

Minor bugs fixed.

1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.