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

interFoam ask for a value in a nutkRoughWallFunction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2013, 09:01
Default interFoam ask for a value in a nutkRoughWallFunction
  #1
New Member
 
Antonio
Join Date: Jan 2013
Posts: 11
Rep Power: 13
avigrod is on a distinguished road
I have defined a rough wall bc using nutkRoughWallFunction, in this way (0/nut):
Code:
object      nut;

[...]

boundaryField
{
    wall
    {
        type            nutkRoughWallFunction;
        Ks              uniform 0.0001;
        Cs              uniform 0.5;
    }
Following instructions from $FOAM_SRC/turbulenceModels/incompressible/RAS/lnInclude/nutkRoughWallFunctionFvPatchScalarField.H

Code:
 Example of the boundary condition specification:
    \verbatim
    myPatch
    {
        type            nutkRoughWallFunction;
        Ks              uniform 0;
        Cs              uniform 0.5;
    }
    \endverbatim
When running interFoam it shows the following error message:
Code:
0/nut.boundaryField.wall from line 26 to line 28.

    From function fvPatchField<Type>::fvPatchField(const fvPatch& p,const DimensionedField<Type, volMesh>& iF,const dictionary& dict,const bool valueRequired)
    in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude/fvPatchField.C at line 162.

FOAM exiting
lines 26-28 are the ones I paste here within the 0/nut file.

Why is it asking for a value field, if the wall function does not need it? If I put any value, Would it be used for anything? I mean, if I add a "value uniform 0;", it won't influenced anything, will it?

Thank you in advance!
avigrod is offline   Reply With Quote

Old   August 13, 2014, 09:46
Default
  #2
New Member
 
Olivier Benichou
Join Date: Sep 2010
Location: Brisbane
Posts: 10
Rep Power: 16
olivier78 is on a distinguished road
same problem here
olivier78 is offline   Reply With Quote

Old   August 14, 2014, 04:49
Default
  #3
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 647
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
It is just needed for the first iteration and will be overwritten afterwards, so just put uniform 0, or maybe a small value.
tomf is offline   Reply With Quote

Reply

Tags
boundary condition, wall boundary condition


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
InterFoam stops after deltaT goes to 1e14 francesco_b OpenFOAM Running, Solving & CFD 9 July 25, 2020 07:36
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
Problem of InterFoam with LES SpalartAllmarasIDDES keepfit OpenFOAM 3 August 29, 2013 12:21
Gravity & pressure handle in interFoam dav.dap83 OpenFOAM Programming & Development 2 May 22, 2013 12:21
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 22:58


All times are GMT -4. The time now is 17:10.