libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.constantCpMixing ================================================================================================== .. py:module:: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.constantCpMixing .. autoapi-nested-parse:: @author: F. Ramognino Last update: 30/01/2024 Classes ------- .. autoapisummary:: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.constantCpMixing.constantCpMixing Module Contents --------------- .. py:class:: constantCpMixing(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture) Bases: :py:obj:`libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.ThermoMixing.ThermoMixing` Class handling mixing of multi-component mixture: thermodynamic data in constantCp definition. .. attribute:: ThermoType Type of thermodynamic data for which it is implemented :type: str .. attribute:: Thermo The Thermo of the mixture :type: Thermo .. py:attribute:: ThermoType :value: 'constantCp' The type of thermodynamic data to lookup for in the database .. py:attribute:: _oldMix :type: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture The old mixture composition .. py:method:: fromDictionary(dictionary) :classmethod: Create from dictionary. .. py:attribute:: _Thermo .. py:method:: _update(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None) -> bool Compute new properties as mass-weighted from individual specie in mixture. :param mix: Change the mixture. Defaults to None. :type mix: Mixture, optional :returns: If something changed :rtype: bool