CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

kappatJayatillekeWallFunctionFvPatchScalarField changes between OpenFOAM 171 and 201

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 25, 2014, 14:42
Senior Member
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 186
Rep Power: 10
mabinty is on a distinguished road
hey Camoesas!

in the routine you posted, yPlusTherm, yPlus where the linear and the log law intersect, is calculated with the help of Newton's method. the function "f" is the difference of the linear function (laminar sub-layer) and the log-function which becomes zero for ypt = yPlusTherm.

VSMALL is a very small number mostly used in the denominator of a quotient to avoid a division by zero.

hope that helps!

mabinty is offline   Reply With Quote

Old   February 28, 2014, 03:50
Senior Member
Join Date: Mar 2009
Posts: 138
Rep Power: 10
camoesas is on a distinguished road
HI Aram!

Thanks for your fast Reply!
I got that, but why do i have the turbulent Prandtl-number (Prat) in the denominator? Equation for f? The jayatilleke Wall function in the enominator!
What kind of function for the thermal laminar sublayer is used? It seems that it simply is: T+ = y+ , shouldnt it be something like T+ = y+ * Pr_l ???


OF - 2.0.0
camoesas is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 14:02.