Skip to main content

heatTransferCoeff

Description

The heatTransferCoeff function object computes the heat transfer coefficient as a volScalarField for a set of patches.

Operands

OperandTypeLocation
input--
output file--
output fieldvolScalarField$FOAM_CASE/<time>/<outField>

Usage

Example of the heatTransferCoeff function object by using functions sub-dictionary in system/controlDict file:

heatTransferCoeff1
{
// Mandatory entries (unmodifiable)
type heatTransferCoeff;
libs (fieldFunctionObjects);
field <field>;
patches (<patch1> <patch2> ... <patchN>);
htcModel <htcModel>;
UInf (20 0 0);
Cp CpInf;
CpInf 1000;
rho rhoInf;
rhoInf 1.2;

// Optional (inherited) entries
result <fieldResult>;
region region0;
enabled true;
log true;
timeStart 0;
timeEnd 1000;
executeControl timeStep;
executeInterval 1;
writeControl timeStep;
writeInterval 1;
}

where the entries mean:

PropertyDescriptionTypeRequiredDefault
typeType name: heatTransferCoeffwordyes-
libsLibrary name: fieldFunctionObjectswordyes-
fieldName of the operand fieldwordyes-
patchesNames of the operand patcheswordListyes-
htcModelModel for coefficient computationwordyes-
UInfReference flow speedscalaryes-
rhoFluid densityscalaryes-

The inherited entries are elaborated in:

Example by using the postProcess utility:

postProcess -func "heatTransferCoeff(<field>)"

The following options are available for the htcModel entry:

  • ReynoldsAnalogy: Reynolds analogy

h=0.5ρCp,UCfh = 0.5 \rho_\infty C_{p,\infty} |U_{\infty}| C_f

  • localReferenceTemperature: local reference temperature

h=qTcTwh = \frac{q}{T_c - T_w}

  • fixedReferenceTemperature: fixed reference temperature

h=qTcTrefh = \frac{q}{T_c - T_{\ref}}

Further information

Source code:

API:

History: Introduced in version v1712