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.0.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.0-py3-none-any.whl (608.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fluids-1.3.0.tar.gz
Algorithm Hash digest
SHA256 ae1c935dc3e75ecf00cd74e8f1feef66e40802011fdd15ebfbfd9dc766778285
MD5 dc821c6e7ff8cd0d22b0a8a855d7250d
BLAKE2b-256 fcd55e53275861b72fdd3a6f0155ed4147a1e8e43293b9c451c9671fcd707a2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluids-1.3.0.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.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for fluids-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7432f8b2fa4d4c52861c6b73aa855a8c0cfafd155fccaedc37a2255ce392203b
MD5 b910998d88dc36cf82ef6e6f0a26829d
BLAKE2b-256 a454b1a42925983c900e436a5b646f301d5e3e7ffb47a2db240d9dbbe0cd7c21

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluids-1.3.0-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