GetThermalConductivity
Returns the material's thermal conductivity for a given temperature and pressure.
Calling convention:
double GetThermalConductivity (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->GetThermalConductivity();
double fluidConductivity = pMaterial->GetThermalConductivity(fluidTemp, fluidPress);