Internal Fluid Flow Toolbox
This package provides a set of functions designed to solve problems of internal
fluid flow. All functions are based on the Poiseuille condition for laminar
flow, the Colebrook-White equation for turbulent flow, and the Darcy-Weisbach
equation for head loss. The simplest problems on internal flow consist in
computing either the Reynolds number or the Darcy friction factor given the
other and the relative roughness. For those cases, this package provides
functions epsf2Re and epsRe2f, respectively. More elaborated problems consist in
computing both the Reynolds number and the Darcy friction factor given the head
loss, the tube length, the fluid's density and dynamic viscosity, the
gravitational acceleration, the relative roughness and either the dynamic
diameter or the linear velocity or the volumetric flow. For those cases, this
package provides functions hDeps2fRe, hveps2fRe and hQeps2fRe, respectively. A
slightly more elaborate situation arises when roughness is given instead of
relative roughness along with the linear velocity or the volumetric flow.
For those cases, this package provides functions hvthk2fRe and hQthk2fRe,
respectively. All function in this package offer the option of plotting the
solution on a schematic Moody diagram. Enjoy!
Concept DOI: 10.5281/zenodo.6927994
https://doi.org/10.5281/zenodo.6927994
inflowlib 0.0.5 (2022-07-22)
=============================
* Spell of "Weisbach" is now correct
* espfD2Re now computes Reynolds number for laminar flow and/or turbulent flow
when possible
* The second input of epsfD2Re and epsRe2fD now is optional with default value
eps=2e-3
* Plots now include a complete turbulence line for reference
inflowlib 0.0.4 (2022-07-16)
=============================
* Version removed due to bugged functions
inflowlib 0.0.3 (2022-07-09)
=============================
* First release
* Module under construction