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

Turbulent BCs: Wall Functions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2010, 14:56
Default Turbulent BCs: Wall Functions
  #1
Senior Member
 
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 15
lordvon is on a distinguished road
Hello,

Should k and omega for komegasst turbulence model be fixed at walls or zerogradient? From the forums I have seen zerogradient, but here: http://repo.or.cz/w/OpenFOAM-1.6.x.g...am/motorBike/0 , I see fixed.
lordvon is offline   Reply With Quote

Old   October 1, 2010, 04:11
Default
  #2
Senior Member
 
Felix L.
Join Date: Feb 2010
Location: Hamburg
Posts: 165
Rep Power: 18
FelixL is on a distinguished road
Hi, there,


when using the k-Omega-SST turbulence model in OpenFOAM, you have to use the boundary conditions kqRWallFunction and omegaWallFunction for k and omega, respective. The reason is that the implementation of k-Omega-SST in OpenFOAM is the High-Re-version, which requires a wall function approach.

When specifying a wall function BC, you also have to set a value (as you saw in the motorBike-tutorial case). Set it to the initial values you used for your internal Fields of k and omega, since - to my knowledge and experience - it won't affect your solution. The wall functions automatically take care for the value at the wall.


Greetings.
FelixL is offline   Reply With Quote

Old   October 1, 2010, 10:45
Default
  #3
Senior Member
 
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 15
lordvon is on a distinguished road
Is that supposed to be so in OF1.5-dev?

I have set in the /0/omega file the walls to be of type omegaWallFunction, with value $internalField, but I get this error:
Code:
generic is the wrong omega patchField type for wall-functions on patch casing
    should be zeroGradient
I made sure in constant/boundary the corresponding patch type is set to 'wall'.

If I set the wall to be of type zeroGradient, I do not get an error, but the simulation eventually diverges. Should I add an (initial) value along with the zerogradient type (Is it even legal)? It does not give a problem if I do so, but is the value being ignored?

Thanks for your help.
lordvon is offline   Reply With Quote

Old   October 1, 2010, 12:43
Default
  #4
Senior Member
 
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 15
lordvon is on a distinguished road
Also I am trying to ramp up the rpm using a logistic function; does anyone know how I can get the current rpm to print in the terminal so I know it is working?

Is it ok if the very first frame looks crazy in terms of pressure distribution (rotating object in external flow)?

Will sharp edges in the rotating part or small gaps between rotor and stator affect convergence?
lordvon is offline   Reply With Quote

Old   October 1, 2010, 14:26
Default
  #5
Senior Member
 
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 15
lordvon is on a distinguished road
Here is something that confuses me:

http://repo.or.cz/w/OpenFOAM-1.6.x.g...incompressible

The simpleSRFFoam and simplefoam/motorbike examples both use komegasst, but the srffoam has epsilon and omega both defined in the 0/ directory, but motorbike has only omega and in the omega file it says it is an 'epsilon' object. Why the difference?
lordvon 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
Modelling Turbulent Wall Functions victorwfreire CFX 11 January 14, 2015 15:48
help with wall functions dshawul Main CFD Forum 6 May 23, 2011 03:12
wall functions near slanting wall Pankaj Main CFD Forum 0 September 11, 2008 09:50
LES - Wall Functions agg Main CFD Forum 5 May 13, 2005 12:30
Wall functions - iterative approach agg Main CFD Forum 1 May 13, 2005 12:25


All times are GMT -4. The time now is 05:12.