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

Apply wallfunction in LES

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2010, 04:37
Default Apply wallfunction in LES
  #1
Senior Member
 
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 17
fs82 is on a distinguished road
Hello Guys,

I want to apply a wall function to a wall in my LES simulation. After consulting the User Guide the boundaryField part of my 0/nuSgs file looks like this:

boundaryField
{
top
{
type zeroGradient;
}
bottom
{
type nuSgsWallFunction;
value uniform 1;
}
p1
{
type cyclic;
}
p2
{
type cyclic;
}
}

Testing this with pisoFoam and oneEqEddy SGS Model the solver runs. If I now change the nuSgsWallFunction to e.g. "bla" nothing happens, the solver is still running without any problems. Furthermore if I apply my own wallFunction (change nuSgsWallFunction to moninObukhovWallFunction) where I added: Info << "Wall function is working " << endl; to the evaluate subroutine the solver still runs without any problems but I do not see the Info text on my screen which leads my to the assumption my wallFunction is not used. Have I forgot something to enable? Or is there a bug?

kind regards,
Fabian
fs82 is offline   Reply With Quote

Old   April 14, 2010, 08:06
Default
  #2
Senior Member
 
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 17
fs82 is on a distinguished road
Allright I dont know why, but after hours of trying it works now ...
fs82 is offline   Reply With Quote

Old   April 16, 2010, 04:03
Default
  #3
Senior Member
 
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 16
panda60 is on a distinguished road
I also have met the same problem. So I don't know if the solver is using the wallFunction or not.
panda60 is offline   Reply With Quote

Old   April 16, 2010, 07:14
Default
  #4
Senior Member
 
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 17
fs82 is on a distinguished road
I tested this a little bit and this is not only a problem for wall functions. OpenFoam don't check if the type of boundary condition is valid. Even if you misspelled the type but you have set a value OpenFoam assumes a fixedValue type BC as default and do not inform you about your mistake. This is not a bug, but it would be good to give a hint to the user if using default.
fs82 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it feasible to apply implicit scheme in LES EagleGao Main CFD Forum 2 October 24, 2011 14:04
LES grid mesh L3munoz Main CFD Forum 0 April 7, 2010 05:05
LES and combustion model Margherita Cadorin CFX 0 October 29, 2008 05:24
LES on two phase flow Li Yang Main CFD Forum 0 May 12, 2004 08:10
Some Questions about LES. Bin Li Main CFD Forum 2 February 20, 2004 09:58


All times are GMT -4. The time now is 09:46.