libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.ThermoMixing
@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 17/10/2023
Classes
Class handling mixing rule to combine thermodynamic data of specie into a multi-component mixture. |
Module Contents
- class libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.ThermoMixing.ThermoMixing(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture)[source]
Bases:
libICEpost.src.base.BaseClass.BaseClassClass handling mixing rule to combine thermodynamic data of specie into a multi-component mixture.
Defines a moethod to generate the thermodynamic data of a mixture of gasses.
- thermos
Link to database of thermodynamic properties (database.chemistry.thermo.Thermo)
- Type:
- static ThermoType() str[source]
- Abstractmethod:
The type of thermodynamic data to lookup for in the database
- thermos: libICEpost.Database._DatabaseClass
Link to database of thermodynamic data
- property mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture
The mixture composition
- _mix
- property Thermo: libICEpost.src.thermophysicalModels.specie.thermo.Thermo.Thermo
The thermodynamic data of the mixture.
- update(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None) bool[source]
Method to update the equation of state based on the mixture composition (interface).
- Parameters:
mix (Mixture, optional) – Change the mixture. Defaults to None.
- Returns:
If something changed
- Return type:
bool
- abstractmethod _update(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None) bool[source]
Method to update the equation of state based on the mixture composition (implementation).
- Parameters:
mix (Mixture, optional) – Change the mixture. Defaults to None.
- Returns:
If something changed
- Return type:
bool