CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Questions about convective heat transfer boundary condition (

awacs October 8, 2009 04:35

Questions about convective heat transfer boundary condition
Dear foamers,

I am study the heating process of a solid, which has several heating channels for hot fluid (gas or oil) flowing through. The hot fluid temperature changes little during the entire heating process. So the boundary condition at the channel wall belongs to the classical third-class:

-ks*dT/dn = HTC*(T-T_fluid)

where ks denotes the thermal conductivity of the solid, HTC denotes the heat exchange coefficient between hot fuid and solid depending on the fluid velocity, temperature, and thermal conductivity, etc. , T_fluid is the temperature of the hot fluid, and dT/dn and T are respectively the gradient and the value of the solid temperature at the boundary interface.

Is there a lib in OpenFOAM that performs or nearly performs this BC?

Can anyone help me?

Best regards

awacs October 9, 2009 03:43

I am trying to develop a new convectiveHeatTransfer b.c. under the guidance of
and .

If there is any progress, I will give you feedback as soon as possible.


wilko October 12, 2009 20:41

Convective Heat Transfer Boundary
Here is an attempt of an updateCoeffs() function for the convective Heat Transfer BC. The function seems to work properly on some first tests.

void Foam::convectiveHeatTransferFvPatchScalarField::up dateCoeffs()
if (updated())

const scalarField& Kw =
patch().lookupPatchField<volScalarField, scalar>(KName_);

const fvPatchScalarField& Tw = *this;

operator==((HTC_/(patch().deltaCoeffs()*Kw)*Tref_+Tw.patchInternalF ield())/((HTC_/patch().deltaCoeffs()/Kw)+scalar(1)));


But I am still in a struggle with some warnings concerning the new variables Tref and HTC. Additionally I am not sure how to change the functions autoMap() and rmap().
Maybe someone can give me a hint.

Good night


awacs October 15, 2009 03:16

Dear Wilko,

Thanks for your reply. From which did you derive the convective Heat Transfer BC? Would you mind sharing the code? I am very glad to test this new BC.

My e-mail address is:

Best wishes,

estang December 8, 2014 06:02

Is there any progress with this problem?

All times are GMT -4. The time now is 15:19.