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

NuSGsWallFunction declaration type

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

Like Tree1Likes
  • 1 Post By eugene

Reply
 
LinkBack Thread Tools Display Modes
Old   September 21, 2006, 05:29
Default Hello, I want to use a SGS
  #1
Member
 
anne dejoan
Join Date: Mar 2009
Location: madrid, spain
Posts: 66
Rep Power: 8
anne is on a distinguished road
Hello,

I want to use a SGS model + wall function.

I have read in a threat that to do so you have to
declare "nuSgsWallFunction" as type BC for nuSgs.

However, while doing this, I have the following error message when runninf the application:

I use openFoam 1.3 version.

How should it be declared so taht it wokds ?

--------------------------------------------
--> FOAM FATAL IO ERROR : keyword value is undefined in dictionary "/home/anne/OpenFOAM/anne-1.3/run/OBSTACLE_HIGH_RE/0/nuSgs::bottomWall"

file: /home/anne/OpenFOAM/anne-1.3/run/OBSTACLE_HIGH_RE/0/nuSgs::bottomWall from line 245801 to line 245801.

From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 152.

FOAM exiting
------------------------------


Thanks you

anne
anne is offline   Reply With Quote

Old   September 21, 2006, 05:52
Default You need to add a value entry
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
You need to add a value entry to your nuSgsWallFunction boundary condition, like so:

bottomWall
{
type nuSgsWallFunction;
value uniform 1e-10;
}

Most boundary conditions require such a placeholder value entry even though the initial specification is not important. It is simply a result of the way the boundary class is derived from its base type.
solefire likes this.
eugene is offline   Reply With Quote

Old   September 21, 2006, 10:10
Default thanks , it runs now Ann
  #3
Member
 
anne dejoan
Join Date: Mar 2009
Location: madrid, spain
Posts: 66
Rep Power: 8
anne is on a distinguished road
thanks ,

it runs now

Anne
anne is offline   Reply With Quote

Old   September 22, 2006, 04:00
Default Hi again, I would like just
  #4
Member
 
anne dejoan
Join Date: Mar 2009
Location: madrid, spain
Posts: 66
Rep Power: 8
anne is on a distinguished road
Hi again,

I would like just some clarification:

when using LES+wall function,

Is the correct way to apply a fixed zero type BC for
U ?

Anne
anne is offline   Reply With Quote

Old   September 22, 2006, 04:28
Default Yes, wall functions are applie
  #5
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
Yes, wall functions are applied to the velocity field via an enhanced viscosity.

tau_w = (nu + nu_w) * du/dn_w

where the appropriate nu_w is calculated using the wall function.
eugene is offline   Reply With Quote

Old   April 14, 2008, 14:35
Default Dear All, I also try to do
  #6
New Member
 
Thomas Gallinger
Join Date: Mar 2009
Posts: 28
Rep Power: 8
thomas is on a distinguished road
Dear All,

I also try to do LES with wall functions.

My problem is, that if I apply the type "nuSgsWallFunction" to a wall patch, as mentioned above, I get the error message: This is an unknown patch field, if I try to decompose the case.

If I run it without decomposition the solver starts and doesn't complain about the patch.

In the .OpenFOAM/controldict the switch disallowDefaultFvPattchField is set to 1.

I'm using the 1.4.1-dev version of Foam.

So I'm not shure if wall functions are applied or not. Can someone help?

Thanks in advance
Thomas
thomas is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Operator declaration in Thermophysical library lena OpenFOAM Running, Solving & CFD 0 March 12, 2009 10:47
Array declaration kdarc OpenFOAM Running, Solving & CFD 0 August 23, 2007 23:21
FORTRAN variable declaration sriram Main CFD Forum 3 October 22, 2005 06:08
variable declaration zheh Phoenics 0 September 7, 2001 22:58
Boundary declaration Tadiwos CFX 4 August 22, 2001 09:12


All times are GMT -4. The time now is 07:56.