libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.ThermoMixing ============================================================================================== .. py:module:: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.ThermoMixing .. autoapi-nested-parse:: @author: F. Ramognino Last update: 17/10/2023 Classes ------- .. autoapisummary:: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.ThermoMixing.ThermoMixing Module Contents --------------- .. py:class:: ThermoMixing(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture) Bases: :py:obj:`libICEpost.src.base.BaseClass.BaseClass` Class 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. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. attribute:: ThermoType Type of thermodynamic data for which it is implemented :type: str .. attribute:: Thermo The Thermo of the mixture :type: Thermo .. attribute:: thermos Link to database of thermodynamic properties (database.chemistry.thermo.Thermo) :type: _DatabaseClass .. attribute:: ThermoType str .. py:method:: ThermoType() -> str :staticmethod: :abstractmethod: The type of thermodynamic data to lookup for in the database .. py:attribute:: thermos :type: libICEpost.Database._DatabaseClass Link to database of thermodynamic data .. py:property:: mix :type: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture The mixture composition .. py:attribute:: _mix .. py:property:: Thermo :type: libICEpost.src.thermophysicalModels.specie.thermo.Thermo.Thermo The thermodynamic data 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