Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alejo1630/pipe_loss

This is a Python App built with Kivy Library which computes the head loss of a fluid moving along a pipe system taking into account Major and minor losses.
https://github.com/alejo1630/pipe_loss

app fluid-mechanics kivy python

Last synced: 5 days ago
JSON representation

This is a Python App built with Kivy Library which computes the head loss of a fluid moving along a pipe system taking into account Major and minor losses.

Awesome Lists containing this project

README

        

# Pipe Loss App

This is a Python App built with Kivy Library which computes the head loss of a fluid moving along a pipeline system taking into account Major and minor losses.

## 🔰 How does it work?

This app is based in Kivy builder. It has several windows where an user could input the data to compute the head losses of a fluid into a pipe system with accesories.

## Main Window

There are 3 windows where an user could input the data:
* Fluid Properties
* Pipe Characteristics
* Accesories

And there is a button to compute the head loss.

## Fluid Properties

In this window an user must input the flow rate in $\frac{m^3}{s}$, and select the fluid in order to load its density $(\frac{kg}{m^3})$ and dynamic viscosity $(Pa-s)$. By default, an user could select any of the following fluids:
* Water
* Air
* Glycerine
* Oil
* Gasoline

But there is an *Other* option which open another window where the user could input data such as:
* Name of the fluid
* Density
* Dynamic Viscosity

## Pipe Characteristics

In this window an user must input the length of the pipe $(m)$. After that, it's necessary to set the *Material Roughness* and the *Geometry Section*

### Material Roughness

There is a list of default materials with its roughness $(m)$. But the user could select *Other Material* option in order to input the data for a specific pipe material.

### Geometry Section

In this window there are 4 option of cross section for the pipe:
* Circular

* Annular Circular

* Rectangular

* Annular Rectangular

If the user selects any of the geometries a new window appears where is possible input the geometry data.

## Accessories

In this window the user must select the type of inlet (connection with a tank)
* No inlet
* Inward-projecting
* Sqaure-edged
* Chamfered

Also it's necessary to define whether there is an outlet or not using the switch

Finally, the *Accessories Button* shows a window with a list a common accessories in pipeline systems such as valves, elbows etc. An user just need to enter the number of each accesory in the pipeline system. By default, all accessories have a value of 0.

## Example
This is the solution of the problem 11.7 from the book *Applied Fluid Mechanics, 7th by Mott R. and Untener J.*