libICEpost.src.thermophysicalModels.specie.thermo.Thermo.constantCp

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

Attributes

Tstd

Classes

constantCp

Class for computation of thermophysical properties with constant cp.

Module Contents

libICEpost.src.thermophysicalModels.specie.thermo.Thermo.constantCp.Tstd
class libICEpost.src.thermophysicalModels.specie.thermo.Thermo.constantCp.constantCp(Rgas, cp, hf=float('nan'))[source]

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

Class for computation of thermophysical properties with constant cp.

Attibutes:
  • Rgas (float): The mass specific gas constant

classmethod fromDictionary(dictionary)[source]

Construct from dictionary containing the following keys: - Rgas (float): The mass specific gas constant - cp (float): Constant pressure heat capacity [J/kg/K] - hf (float): Enthalpy of formation [J/kg] (Optional)

Parameters:

dictionary (dict) – The dictionary containing the data

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

Constant pressure heat capacity [J/kg/K]

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

Absolute enthalpy [J/kg]

ha(T) = cp * (T - Tstd) + hf

hf() float[source]

Enthalpy of formation [J/kg]

hf = ha(Tstd)

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

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