CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   nutWallFunction vs. nutkWallFunction (http://www.cfd-online.com/Forums/openfoam-solving/84863-nutwallfunction-vs-nutkwallfunction.html)

romant February 10, 2011 09:26

nutWallFunction vs. nutkWallFunction
 
Hej,

I have been looking into the nut wall function behavior and found that there are two different nut wall function boundary conditions, one called

Code:

nutWallFunction
and the other one
Code:

nutkWallFunction
for some reason there is almost no difference, just that in the function

Code:

void nutkWallFunctionFvPatchScalarField::updateCoeffs()
{
    if (updated())
    {
        return;
    }

    operator==(calcNut());

    fixedValueFvPatchScalarField::updateCoeffs();
}

the if(updated()) is added to the nutkWallFunction but not to the nutWallFunction. Does anyone know why there is a difference and what it does?

giuli@ October 21, 2011 10:12

I don't know the difference; however, I'm running openfoam 2.0.1 and there is no nutWallFunction available, only nutkWallFunction

Gunnern March 6, 2016 14:47

I am also wondering about the difference between the nutWallFunction and the nutkWallFunction. Does anyone have an idea?

akidess March 7, 2016 08:45

nutWallFunction is a virtual base class.


All times are GMT -4. The time now is 23:19.