libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.constantCpMixing
@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 30/01/2024
Classes
Class handling mixing of multi-component mixture: thermodynamic data in constantCp definition. |
Module Contents
- class libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.constantCpMixing.constantCpMixing(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture)[source]
-
Class handling mixing of multi-component mixture: thermodynamic data in constantCp definition.
- ThermoType
Type of thermodynamic data for which it is implemented
- Type:
str
- ThermoType = 'constantCp'
The type of thermodynamic data to lookup for in the database
- _oldMix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture
The old mixture composition
- _Thermo
- _update(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None) bool[source]
Compute new properties as mass-weighted from individual specie in mixture.
- Parameters:
mix (Mixture, optional) – Change the mixture. Defaults to None.
- Returns:
If something changed
- Return type:
bool