libICEpost.src.thermophysicalModels.specie.thermo.Thermo.constantCp =================================================================== .. py:module:: libICEpost.src.thermophysicalModels.specie.thermo.Thermo.constantCp .. autoapi-nested-parse:: @author: F. Ramognino Last update: 12/06/2023 Attributes ---------- .. autoapisummary:: libICEpost.src.thermophysicalModels.specie.thermo.Thermo.constantCp.Tstd Classes ------- .. autoapisummary:: libICEpost.src.thermophysicalModels.specie.thermo.Thermo.constantCp.constantCp Module Contents --------------- .. py:data:: Tstd .. py:class:: constantCp(Rgas, cp, hf=float('nan')) Bases: :py:obj:`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 .. py:method:: fromDictionary(dictionary) :classmethod: 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) :param dictionary: The dictionary containing the data :type dictionary: dict .. py:attribute:: _cp .. py:attribute:: _hf .. py:method:: __str__() .. py:method:: __repr__() .. py:method:: cp(p: float, T: float) -> float Constant pressure heat capacity [J/kg/K] .. py:method:: ha(p: float, T: float) -> float Absolute enthalpy [J/kg] ha(T) = cp * (T - Tstd) + hf .. py:method:: hf() -> float Enthalpy of formation [J/kg] hf = ha(Tstd) .. py:method:: dcpdT(p: float, T: float) -> float dcp/dT [J/kg/K^2]