GetSpecificHeat

Returns the material's specific heat for a given temperature and pressure.

Calling convention:

double GetSpecificHeat (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->GetSpecificHeat();
double fluidSpecificHeat = pMaterial->GetSpecificHeat(fluidTemp, fluidPress);