libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.EquationOfState.EquationOfStateMixing ================================================================================================================ .. py:module:: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.EquationOfState.EquationOfStateMixing .. autoapi-nested-parse:: @author: F. Ramognino Last update: 17/10/2023 Attributes ---------- .. autoapisummary:: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.EquationOfState.EquationOfStateMixing.EoS_db Classes ------- .. autoapisummary:: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.EquationOfState.EquationOfStateMixing.EquationOfStateMixing Module Contents --------------- .. py:data:: EoS_db .. py:class:: EquationOfStateMixing(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture) Bases: :py:obj:`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. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. attribute:: EoSType str Type of equation of state for which it is implemented .. attribute:: EoS EquationOfState The eqation of state of the mixture .. attribute:: mix The mixture .. attribute:: thermos _Database Link to database of equations of state (database.chemistry.thermo.EquationOfState) .. py:attribute:: _EoS :type: libICEpost.src.thermophysicalModels.specie.thermo.EquationOfState.EquationOfState.EquationOfState .. py:attribute:: _mix :type: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture .. py:attribute:: EoSType :type: str .. py:attribute:: thermos .. py:property:: EoS :type: libICEpost.src.thermophysicalModels.specie.thermo.EquationOfState.EquationOfState.EquationOfState The equation of state of the mixture. .. py:property:: mix :type: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture The mixture .. py:property:: Rgas :type: float The mass-specific gas constant of the mixture .. py:method:: update(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None) -> bool Method to update the equation of state based on the mixture composition (interface). :param mix: Change the mixture. Defaults to None. :type mix: Mixture, optional :returns: If something changed :rtype: bool .. py:method:: _update(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None) -> bool :abstractmethod: Method to update the equation of state based on the mixture composition (implementation). :param mix: Change the mixture. Defaults to None. :type mix: Mixture, optional :returns: If something changed :rtype: bool