Skip to main content

Python library to model, project and analyse piping and pumping systems

Project description

Conduit Forge

This project is destinated to offer a flexible structure to model piping systems in Python. This library uses classes to represent some common piping components, such as: Pipes, joints, elbows, connectors and etc.

Scope/Limitations of the Project

This library is limited to model the piping systems under the conditions bellow:

* Non-compressible flow;
* Single phase flow;
* Single Chemical Species;
* Isotermic flow;
* Adiabatic flow;

Documentation

Main Classes and Piping systems Objects

Port Class

This class, is the responsible for storing the size, shape and position of the extremities of some piping component. In the example of the inlet Port of a Pipe:

import conduitforge as cf

pipe_1 = cf.Pipe(internal_diam = 3, length = 12)

print(f'\n{type(pipe.component_input_port[0]) = }')
print(f'\n{pipe_1.component_input_port[0].geometry = }') #
print(f'\n{pipe_1.component_input_port[0].characteristic_length = }')

>>>type(pipe_1.component_input_port[0]) = <class__Port__>
>>>pipe_1.component_input_port[0].geometry = 'cilyndrical
>>>pipe_1.component_input_port[0].characteristic_length = 3

Component Class

This class is where all the basic propperties (and behaviour) of all the components of a piping/pumping system are declared. It isn't meant to be used directly by the user, for it was created to increase modularity and further maintenance of the code.

  • Pipe: A child-class of Component, represents a cilyndrical Pipe.
  • Duct: A child-class of Pipe, used for square or rectangular ducts.
  • Custom_Connector: A child-class of Component, allows the user to create Custom connectors.

Current Class

This class stores the hidraulic and thermodynamic properties of some stream of fluid, such as mass flow, chemical composition, pressure, temperature, density viscosity and etc.

Mosaic Class

This class maintains a list of joints made between currents, components and other objects.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conduit_forge-0.0.3.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conduit_forge-0.0.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file conduit_forge-0.0.3.tar.gz.

File metadata

  • Download URL: conduit_forge-0.0.3.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for conduit_forge-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4962875dbdb33393a65f65f9eccb34f4eeaf46ec4158710ad895ec84956d2f61
MD5 74ee6109cac6d87cab51aa6f735996e6
BLAKE2b-256 8f19b98e382f4aba4f9c6e8f0bc93bc5377f0a4fb6a780e18acce837e5160ac5

See more details on using hashes here.

File details

Details for the file conduit_forge-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: conduit_forge-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for conduit_forge-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d6470ae40700a6470cdb68ae971594eb5ae41d9e58671a6810a3894ab2f5102
MD5 ac81edc7748edbed06e0f218a0743b50
BLAKE2b-256 5112627f0dcb058a603c1e1a279149ddaf08fe6164164b9f0daa72a1afac1dd5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page