CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   nutkRoughWallFunction, going nuts (https://www.cfd-online.com/Forums/openfoam-solving/114764-nutkroughwallfunction-going-nuts.html)

JR22 March 17, 2013 09:10

nutkRoughWallFunction, going nuts
 
Hi Foamers,

I am trying to implement nutkRoughWallFunction in OpenFoam 2.1.1 (formerly also apparently known as nutRoughWallFunction). This is how I am using it to define my wall at the bottom of my model:

Code:

        ffminz
        {
            type nutkRoughWallFunction;
            Ks        0.2;
            Cs        0.5;
            value uniform 0.0;
        }

This is what OpenFOAM-2.1.1 is telling me about my wall function parameters:

Quote:

Reading "/home/admin1/run/wingNut/processor0/0/nut::boundaryField::ffminz" from line 43 to line 46
expected keyword 'uniform' or 'nonuniform', assuming deprecated Field format from Foam version 2.0.
It still works, but it seems OF doesn't like it. What is the correct syntax in >OF2.1 ?

Thanks

JR22 March 19, 2013 06:46

For anybody interested, the correct syntax (at least post 2.0) is the following:

Code:

        ffminz
        {
            type nutkRoughWallFunction;
            Ks        uniform 0.2; //Ks = 20Z0 to 30Z0
            Cs        uniform 0.5;
            value uniform 0.0;
        }


olivier78 August 13, 2014 08:58

Thanks, that solution works in openfoam 2.3


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