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

alphatWallFunction vs alphatJayatillekeWallFunction

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes
  • 3 Post By arvindpj
  • 1 Post By wc34071209
  • 1 Post By khedar
  • 3 Post By wc34071209
  • 2 Post By Gerhard

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2017, 17:02
Default alphatWallFunction vs alphatJayatillekeWallFunction
  #1
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Hi Foamers,

Looking at the source code, the difference between
Code:
alphatWallFunction
and
Code:
alphatJayatillekeWallFunction
is apparent.

For alphatWallFunction, alphat = mut/Pr, where Pr is the turbulent Prandtl number.

For alphatJayatillekeWallFunction, it is more involved, as it distinguishes linear law region and log law region.

What I am wondering is the scope of application and the pros and cons of these two wall functions.

Does appliation of these two wall functions for alphat depend on low-Re or high-Re turbulence model, high-resolution mesh or low-resolution mesh, or others?

Thank you.
wc34071209 is offline   Reply With Quote

Old   June 9, 2017, 15:18
Default Depends on the type of flow
  #2
Member
 
Arvind Jay
Join Date: Sep 2012
Posts: 96
Rep Power: 14
arvindpj is on a distinguished road
alphatWallFunction - for compressible cases
alphatJayatillekeWallFunction - for incompressible cases

Cheers :-)
-Jay
tariq, lukasf and lpz456 like this.
arvindpj is offline   Reply With Quote

Old   June 9, 2017, 15:20
Default
  #3
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by arvindpj View Post
alphatWallFunction - for compressible cases
alphatJayatillekeWallFunction - for incompressible cases

Cheers :-)
-Jay
Hi Jay,

Thank you for your reply. But both can be applied to compressible cases, provided that you put 'compressible::' before them.
arvindpj likes this.
wc34071209 is offline   Reply With Quote

Old   June 9, 2017, 15:27
Default
  #4
Member
 
Arvind Jay
Join Date: Sep 2012
Posts: 96
Rep Power: 14
arvindpj is on a distinguished road
What would you use in "alphat" in case of a compressible low-re case ?? Is it

Code:
 
wall
{
            type             calculated;
             value           $internalField;
}
Thanks,
Jay
arvindpj is offline   Reply With Quote

Old   June 9, 2017, 15:41
Default
  #5
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by arvindpj View Post
What would you use in case of a compressible low-re case ?? Is it

Code:
 
wall
{
            type             calculated;
             value           $internalField;
}
Thanks,
Jay
Hi,

As far as I know, 'calculated' b.c. does not apply to mut/nut.
wc34071209 is offline   Reply With Quote

Old   June 9, 2017, 16:12
Default
  #6
Member
 
Arvind Jay
Join Date: Sep 2012
Posts: 96
Rep Power: 14
arvindpj is on a distinguished road
Quote:
Originally Posted by wc34071209 View Post
Hi Jay,

Thank you for your reply. But both can be applied to compressible cases, provided that you put 'compressible::' before them.
But,

compressible::alphatWallFunction is strictly for compressible cases
arvindpj is offline   Reply With Quote

Old   June 10, 2017, 15:03
Default
  #7
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 9
khedar is on a distinguished road
alphatJayatillekeWallFunction performs much better than alphatWallFunction for various y+ meshes (I have tested on a channel flow for y+=10 to 50 with BSL-EARSM model) and would advise to use the same if using high y+ meshes.
lpz456 likes this.
khedar is offline   Reply With Quote

Old   June 11, 2017, 08:32
Default
  #8
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by arvindpj View Post
But,

compressible::alphatWallFunction is strictly for compressible cases
Hi,

Yes, if you use for incompressible, you use
Code:
alphatWallFunction
or
Code:
alphatJayatillekeWallFunction
and if you use for compressible, you use

Code:
compressible::alphatWallFunction
or
Code:
compressible::alphatJayatillekeWallFunction
I am talking about OpenFOAM 2.3 and I am not certain about OpenFOAM 3.0 and later versions.
saadat66, masimasiqi and Sakun like this.
wc34071209 is offline   Reply With Quote

Old   June 11, 2017, 08:33
Default
  #9
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by khedar View Post
alphatJayatillekeWallFunction performs much better than alphatWallFunction for various y+ meshes (I have tested on a channel flow for y+=10 to 50 with BSL-EARSM model) and would advise to use the same if using high y+ meshes.
Hi,

Thank you for your reply. But much better performance, you mainly mean the profile of T at the near wall region or the convective heat flux or both?
wc34071209 is offline   Reply With Quote

