Mixture properties calculator
Project description
mixprops
Mixture properties calculator.
Usage
Python
from mixprops.reference_conditions import ReferenceConditions
mixture = Mixture(
species=[("O2", 0.21), ("N2", 0.79)],
reference_conditions=ReferenceConditions(
absolute_pressure_unit="Pa",
absolute_pressure=101325,
temperature_unit="C",
temperature=25
))
print(mixture.specific_heat_capacity)
# 1011.338752
CLI
poetry run python main.py \
-rc 101325,25 \
-u Pa,C \
-s O2,N2 \
-sc 0.21,0.79
- rc = Reference conditions -> Absolute pressure,temperature
- u = Reference condition units -> Pressure unit,temperature unit
- s = Comma separated list of species by name or species -> O2,N2 or Oxygen,Nitrogen
- sc = Species molar composition as comma separated mole fractions -> 0.21,0.79
Properties
molecular_weight- Molecular weight (g/mol)density- Density (kg/m3)specific_heat_capacity- Specific heat capacity (J/kg-K)viscosity- Viscosity (kg/m-s)conductivity- Thermal conductivity (W/m-K)speed_of_sound- Speed of sound (m/s)adiabatic_index- Adiabatic index
Supported species
For the supported species, see the .csv files in the mixprops/data directory.
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
mixprops-0.1.1.tar.gz
(14.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mixprops-0.1.1-py3-none-any.whl
(16.8 kB
view details)
File details
Details for the file mixprops-0.1.1.tar.gz.
File metadata
- Download URL: mixprops-0.1.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46ca5e96eee6c5ecc432cc29b3c0e9ec249fb4a2f7ec6333257b6e5c245fc0c1
|
|
| MD5 |
b29d5803f508ac7fc3ee147ce5ef3e2b
|
|
| BLAKE2b-256 |
3f8bb8a888df29f91499a559e7bc1b3c7f73d9916efd8de1ed7f11e69e0569a9
|
File details
Details for the file mixprops-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mixprops-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b792f364c0f7cb2d19fcdc4658498a1bd86bef3a696760f3e35d5b372d65e4f1
|
|
| MD5 |
1be93780e3152c07381e36866f933c01
|
|
| BLAKE2b-256 |
9cb7ea83eab93679b627f338baa64bfa176114d4b09a60708443c408e1bb69d3
|