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

Solving boundary layer with k-e model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2010, 08:41
Default Solving boundary layer with k-e model
  #1
Senior Member
 
Join Date: Nov 2009
Posts: 111
Rep Power: 16
Gearb0x is on a distinguished road
Hello

In fluent, you can use "Enhanced wall treatment" to solve the boudary layer with the k-e turbulence model.

How can you do that with OpenFoam? Which boundary conditions to set instead of wall functions?

Thank you
Gearb0x is offline   Reply With Quote

Old   February 24, 2010, 09:06
Default
  #2
New Member
 
Join Date: Feb 2010
Posts: 24
Rep Power: 16
cboss is on a distinguished road
Hi,

as far as I am understanding your question, you want to resolve the laminar sublayer with a fine mesh (with y-plus around 1) using the implemented k-epsilon turbulence model?

In literature it is often pointed out, that if the laminar sublayer should be resolved with the k-epsilon model, additional damping functions (to limit the k production) are needed.

In OF 1.6 one modified k-epsilon turbulence model for this usage is included. The Launder-Sharma low-Re k-epsilon model.
http://www.cfd-online.com/Wiki/Low-Re_k-epsilon_models

If you can manage provide small y-plus values to resolve the laminar sublayer, you can perhaps try this model. (Personally I have no experience with this model)

Regards
cboss is offline   Reply With Quote

Old   February 24, 2010, 09:09
Default
  #3
Senior Member
 
Join Date: Nov 2009
Posts: 111
Rep Power: 16
Gearb0x is on a distinguished road
You totally understand and this is the model I was using but it gives me different results than fluent so I wanted to know if it was possible to stick as cloes as possible to the parameters in fluent by using the standard k-e model

Thanks for the answer!
Gearb0x is offline   Reply With Quote

Old   February 25, 2010, 02:30
Default
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by Gearb0x View Post
You totally understand and this is the model I was using but it gives me different results than fluent so I wanted to know if it was possible to stick as cloes as possible to the parameters in fluent by using the standard k-e model

Thanks for the answer!
Well, if you want to actually resolve the boundary layer you need a low-Re model. For incompressible flows there are a few in OpenFOAM.

Now the question is how did you set the boundary conditions at the walls? If you use a low-Re model, you should not use the wall-functions but directly specify the conditions for k and epsilon.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.

Last edited by alberto; February 25, 2010 at 02:31. Reason: corrected
alberto is offline   Reply With Quote

Old   February 25, 2010, 06:39
Default
  #5
Senior Member
 
Join Date: Nov 2009
Posts: 111
Rep Power: 16
Gearb0x is on a distinguished road
At the walls, k and epsilon are set to something like 1e-06 and nut is set as calculated
Gearb0x is offline   Reply With Quote

Old   January 23, 2013, 04:31
Default
  #6
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
Hello Jérémy,
Did you manage to get what you wanted?
I also want to resolve the BL with y+ around1, (simpleFoam)
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   January 24, 2013, 04:40
Default
  #7
Member
 
Aathavan
Join Date: Nov 2012
Posts: 70
Rep Power: 13
Aadhavan is on a distinguished road
Hi All,
I am using MRFSimpleFoam,
y+ value = 3, Growth factor = 1.2, layers = 15 and the whole domain has 6.3 Millions cells.

I am using kOmegaSST, the problem is, simulation not all getting converged.

my question is for kOmegaSST turb-model, is it right setting???
if not what should I change?

I have given the boundary conditions as follows

0/nut,

for all walls

top0
{
type nutkWallFunction;
value uniform 0;
}

top1
{
type nutkWallFunction;
value uniform 0;
}

top2
{
type nutkWallFunction;
value uniform 0;
}

0/k

top0
{
type kqRWallFunction;
value uniform 0.062424;
}

top1
{
type kqRWallFunction;
value uniform 0.062424;
}

top2
{
type kqRWallFunction;
value uniform 0.062424;
}


0/omega

top0
{
type omegaWallFunction;
value uniform 0.99;
}

top1
{
type omegaWallFunction;
value uniform 0.99;
}

top2
{
type omegaWallFunction;
value uniform 0.99;
}

0/U --> massFlowRate ---> 4m3/s inlet
0/p --> Gauge Pressure --> 0 Outlet

Thanks,
Aadhavan
Aadhavan 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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
Turbulent Boundary Layer on a Flat Plate Hoshang Garda FLUENT 1 November 27, 2013 10:24
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
Errno 24 linux ivanwhlau OpenFOAM Running, Solving & CFD 6 July 1, 2009 10:16
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36


All times are GMT -4. The time now is 04:37.