libICEpost.src.thermophysicalModels.specie.thermo.EquationOfState

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

Classes for describing equation of states of compounds.

Submodules

Classes

EquationOfState

Class handling thermodynamic equation of state

PerfectGas

Perfect gas equation of state

Package Contents

class libICEpost.src.thermophysicalModels.specie.thermo.EquationOfState.EquationOfState[source]

Bases: libICEpost.src.base.BaseClass.BaseClass

Class handling thermodynamic equation of state

__str__()[source]
__repr__()[source]
abstractmethod cp(p: float, T: float) float[source]

Constant pressure heat capacity contribution [J/kg/K]

abstractmethod h(p: float, T: float) float[source]

Enthalpy contribution [J/kg]

abstractmethod u(p: float, T: float) float[source]

Internal energy contribution [J/kg]

abstractmethod rho(p: float, T: float) float[source]

Density [kg/m^3]

abstractmethod T(p: float, rho: float) float[source]

Temperature [K]

abstractmethod p(T: float, rho: float) float[source]

pressure [Pa]

abstractmethod Z(p: float, T: float) float[source]

Compression factor [-]

abstractmethod cpMcv(p: float, T: float) float[source]

Difference cp - cv.

abstractmethod dcpdT(p, T)[source]

dcp/dT [J/kg/K^2]

abstractmethod dpdT(p, T)[source]

dp/dT [Pa/K]

abstractmethod dTdp(p, T)[source]

dT/dp [K/Pa]

abstractmethod drhodp(p, T)[source]

drho/dp [kg/(m^3 Pa)]

abstractmethod dpdrho(p, T)[source]

dp/drho [Pa * m^3 / kg]

abstractmethod drhodT(p, T)[source]

drho/dT [kg/(m^3 K)]

abstractmethod dTdrho(p, T)[source]

dT/drho [K * m^3 / kg]

class libICEpost.src.thermophysicalModels.specie.thermo.EquationOfState.PerfectGas[source]

Bases: libICEpost.src.thermophysicalModels.specie.thermo.EquationOfState.EquationOfState.EquationOfState

Perfect gas equation of state

Rgas

The mass specific gas constant

Type:

float

Rgas: float

The mass specific gas constant [J/kg/K]

classmethod fromDictionary(dictionary)[source]

Create from dictionary.

__str__()[source]
__repr__()[source]
__eq__(other: PerfectGas)[source]
__ne__(other: PerfectGas)[source]
__hash__()[source]
cp(p: float, T: float) float[source]

Constant pressure heat capacity contribution [J/kg/K]

h(p: float, T: float) float[source]

Enthalpy contribution [J/kg]

u(p: float, T: float) float[source]

Internal energy contribution [J/kg]

rho(p: float, T: float) float[source]

Density [kg/m^3]

T(p: float, rho: float) float[source]

Temperature [K]

p(T: float, rho: float) float[source]

Pressure [Pa]

Z(p: float, T: float) float[source]

Compression factor [-]

cpMcv(p: float, T: float) float[source]

Difference cp - cv.

dcpdT(p, T)[source]

dcp/dT [J/kg/K^2]

dpdT(p, T)[source]

dp/dT [Pa/K]

dTdp(p, T)[source]

dT/dp [K/Pa]

drhodp(p, T)[source]

drho/dp [kg/(m^3 Pa)]

dpdrho(p, T)[source]

dp/drho [Pa * m^3 / kg]

drhodT(p, T)[source]

drho/dT [kg/(m^3 K)]

dTdrho(p, T)[source]

dT/drho [K * m^3 / kg]