The D'Arcy Friction Factor is used extensively in fluid system design. Calculating its value can often be cumbersome, and prone to error when performed by hand.
The following little program/function will calculate the D'Arcy Friction Factor given values for the Reynolds Number, Pipe Diameter and Pipe Roughness
You are free to use this in any way/shape/form with or without my attribution.
I am not liable if anything goes wrong whilst you use this program.
CURRENT VERSION: 0.2
- Converted to Python 3
- Added some error checking. Will be developed further.
- Added information on pipe area.