Skip to main content

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.

Metadata

Release files for conduit-forge 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for conduit-forge 0.0.15
File Size Uploaded Provenance Actions
conduit_forge-0.0.15.tar.gz 118.2 kB Without provenance Details for conduit_forge-0.0.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for conduit-forge 0.0.15
File Interpreter ABI Platform Actions
conduit_forge-0.0.15-py3-none-any.whl Python 3 none any Details for conduit_forge-0.0.15-py3-none-any.whl

Total release size: 244.9 kB

Release files / conduit_forge-0.0.15.tar.gz

Download URL conduit_forge-0.0.15.tar.gz
Size 118.2 kB
Tags Source
SHA-256 checksum
How to use checksums
65528b1d092ee219e19fa2452fc49912bee4ade598fa3fd0f2f6e19438a42103
BLAKE2b-256 checksum
How to use checksums
b7b87a6a76a92cbad531c4f5b86b911baac8137dc681073486be53863dd2a30f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / conduit_forge-0.0.15-py3-none-any.whl

Download URL conduit_forge-0.0.15-py3-none-any.whl
Size 126.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e26157e0bd5df0e77a86fefedf3109cbec5d95160ec97916821ad3a34a7eb9ed
BLAKE2b-256 checksum
How to use checksums
3b2e8a9bc086c316f14b118afd7476ba59c01b6fa3798ce17171151c2fa071dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for conduit-forge 0.0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page