libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.EquationOfState.EquationOfStateMixing
@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 17/10/2023
Attributes
Classes
Class handling mixing rule to combine equation of states of specie into a multi-component mixture. |
Module Contents
- libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.EquationOfState.EquationOfStateMixing.EoS_db
- class libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.EquationOfState.EquationOfStateMixing.EquationOfStateMixing(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture)[source]
Bases:
libICEpost.src.base.BaseClass.BaseClassClass handling mixing rule to combine equation of states of specie into a multi-component mixture.
Defines a moethod to generate the equation of state of a mixture of gasses.
- EoSType
str Type of equation of state for which it is implemented
- EoS
EquationOfState The eqation of state of the mixture
- mix
The mixture
- thermos
_Database Link to database of equations of state (database.chemistry.thermo.EquationOfState)
- _EoS: libICEpost.src.thermophysicalModels.specie.thermo.EquationOfState.EquationOfState.EquationOfState
- EoSType: str
- thermos
- property EoS: libICEpost.src.thermophysicalModels.specie.thermo.EquationOfState.EquationOfState.EquationOfState
The equation of state of the mixture.
- property mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture
The mixture
- property Rgas: float
The mass-specific gas constant 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