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

k Wall function using a fixed gradient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2014, 11:27
Default k Wall function using a fixed gradient
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Good afternoon,

during my project I have to implement as a boundary condition for the turbulent kinetic energy:

\frac{\partial k}{\partial n} =2 \frac{k}{\delta}

but every wall function I have checked they use a fixed value instead of a gradient. I would like to know if there is a simple way to reach it, or if I have to use a fixedGradient BC and modify it (I have been told that to implement this new wall function is not the best idea)...

Any suggestions? Thanks in advance!
agustinvo is offline   Reply With Quote

Old   September 16, 2014, 14:16
Default
  #2
New Member
 
mohsen cheraghi
Join Date: Jun 2010
Location: Switzerland
Posts: 28
Rep Power: 16
mohsen cheraghi is on a distinguished road
Quote:
Originally Posted by agustinvo View Post
Good afternoon,

during my project I have to implement as a boundary condition for the turbulent kinetic energy:

\frac{\partial k}{\partial n} =2 \frac{k}{\delta}

but every wall function I have checked they use a fixed value instead of a gradient. I would like to know if there is a simple way to reach it, or if I have to use a fixedGradient BC and modify it (I have been told that to implement this new wall function is not the best idea)...

Any suggestions? Thanks in advance!
Hi,
For velocity, there are a partial slip boundary condition which is in the form. Maybe you can start with it and modify it for scalars.
bests.
mohsen cheraghi is offline   Reply With Quote

Reply

Tags
gradient at boundary, turbulence kinetic energy, turbulence modeling


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
Wall function for velocity? johnblund OpenFOAM 3 September 6, 2022 08:22
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 01:04
Problem creating a new Wallfunction on OF 2.2 ! fredo490 OpenFOAM Programming & Development 8 July 22, 2014 06:16
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
Quick Question - Wall Function D.Tandra Main CFD Forum 2 March 16, 2004 05:29


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