Old   June 11, 2017, 08:47
Default
  #10
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 9
khedar is on a distinguished road
By much better performance I mean the convective heat fluxes. I am not sure how you would get a profile at the near wall region since due to the wallfunction usage, there is only one value of temperature which in turn is calculated using some thermal universal profile by alphatJayatillekeWallFunction. So in other words WallFunction uses the profile to get the temperature at the near wall cell. Do correct me if I am wrong.
khedar is offline   Reply With Quote

Old   June 11, 2017, 09:03
Default
  #11
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by khedar View Post
By much better performance I mean the convective heat fluxes. I am not sure how you would get a profile at the near wall region since due to the wallfunction usage, there is only one value of temperature which in turn is calculated using some thermal universal profile by alphatJayatillekeWallFunction. So in other words WallFunction uses the profile to get the temperature at the near wall cell. Do correct me if I am wrong.
I mean how the value of temperature at the 1st, 2nd, 3rd, ... layer of the mesh agrees with DNS or experimental data.

Have you ever compared these two wall functions for alphat on a grid leading to y+ < 5?
wc34071209 is offline   Reply With Quote

Old   June 11, 2017, 14:33
Default
  #12
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 9
khedar is on a distinguished road
I have not done cell wise check for the temperature values since it would not make any sense. First cell value with this wallfunction for say y+30 mesh cannot be same to that of y+1 mesh without any wall function.

I have compared the heat fluxes with a simulation on y+1 mesh in OpenFoam and CFX. I get a good match for these.
khedar is offline   Reply With Quote

Old   June 11, 2017, 15:18
Default
  #13
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by khedar View Post
I have not done cell wise check for the temperature values since it would not make any sense. First cell value with this wallfunction for say y+30 mesh cannot be same to that of y+1 mesh without any wall function.

I have compared the heat fluxes with a simulation on y+1 mesh in OpenFoam and CFX. I get a good match for these.
Hi,

I mean you compare the values of temperature at different wall distances (not at different y+) with DNS or experimental data.

So you mean you have obtained quite close results to CFX on a y+=1 mesh with alphatJayatillekeWallFunction? Did you simulate a compressible or incompressible case?
wc34071209 is offline   Reply With Quote

Old   June 11, 2017, 15:26
Default
  #14
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 9
khedar is on a distinguished road
I simulated compressible case using buoyantSimpleFoam solver.
khedar is offline   Reply With Quote

Old   April 15, 2019, 10:12
Default
  #15
Senior Member
 
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 7
calf.Z is on a distinguished road
I am wondering whether alphatWallFunction is suitable for both high Re and low Re? Thank you.
calf.Z is offline   Reply With Quote

Old   April 15, 2019, 10:24
Default
  #16
Member
 
Arvind Jay
Join Date: Sep 2012
Posts: 96
Rep Power: 14
arvindpj is on a distinguished road
Quote:
Originally Posted by calf.Z View Post
I am wondering whether alphatWallFunction is suitable for both high Re and low Re? Thank you.
For LowRe cases, I prefer using alphatJayatillekeWallFunction
arvindpj is offline   Reply With Quote

Old   March 1, 2021, 04:04
Default
  #17
New Member
 
Gerhard
Join Date: Mar 2017
Posts: 26
Rep Power: 9
Gerhard is on a distinguished road
Quote:
Originally Posted by arvindpj View Post
What would you use in "alphat" in case of a compressible low-re case ?? Is it

Code:
 
wall
{
            type             calculated;
             value           $internalField;
}
Thanks,
Jay
For low-Re cases, would a fixed value of zero not be better?
The turbulence viscosity, nut, is set equal to zero in the nutLowReWallFunction.
Now, for alphat, looking at alphatWallFunction, for example, the thermal diffusivity is calculated as
alphat = nut / Prt.
In other words, for low-Re application, if nut = 0 at the wall, I would think alphat = 0 should also be the case at the wall?


Regards,
Gerhard
caio.df and saidc. like this.
Gerhard 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown patchField type alphatWallFunction for patch type wall ranasa OpenFOAM Running, Solving & CFD 7 November 21, 2019 02:13
Error during initialization of "rhoSimpleFoam" kornickel OpenFOAM Running, Solving & CFD 8 September 17, 2013 05:37
Heat Transfer from a Rough Cylinder in Tunnel RE=2.2E5 M=0.07 aerothermal OpenFOAM Running, Solving & CFD 9 May 23, 2013 04:12


All times are GMT -4. The time now is 21:20.