mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Wall-functions: Corrected conversion of muw->nuw
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -92,7 +92,7 @@ void epsilonLowReWallFunctionFvPatchScalarField::calculate
|
|||||||
{
|
{
|
||||||
label cellI = patch.faceCells()[faceI];
|
label cellI = patch.faceCells()[faceI];
|
||||||
|
|
||||||
scalar yPlus = Cmu25*sqrt(k[cellI])*y[faceI]/muw[faceI]/rhow[faceI];
|
scalar yPlus = Cmu25*sqrt(k[cellI])*y[faceI]/(muw[faceI]/rhow[faceI]);
|
||||||
|
|
||||||
scalar w = cornerWeights[faceI];
|
scalar w = cornerWeights[faceI];
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -198,7 +198,7 @@ void fWallFunctionFvPatchScalarField::updateCoeffs()
|
|||||||
|
|
||||||
scalar uTau = Cmu25*sqrt(k[faceCellI]);
|
scalar uTau = Cmu25*sqrt(k[faceCellI]);
|
||||||
|
|
||||||
scalar yPlus = uTau*y[faceI]/muw[faceI]/rhow[faceI];
|
scalar yPlus = uTau*y[faceI]/(muw[faceI]/rhow[faceI]);
|
||||||
|
|
||||||
if (yPlus > yPlusLam_)
|
if (yPlus > yPlusLam_)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -195,7 +195,7 @@ void kLowReWallFunctionFvPatchScalarField::updateCoeffs()
|
|||||||
|
|
||||||
scalar uTau = Cmu25*sqrt(k[faceCellI]);
|
scalar uTau = Cmu25*sqrt(k[faceCellI]);
|
||||||
|
|
||||||
scalar yPlus = uTau*y[faceI]/muw[faceI]/rhow[faceI];
|
scalar yPlus = uTau*y[faceI]/(muw[faceI]/rhow[faceI]);
|
||||||
|
|
||||||
if (yPlus > yPlusLam_)
|
if (yPlus > yPlusLam_)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -190,7 +190,7 @@ void v2WallFunctionFvPatchScalarField::updateCoeffs()
|
|||||||
|
|
||||||
scalar uTau = Cmu25*sqrt(k[faceCellI]);
|
scalar uTau = Cmu25*sqrt(k[faceCellI]);
|
||||||
|
|
||||||
scalar yPlus = uTau*y[faceI]/muw[faceI]/rhow[faceI];
|
scalar yPlus = uTau*y[faceI]/(muw[faceI]/rhow[faceI]);
|
||||||
|
|
||||||
if (yPlus > yPlusLam_)
|
if (yPlus > yPlusLam_)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user