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

Boundary Condition Values

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2016, 13:22
Default Boundary Condition Values
  #1
New Member
 
Kevin Cole
Join Date: Jun 2016
Location: Durham, NH
Posts: 11
Rep Power: 10
kodexys is on a distinguished road
Hello everyone, could someone please explain to me what the values in boundary patches specify? I'm trying to run simulations with roughness and I'm not sure what OpenFOAM is doing when I set something like
Code:
type     nutkRoughWallFunction
Ks        uniform 0;
Cs        uniform 0.5;
value     uniform 0;
kodexys is offline   Reply With Quote

Old   June 27, 2016, 22:29
Default
  #2
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
if you look for the file in the source code you'll find this:

Quote:
Description
This boundary condition provides a turbulent kinematic viscosity condition
when using wall functions for rough walls, based on turbulence kinetic
energy. The condition manipulates the E parameter to account for roughness
effects.

Parameter ranges
- roughness height = sand-grain roughness (0 for smooth walls)
- roughness constant = 0.5-1.0

\heading Patch usage

\table
Property | Description | Required | Default value
Ks | sand-grain roughness height | yes |
Cs | roughness constant | yes |
\endtable

Example of the boundary condition specification:
\verbatim
myPatch
{
type nutkRoughWallFunction;
Ks uniform 0;
Cs uniform 0.5;
}
\endverbatim
anishtain4 is offline   Reply With Quote

Old   June 28, 2016, 09:49
Default
  #3
New Member
 
Kevin Cole
Join Date: Jun 2016
Location: Durham, NH
Posts: 11
Rep Power: 10
kodexys is on a distinguished road
Thanks Mahdi for your reply.

However, I don't see how it answers my question of what the values in boundary patches specify.
kodexys is offline   Reply With Quote

Reply

Tags
boundary, boundary condition, rough, values

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
several fields modified by single boundary condition schröder OpenFOAM Programming & Development 3 April 21, 2015 05:09
Implement a new boundary condition and writes out the values kmefun OpenFOAM Running, Solving & CFD 0 September 19, 2014 12:03
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 04:13
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


All times are GMT -4. The time now is 15:25.