Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Internal Fluid Flow Toolbox details
Login with GitLab

Internal Fluid Flow Toolbox

A toolbox for internal fluid flow
(52 downloads for this version - 115 downloads for all versions)
A more recent valid version with binaries for Scilab 6.1 exists: 0.2.2
Alexandre Umpierre
alexandre umpierre
Creation Date
July 22, 2022
Source created on
Scilab 6.1.x
Binaries available on
The maintainer of this module has not provided binaries.
            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

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
* 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            
Files (2)
[112.22 kB]
Source code archive

[12.08 kB]
Miscellaneous file

News (0)
Comments (2)     Leave a comment 
Comment from Pascal Buehler -- July 25, 2022, 03:02:01 PM    
what about diffrent hydraulic diameters?
Answer from alexandre umpierre -- August 3, 2022, 08:33:24 PM    
Hi, sorry for the late reply! It seems there was some sort of problem on the Atoms'
I am not sure what you mean with "different hydraulic diameters". My first
thought is you 
are talking about pipes with a non-circular cross-section.
If so, you must calculate the hydraulic diameter D by the general formula D=4A/P, where A
the cross-sectional area and P is the wet perimeter of the cross-section (version 0.0.7
soon be released including this comment).
Otherwise, please elaborate a bit more your question.
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.