CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

What exactly is h in externalWallHeatFluxTemperature BC?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By petr.f.
  • 1 Post By zfaraday

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2015, 08:24
Default What exactly is h in externalWallHeatFluxTemperature BC?
  #1
Member
 
Petr Furmanek
Join Date: Jan 2012
Location: Faenza, Italy
Posts: 66
Rep Power: 14
petr.f. is on a distinguished road
Hi all!

Maybe it is a stupid question, but after looking into the code I'm still a bit confused about true meaning of h in the externalWallHeatFluxTemperature. If I assume the following boundary problem

internal fluid -> wall -> environment

there are two heat transfer coefficients coming into play -
alpha_1 between the internal fluid and the wall and
alpha_2 between the wall and the environment.

So which one of these is h?
petr.f. is offline   Reply With Quote

Old   January 17, 2015, 04:39
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

If you take a look at the sources, here's the way heat flux is calculated:

Code:
        case fixedHeatTransferCoeff:
        {
            scalar totalSolidRes = 0.0;
            if (thicknessLayers_.size() > 0)
            {
                forAll (thicknessLayers_, iLayer)
                {
                    const scalar l = thicknessLayers_[iLayer];
                    if (kappaLayers_[iLayer] > 0.0)
                    {
                        totalSolidRes += l/kappaLayers_[iLayer];
                    }
                }
            }
            q = (Ta_ - Tp)*(1.0/h_ + totalSolidRes);
            break;
        }
Ta_ is ambient temperature, Tp is temperature on the patch. Now, assuming you neglected additional thermal resistance, h can be calculated as

1/h = 1/h_{flud->wall} + 1/h_{wall} + 1/h_{wall->external}
alexeym is offline   Reply With Quote

Old   January 17, 2015, 15:51
Default
  #3
Member
 
Petr Furmanek
Join Date: Jan 2012
Location: Faenza, Italy
Posts: 66
Rep Power: 14
petr.f. is on a distinguished road
Hi Alexey,

thanks for the reply. I'm using OF v 2.3.x with a little bit different code

Code:
            if (thicknessLayers_.size() > 0)
            {
                forAll (thicknessLayers_, iLayer)
                {
                    const scalar l = thicknessLayers_[iLayer];
                    if (kappaLayers_[iLayer] > 0.0)
                    {
                        totalSolidRes += l/kappaLayers_[iLayer];
                    }
                }
            }
            hp = 1.0/(1.0/h_ + totalSolidRes);
and then

Code:
    else if (mode_ == fixedHeatTransferCoeff)
    {
        Qr /= Tp;
        refGrad() =  0.0;
        refValue() =  hp*Ta_/(hp - Qr);
        valueFraction() =
            (hp - Qr)/((hp - Qr) + kappa(Tp)*patch().deltaCoeffs());
    }
where Qr is radiative heat flux. You're right that from theory the overall hp value is
Quote:
1/hp = 1/h_{fluid->wall} + 1/h_{wall} + 1/h_{wall->external}
I wasn't sure if there is something neglected in the code or not... So if it isn't then apparently

1/h_{wall} = totalSolidRes

so I presume

1/h_ = 1/h_{fluid->wall} + 1/h_{wall->external}

I suppose I have to estimate the 1/h_{fluid->wall} for example from



as mentioned in https://en.wikipedia.org/wiki/Heat_transfer_coefficient

and then do a similar thing for 1/h_{wall->external} to get the h_ for input of the boundary condition...
petr.f. is offline   Reply With Quote

Old   January 18, 2015, 04:05
Default
  #4
Member
 
Petr Furmanek
Join Date: Jan 2012
Location: Faenza, Italy
Posts: 66
Rep Power: 14
petr.f. is on a distinguished road
After looking into code of mixedFvPatchScalarField and fluidThermo I think I got it. The h_ is the outer heat transfer coefficient - the 1/h_{wall->external}.

Heat transfer from internal fluid -> wall is solved using the kappa() field, inside the wall with the use of totalSolidRes which leaves the h_{wall->external} to be set by the user.
ksara and vs1 like this.
petr.f. is offline   Reply With Quote

Old   January 18, 2015, 08:35
Default
  #5
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 21
zfaraday will become famous soon enough
Exactly Petr, h is the external heat transfer coefficient, the value of the solid resistance is calculated if you provide values of the kappa layers and thickness layers, otherwise it's neglected.

Regards,

Alex
vs1 likes this.
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!
zfaraday is offline   Reply With Quote

Old   December 26, 2018, 03:14
Default
  #6
Senior Member
 
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 7
calf.Z is on a distinguished road
Quote:
Originally Posted by zfaraday View Post
Exactly Petr, h is the external heat transfer coefficient, the value of the solid resistance is calculated if you provide values of the kappa layers and thickness layers, otherwise it's neglected.

Regards,

Alex
As usual, should we need the kappalayers and thicknesslayers? What's the meaning of kappalayers (1 2 3 4) and thicknesslayers(0.1 0.2 0.3 0.4)?
calf.Z is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:45.