heatTransferCoeff
Note
Under construction - please check again later

Description

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

Operands

Operand Type Location
input - -
output file - -
output field volScalarField $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:

Property Description Type Required Default
type Type name: heatTransferCoeff word yes -
libs Library name: fieldFunctionObjects word yes -
field Name of the operand field word yes -
patches Names of the operand patches wordList yes -
htcModel Model for coefficient computation word yes -
UInf Reference flow speed scalar yes -
rho Fluid density scalar yes -

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 \rho_\infty C_{p,\infty} |U_{\infty}| C_f \]

  • localReferenceTemperature: local reference temperature

    \[ h = \frac{q}{T_c - T_w} \]

  • fixedReferenceTemperature: fixed reference temperature

    \[ h = \frac{q}{T_c - T_{ref}} \]

Further information

Source code:

History

  • Introduced in version v1712