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

Values and Wall Functions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2016, 13:24
Default Values and Wall Functions
  #1
New Member
 
Kevin Cole
Join Date: Jun 2016
Location: Durham, NH
Posts: 11
Rep Power: 10
kodexys is on a distinguished road
Hello,

This is from the OpenFOAM C++ Source Code guide, which I tried to implement in my 0/nut
Code:
<patchName>
{
    type            nutUSpaldingWallFunction;
}
When I run the code, OpenFOAM complains that there is no specified value, despite the lack of it in the source guide.

My question is if there is a workaround for leaving out the value and having it work. If not, I would like to know what suitable values would be for a rough wall simulation.

Any help would be greatly appreciated.
kodexys is offline   Reply With Quote

Old   June 24, 2016, 05:04
Default
  #2
Member
 
Join Date: Jun 2016
Posts: 66
Rep Power: 11
Zbynek is on a distinguished road
You need to set a value for the boundary patch as well. Even though the quantity in question is going to be calculated using a wall function, you set its initial value. So it would be something like this:

Code:
<patchName>
{
    type            nutUSpaldingWallFunction;
    value          0;
}
Simply check settings in one of the many tutorials that come with OF installation!

Last edited by Zbynek; June 29, 2016 at 05:12.
Zbynek is offline   Reply With Quote

Old   June 24, 2016, 16:14
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 for the reply Zbynek! I tried that out and it indeed worked.

Do you by any chance know what the F3 coefficient in the kw SST model does?
kodexys is offline   Reply With Quote

Old   June 29, 2016, 05:15
Default
  #4
Member
 
Join Date: Jun 2016
Posts: 66
Rep Power: 11
Zbynek is on a distinguished road
Hi Kevin,

The answer on your question is hidden in the header file of the k-omega SST model.

Code:
Description
    Implementation of the k-omega-SST turbulence model for incompressible
    flows.
    Turbulence model described in:
    \verbatim
        Menter, F., Esch, T.,
        "Elements of Industrial Heat Transfer Prediction",
        16th Brazilian Congress of Mechanical Engineering (COBEM),
        Nov. 2001.
    \endverbatim
    with the addition of the optional F3 term for rough walls from
    \verbatim
        Hellsten, A.
        "Some Improvements in Menter’s k-omega-SST turbulence model"
        29th AIAA Fluid Dynamics Conference,
        AIAA-98-2554,
        June 1998.
    \endverbatim
Zbynek is offline   Reply With Quote

Reply

Tags
rough, values, wall function


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
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 01:04
Enhanced Wall Treatment paduchev FLUENT 24 January 8, 2018 12:55
Rough Wall Functions Troubleshooting: (OF 1.6.x, incompressible) PainInTheMesh OpenFOAM Running, Solving & CFD 0 October 15, 2013 23:09
Modify, G_k,k and epsilon values on wall functions Javier Larrondo FLUENT 0 September 15, 2008 22:34
Correct values for constants k E in wall functions jaswi OpenFOAM Running, Solving & CFD 0 February 21, 2008 12:33


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