Skip to main content

Fluid dynamics component of Chemical Engineering Design Library (ChEDL)

Project description

Version_status Documentation Build_status license Coverage Supported_versions Zendo

What is Fluids?

Fluids is open-source software for engineers and technicians working in the fields of chemical, mechanical, or civil engineering. It includes modules for piping, fittings, pumps, tanks, compressible flow, open-channel flow, atmospheric properties, solar properties, particle size distributions, two phase flow, friction factors, control valves, orifice plates and other flow meters, ejectors, relief valves, and more.

The fluids library is designed to be a low-overhead, lightweight repository of engineering knowledge and utilities that relate to fluid dynamics.

Fluids was originally tightly integrated with SciPy and NumPy; today they are optional components used for only a small amount of functionality which do not have pure-Python numerical methods implemented. Fluids targets Python 3.9 and up as well as PyPy3. Additionally, fluids has been tested by the author to load in micropython.

While the routines in Fluids are normally quite fast and as efficiently coded as possible, depending on the application there can still be a need for further speed. PyPy provides a substantial speed boost of 6-12 times for most methods. Fluids also supports Numba, a powerful accelerator that works well with NumPy. The Numba interface to fluids also makes it easy to multithread execution as well, avoiding Python GIL issue.

Fluids runs on all operating systems which support Python, is quick to install, and is free of charge. Fluids is designed to be easy to use while still providing powerful functionality. If you need to perform some fluid dynamics calculations, give fluids a try.

Installation

Get the latest version of fluids from https://pypi.python.org/pypi/fluids/

If you have an installation of Python with pip, simple install it with:

$ pip install fluids

Alternatively, if you are using conda as your package management, you can simply install fluids in your environment from conda-forge channel with:

$ conda install -c conda-forge fluids

To get the git version, run:

$ git clone git://github.com/CalebBell/fluids.git

Documentation

fluids’s documentation is available on the web:

http://fluids.readthedocs.io/

Latest source code

The latest development version of fluids’s sources can be obtained at

https://github.com/CalebBell/fluids

Bug reports

To report bugs, please use the fluids’s Bug Tracker at:

https://github.com/CalebBell/fluids/issues

If you have further questions about the usage of the library, feel free to contact the author at Caleb.Andrew.Bell@gmail.com.

License information

Fluids is MIT licensed. See LICENSE.txt for full information on the terms & conditions for usage of this software, and a DISCLAIMER OF ALL WARRANTIES.

Although not required by the fluids license, if it is convenient for you, please cite fluids if used in your work. Please also consider contributing any changes you make back, such that they may be incorporated into the main library and all of us will benefit from them.

Citation

To cite fluids in publications use:

Caleb Bell and Contributors (2016-2025). fluids: Fluid dynamics component of Chemical Engineering Design Library (ChEDL)
https://github.com/CalebBell/fluids.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

fluids-1.3.1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

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

fluids-1.3.1-py3-none-any.whl (608.8 kB view details)

Uploaded Python 3

File details

Details for the file fluids-1.3.1.tar.gz.

File metadata

  • Download URL: fluids-1.3.1.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fluids-1.3.1.tar.gz
Algorithm Hash digest
SHA256 42014b5f7d0ee3a5c6fea05582cdc37975e7c46d4c864feb6c7cb915df8a1972
MD5 758cd8bfce0a484ce0e01f6281799636
BLAKE2b-256 f071798e4d4b3f965a18e441510521db3cd0f7b3ce2a5840e8a01d6f7c183175

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluids-1.3.1.tar.gz:

Publisher: publish-pypi.yml on CalebBell/fluids

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fluids-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: fluids-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 608.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fluids-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9097efe57c910ac14b89a1984d5e7062ee9df1afc84e089d944fdd85404e361
MD5 a1981e5f6787e2bf45b3e95c4e0fc58a
BLAKE2b-256 eed340646ac276d7d06abd4e8a796efcb44e9cb1fc0b66aaed54be5d4675fc6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluids-1.3.1-py3-none-any.whl:

Publisher: publish-pypi.yml on CalebBell/fluids

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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