libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.EquationOfState.EquationOfStateMixing

@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 17/10/2023

Attributes

EoS_db

Classes

EquationOfStateMixing

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.BaseClass

Class 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
_mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture
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