CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

interFoam ask for a value in a nutkRoughWallFunction

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2013, 08:01
Default interFoam ask for a value in a nutkRoughWallFunction
New Member
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):
object      nut;


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

 Example of the boundary condition specification:
        type            nutkRoughWallFunction;
        Ks              uniform 0;
        Cs              uniform 0.5;
When running interFoam it shows the following error message:
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, 08:46
New Member
Olivier Benichou
Join Date: Sep 2010
Location: Brisbane
Posts: 10
Rep Power: 15
olivier78 is on a distinguished road
same problem here
olivier78 is offline   Reply With Quote

Old   August 14, 2014, 03:49
Senior Member
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 638
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


boundary condition, wall boundary condition

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

All times are GMT -4. The time now is 22:01.