This simulation calculates and displays the pressure drop in a pipe due to friction as a function of the liquid’s volumetric flow rate, the pipe’s diameter, length, and degree of roughness, and the liquid’s density and viscosity. It also calculates and displays the liquid’s mass flow rate, the Reynolds number, and the corresponding friction factor. You can choose one of the following plots to display: the friction factor versus Reynolds number (Moody diagram) or the pressure drop versus the flow rate, the pipe’s diameter, or its length.
The average velocity in the pipe is
and the Reynolds number is
The (Darcy) friction factor, used in the Moody diagram, is obtained from
and the frictional pressure drop is given by the Darcy–Weisbach equation
The mass flow rate is
Definitions of symbols
This simulation was created in the Department of Chemical and Biological Engineering at University of Colorado Boulder for LearnChemE.com by John L. Falconer using Claude AI. It is a JavaScript/HTML5 implementation of a Mathematica simulation by Mark D. Normand and Micha Peleg. It was prepared with financial support from the National Science Foundation (DUE 2336987 and 2336988). Address any questions or comments to LearnChemE@gmail.com.