Skip to main content

Fluid's thermodynamic properties

Project description

PyForFluids

Documentation Status

PyForFluids (Python-Fortran-Fluids) is a Python package focused in the calculation of Fluid properties based on Ecuations of State (EoS). It provides a simple interface to work from Python but also exploits the high performance Fortran code for the more heavy calculations.

It’s designed with modularity in mind, in a way that new thermodyinamic models are easy to add, they even can be written either in Python or Fortran.

Available properties

  • Reduced Temperature and Density
  • Ideal Helmholtz Energy (Ao)
  • Residual Helmholtz Energy (Ar)
  • Compresibility Factor (Z)
  • Isochoric Heat (Cv)
  • Isobaric Heat (Cp)
  • Speed of sound (w)
  • Isothermal throttling coefficent (δ)
  • Pressure derivatives:
    • Temperature
    • Density
    • Volume
  • Pressure (P)
  • Entropy (S)
  • Gibbs Free Energy (G)
  • Enthalpy (H)
  • Joule-Thompson coefficent
  • Isoentropic exponent
  • Virial Terms:
    • B
    • C

Motivation

While nowadays there are a lot of tools for calculation of thermodynamic properties of fluids, most of them either are hard to mantain and don't have an integrated testing system or are embeded to other softwares (as spredsheat software) limiting the things that can be done to that enviroment.

PyForFluids aims to be a tool:

  • With high performance, since most of it's calculations are done in Fortran
  • Easy to scale due to it's modular design using the power of Python objects.
  • Continuosly tested (at every push)to spot any problems as soon as possible.

Instalation

For installing PyForFluids you just need to:

pip install pyforfluids

Make sure to check the requirements first!

Requirements

Be sure to install numpyand a fortran compiler previously, since both are needed for the compilation of Fortran code.

NumPy

pip install numpy

Fortran Compiler

Linux
  • Debian-based (Debian, Ubuntu, Mint,...)
sudo apt install gfortran
  • Arch-based (Arch, Manjaro, Garuda, ...)
sudo pacman -S gfortran
Windows

We recommended using the Windows Subsystem for Linux WSL

If WSL ain't being used, the native Windows wheels will be download instead, so no need to worry!

MacOS
brew install gfortran

Authors

Federico E. Benelli (federico.benelli@mi.unc.edu.ar); M. Candelaria Arpajou

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

pyforfluids-0.0.1a3.tar.gz (32.8 kB view details)

Uploaded Source

Built Distributions

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

pyforfluids-0.0.1a3-cp310-cp310-win_amd64.whl (433.5 kB view details)

Uploaded CPython 3.10Windows x86-64

pyforfluids-0.0.1a3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.12+ x86-64

pyforfluids-0.0.1a3-cp39-cp39-win_amd64.whl (432.5 kB view details)

Uploaded CPython 3.9Windows x86-64

pyforfluids-0.0.1a3-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

pyforfluids-0.0.1a3-cp38-cp38-win_amd64.whl (432.8 kB view details)

Uploaded CPython 3.8Windows x86-64

pyforfluids-0.0.1a3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

pyforfluids-0.0.1a3-cp37-cp37m-win_amd64.whl (439.1 kB view details)

Uploaded CPython 3.7mWindows x86-64

pyforfluids-0.0.1a3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

File details

Details for the file pyforfluids-0.0.1a3.tar.gz.

File metadata

  • Download URL: pyforfluids-0.0.1a3.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyforfluids-0.0.1a3.tar.gz
Algorithm Hash digest
SHA256 83a49428a7a5791e2077f35bd5497324e92d69bab2a60eea5f193caa55e9ce6a
MD5 e4b929845467f2959f361b7c58742d39
BLAKE2b-256 96bc39ed42a7e5f8f321a13b6295d5e9d26eb5879971dfac9b301689f9dedd82

See more details on using hashes here.

File details

Details for the file pyforfluids-0.0.1a3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyforfluids-0.0.1a3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 433.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyforfluids-0.0.1a3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 17ad324b6ce5a964c7d50bed7ce95e5fb3bf2ef3c69125b78ba7d53f5b547fbe
MD5 943ec5b37fe715ad671e166570978459
BLAKE2b-256 f0ad034d1b9c925d9193f398d25279e46f776f8aca19cec6df0aa734b51acd19

See more details on using hashes here.

File details

Details for the file pyforfluids-0.0.1a3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyforfluids-0.0.1a3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.10, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyforfluids-0.0.1a3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0fe3eac9ad0a58c68d183a9d4f07dae70ed8ea3e0fb7e5be1325e7a3281b60d2
MD5 00e47a1ea921debe0fa1df778c7e51f0
BLAKE2b-256 19d63f8f64d22def8449e1c80bef7d61a349a5f2dcee07532dc66883b77d4306

See more details on using hashes here.

File details

Details for the file pyforfluids-0.0.1a3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyforfluids-0.0.1a3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 432.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyforfluids-0.0.1a3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 08d06af74aad9ad7785cf5b3f134a7eee89d342c6690abb20de4a2e9b3f8c022
MD5 21cf7a3f786595d81c768c01cbd03ae0
BLAKE2b-256 1ecad706ad85525d486d04ccfc080bdc28af865e156b38864b6aab28cc1dcd6e

See more details on using hashes here.

File details

Details for the file pyforfluids-0.0.1a3-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyforfluids-0.0.1a3-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyforfluids-0.0.1a3-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8c421fff223be5fa7a750d3c0b10175d1e5674232a29e9d8c03d786e6f9ba32e
MD5 cf5186cd11380d923fc1af8c3d898a08
BLAKE2b-256 41b824990961fdb2b960b9b86326715a21b7cc8c604747e07cfb060a9570c15c

See more details on using hashes here.

File details

Details for the file pyforfluids-0.0.1a3-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyforfluids-0.0.1a3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 432.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyforfluids-0.0.1a3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 400de639c7282d1ba167c1eb6664c36b1496074ab289d78a2710574f9b6f5526
MD5 e4901cb669744c29ef9fa34a5fa39690
BLAKE2b-256 19410dbf0f9fc8a58b1338d1e8ca049d076bca8736822d509fdf2df42b06bbda

See more details on using hashes here.

File details

Details for the file pyforfluids-0.0.1a3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyforfluids-0.0.1a3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyforfluids-0.0.1a3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 747d8e5c2cdafc830258983d1472ff416ddcfc9b81c7756a284bf0b886ce31b2
MD5 16c203fe4abfca8fd564a02c849175a0
BLAKE2b-256 783ed05d12664bff3048a7b5aa03092ca75047362330d74cc4efc869853867c1

See more details on using hashes here.

File details

Details for the file pyforfluids-0.0.1a3-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyforfluids-0.0.1a3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 439.1 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyforfluids-0.0.1a3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6c4d8fd0f7c99fbe3e71f605167ecd771b9762729b9694b8d002c4ad173b62be
MD5 28415c6a1ac71f20fde16927cdc39215
BLAKE2b-256 9f882e86f61d22dfeb5dd4f7a4ab55d15f53a09f42a0652751cdc05ed528d847

See more details on using hashes here.

File details

Details for the file pyforfluids-0.0.1a3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyforfluids-0.0.1a3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyforfluids-0.0.1a3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 24191bb668baaddb4f42c213ec4a6afca7fc6fb0696ef42882d97041fda2665f
MD5 e2aea51a51fa7c3a94d3ebcdc03087d9
BLAKE2b-256 64d29ebafa45cfb7d104ddcec1f2c1e03e0b48a4f7344661faa0dd517c0c0d0d

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