GetEnthalpy
Returns the material's enthalpy for a given temperature and pressure.
Calling convention:
double GetEnthalpy (double temp, double press)
Argument | Data type | Description |
---|---|---|
temp | double | The given temperature. |
press | double | The given pressure. |
You can find a definition of this function in the CaeUtils_Exp_IMaterial.hxx header file.
Example:
const IMaterial* pMaterial = pContext->GetEnthalpy();
double enthalpy = pMaterial->GetEnthalpy(temp, press);