mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Updated accumulations in wall functions
This commit is contained in:
@ -237,9 +237,9 @@ void epsilonWallFunctionFvPatchScalarField::calculate
|
||||
|
||||
scalar w = cornerWeights[faceI];
|
||||
|
||||
epsilon[cellI] = w*Cmu75*pow(k[cellI], 1.5)/(kappa_*y[faceI]);
|
||||
epsilon[cellI] += w*Cmu75*pow(k[cellI], 1.5)/(kappa_*y[faceI]);
|
||||
|
||||
G[cellI] =
|
||||
G[cellI] +=
|
||||
w
|
||||
*(mutw[faceI] + muw[faceI])
|
||||
*magGradUw[faceI]
|
||||
|
||||
@ -244,9 +244,9 @@ void omegaWallFunctionFvPatchScalarField::calculate
|
||||
|
||||
scalar omegaLog = sqrt(k[cellI])/(Cmu25*kappa_*y[faceI]);
|
||||
|
||||
omega[cellI] = w*sqrt(sqr(omegaVis) + sqr(omegaLog));
|
||||
omega[cellI] += w*sqrt(sqr(omegaVis) + sqr(omegaLog));
|
||||
|
||||
G[cellI] =
|
||||
G[cellI] +=
|
||||
w
|
||||
*(mutw[faceI] + muw[faceI])
|
||||
*magGradUw[faceI]
|
||||
|
||||
@ -242,9 +242,9 @@ void omegaWallFunctionFvPatchScalarField::calculate
|
||||
|
||||
scalar omegaLog = sqrt(k[cellI])/(Cmu25*kappa_*y[faceI]);
|
||||
|
||||
omega[cellI] = w*sqrt(sqr(omegaVis) + sqr(omegaLog));
|
||||
omega[cellI] += w*sqrt(sqr(omegaVis) + sqr(omegaLog));
|
||||
|
||||
G[cellI] =
|
||||
G[cellI] +=
|
||||
w
|
||||
*(nutw[faceI] + nuw[faceI])
|
||||
*magGradUw[faceI]
|
||||
|
||||
Reference in New Issue
Block a user