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 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.0.tar.gz
(5.2 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
File details
Details for the file mixprops-0.1.0.tar.gz.
File metadata
- Download URL: mixprops-0.1.0.tar.gz
- Upload date:
- Size: 5.2 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 |
3322a849e7e6074f62d0be5f3d4f549dafbc5e4333225d6031e624386c74994b
|
|
| MD5 |
9499c61d87e961f9f05d383a82163a97
|
|
| BLAKE2b-256 |
e341fc533b462b6f54b0eff1f7908bd942bf808561ca9a173c9db132c0cd9df7
|
File details
Details for the file mixprops-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mixprops-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 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 |
1ccdda2fcc34043178b5623a65350cc002081f6abee943294666d8465ff80417
|
|
| MD5 |
2a4138559188b31f371fb55d9a661c8b
|
|
| BLAKE2b-256 |
c1e937d548e62b14fe555970f4041112cf1c383d69eb3d4d9d8a59f1eb37a74c
|