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

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

Classes

ThermoMixing

Class handling mixing rule to combine thermodynamic data of specie into a multi-component mixture.

Module Contents

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

Bases: 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.


ThermoType[source]

Type of thermodynamic data for which it is implemented

Type:

str

Thermo

The Thermo of the mixture

Type:

Thermo

thermos

Link to database of thermodynamic properties (database.chemistry.thermo.Thermo)

Type:

_DatabaseClass

ThermoType[source]

str

static ThermoType() str[source]
Abstractmethod:

The type of thermodynamic data to lookup for in the database

thermos: libICEpost.Database._DatabaseClass

Link to database of thermodynamic data

property mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture

The mixture composition

_mix
property Thermo: libICEpost.src.thermophysicalModels.specie.thermo.Thermo.Thermo

The thermodynamic data 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