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
(21 downloads for this version - 115 downloads for all versions)
Details
Version
0.2.2
Author
Alexandre Umpierre
Maintainer
alexandre umpierre
Categories
License
Creation Date
April 3, 2023
Source created on
Scilab 6.1.x
Binaries available on
The maintainer of this module has not provided binaries.
Description
            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.

inflowlib provides the following functions:

* epsRe2fD: computes the Darcy friction factor given the the pipe's
relative roughness and the Reynolds number.

* espfD2Re: computes the Reynolds number given the the pipe's relative
roughness and the Darcy friction factor.

* hDeps2fDRe: computes the Darcy friction factor and the Reynolds number given
the the pipe's relative roughness and the the pipe's hydraulic
diameter, alongside with the head loss, the pipe's length, the
gravitational acceleration, and the fluid's density and dynamic viscosity.

* hveps2fDRe: computes the Darcy friction factor and the Reynolds number given
the the pipe's relative roughness and the flow speed, alongside with the
head loss, the pipe's length, the gravitational acceleration, and the
fluid's density and dynamic viscosity.

* hQeps2fDRe: computes the Darcy friction factor and the Reynolds number given
the the pipe's relative roughness and the volumetric flow rate, alongside
with the head loss, the pipe's length, the gravitational acceleration, and
the fluid's density and dynamic viscosity.

* hvthk2fDRe: computes the Darcy friction factor and the Reynolds number given
the pipe's roughness and the flow speed, alongside with the head loss, the
pipe's length, the gravitational acceleration, and the fluid's density
and dynamic viscosity.

* hQthk2fDRe: computes the Darcy friction factor and the Reynolds number given
the pipe's roughness and the volumetric flow rate, alongside with the head
loss, the pipe's length, the gravitational acceleration, and the
fluid's density and dynamic viscosity.

Enjoy!

Install and load this toolbox:
1) Download inflowlib v0.2.2.zip file below
2) Open Scilab console and set the current directory to the folder where you
downloaded inflowlib v0.2.2.zip
3) Type "atomsInstall('inflowlib v0.2.2.zip')" to install
the toolbox
4) Type "atomsLoad('inflowlib')" to load the toolbox
5) Type "inflowlib" to list the toolbox functions
6) For instance, type "help hDeps2fDRe" to access the help entry for
hDeps2fDRe function

Concept DOI: 10.5281/zenodo.6927994
https://doi.org/10.5281/zenodo.6927994

This version DOI: 10.5281/zenodo.7796520
https://doi.org/10.5281/zenodo.7796520

TODO
====

inflowlib 0.2.2 (2023-04-03)
=============================
* Minor changes on documentation

inflowlib 0.2.1 (2022-12-15)
=============================
* Minor changes on documentation

inflowlib 0.2.0 (2022-12-15)
=============================
* Upgraded functions structure and algorithms

inflowlib 0.1.2 (2022-09-04)
=============================
* Minor adjustments on plots

inflowlib 0.1.1 (2022-08-27)
=============================
* Minor adjustments on plots

inflowlib 0.1.0 (2022-08-20)
=============================
* Adoption of semantic versioning (https://semver.org)
* Laminar/turbulent transition reset from 2.5e3 to 2.3e3
* Minor corrections on help comments
* Major changes on code to solve bug on the transitional range

inflowlib 0.0.7 (2022-08-03)
=============================
* Spell of "Colebrooke" fixed to "Colebrook"
* Help comments of epsfD2Re fixed
* Vertical axes' titles replaced to match to functions' inputs
* Laminar/turbulent transition reset from 3e3 to 2.5e3
* Smooth line included to plots

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            
Files (1)
[4.05 MB]
Source code archive

News (0)
Comments (0)
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.