/moody_chart

Python-script to create a moody chart based on the formulation of the Darcy-Weisbach friction factor

Primary LanguagePythonMIT LicenseMIT

moody_chart

In engineering, the Moody chart or Moody diagram (also Stanton diagram) is a graph in non-dimensional form that relates the Darcy–Weisbach friction factor fD, Reynolds number Re, and surface roughness for fully developed flow in a circular pipe.

https://en.wikipedia.org/wiki/Moody_chart

moody_chart

Install

pip install git+https://github.com/MarkusPic/moody_chart.git

Example

from moody_chart import moody_chart
fig, ax = moody_chart()
fig.set_size_inches(7, 5)
fig.savefig('moody_chart.png')