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.1a2.tar.gz (32.5 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.1a2-cp310-cp310-win_amd64.whl (433.2 kB view details)

Uploaded CPython 3.10Windows x86-64

pyforfluids-0.0.1a2-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.1a2-cp39-cp39-win_amd64.whl (432.2 kB view details)

Uploaded CPython 3.9Windows x86-64

pyforfluids-0.0.1a2-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.1a2-cp38-cp38-win_amd64.whl (432.5 kB view details)

Uploaded CPython 3.8Windows x86-64

pyforfluids-0.0.1a2-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.1a2-cp37-cp37m-win_amd64.whl (438.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

pyforfluids-0.0.1a2-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.1a2.tar.gz.

File metadata

  • Download URL: pyforfluids-0.0.1a2.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pyforfluids-0.0.1a2.tar.gz
Algorithm Hash digest
SHA256 165f42ec3e6e290adc038043de1fc5ccbc2939b386d2dbda62cf4de409f36f3f
MD5 adced2ff6f3ede5e1ef7acf605096f6a
BLAKE2b-256 68ccdf572351d13de577ab0c8fe0cacb8ecef5dafcce7924d7510063286c28ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyforfluids-0.0.1a2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 433.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pyforfluids-0.0.1a2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e49843b2e89e3f42c2a277b024b7a0f1228e0ea21697708065b990f3307ade61
MD5 11095898b706f7982f59804e406b3090
BLAKE2b-256 e74b6712638825d2362709ed2fd4cc012a93c5fc341267a12d73fb5f875f034c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyforfluids-0.0.1a2-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 df1afcacca1d305da38776710a2645e57822a1d9a18b05f7cdddd870caac12e7
MD5 ca552bb0f97c62dcd2eb8d8e7ebcf2fb
BLAKE2b-256 0c97c4ac6cdd7197feb36ce6f423d6e03f3d3722c77e2e3f33698c7bd5d4ff39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyforfluids-0.0.1a2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 432.2 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pyforfluids-0.0.1a2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 afbaf2ce51258cdc59a2a2e17b35a5c1b5df243d45b4b4bdee92b028bcdc3a4a
MD5 a068aaa7e3e452e5b25cb7497fff6d31
BLAKE2b-256 a48733498136c4d3d53f138e7dc131ef754979d07f3e77aa7674816ccb16321f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyforfluids-0.0.1a2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7d284961c559c34363b783d6c6db876d27afb10a25002002e029ef8972a7b691
MD5 ba99ccf7df779cb9c02eeed33946bd27
BLAKE2b-256 8b295f13e7f8cdde472efb6ef1c135b2dbd3a3410b513d24702e4745df4d6f43

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyforfluids-0.0.1a2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 432.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pyforfluids-0.0.1a2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b05a6757ea92376c6d79a62805ddb475464cf936396514bc37c9194e08ce0ede
MD5 ef5169e61cc89505d61b7f132b781832
BLAKE2b-256 73079cf373987d6454af26ffe8a66e694091405a36f060d5c956f6b5ede4d339

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyforfluids-0.0.1a2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f617b6aa6ebd44b6125bbd7d71dfbf6617e819e8ee0be4ebd86cb1a061474ac0
MD5 328d2463b6a8d6b6ecd43e2ccdc6c4a7
BLAKE2b-256 589b078f59497e9f0dbd4cab1d8def37c235c2f9f0834ad2701ce243fc8b62cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyforfluids-0.0.1a2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 438.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pyforfluids-0.0.1a2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c61a34ecbb8f64e82a6db4b9c0398b024c72c19494a663b5ffbf88eb27c339ca
MD5 f97c0a9726231b3821cd7c19bf067dc6
BLAKE2b-256 17d24be066f0beec975fc44a76e2299653187c025211dd60ae66712aa93d75b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyforfluids-0.0.1a2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5ce83df65f621d5d7184c66e8a064e13e0a03e5adbada9bdc2be41918944cbed
MD5 f672369f13fa2a11d4a0e7b6fd8864b0
BLAKE2b-256 d1f8e78bda89640cf7241e6d82129b3e6f7738ad59b10b6806d932031cc9981e

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