libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.constantCpMixing

@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 30/01/2024

Classes

constantCpMixing

Class handling mixing of multi-component mixture: thermodynamic data in constantCp definition.

Module Contents

class libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.constantCpMixing.constantCpMixing(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture)[source]

Bases: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.ThermoMixing.ThermoMixing

Class handling mixing of multi-component mixture: thermodynamic data in constantCp definition.

ThermoType

Type of thermodynamic data for which it is implemented

Type:

str

Thermo

The Thermo of the mixture

Type:

Thermo

ThermoType = 'constantCp'

The type of thermodynamic data to lookup for in the database

_oldMix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture

The old mixture composition

classmethod fromDictionary(dictionary)[source]

Create from dictionary.

_Thermo
_update(mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None) bool[source]

Compute new properties as mass-weighted from individual specie in mixture.

Parameters:

mix (Mixture, optional) – Change the mixture. Defaults to None.

Returns:

If something changed

Return type:

bool