mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: omegaWallFunction: add missing corner weight (fixes #3003)
This commit is contained in:
committed by
Andrew Heather
parent
a737240e13
commit
64aee19823
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2016, 2019 OpenFOAM Foundation
|
Copyright (C) 2011-2016, 2019 OpenFOAM Foundation
|
||||||
Copyright (C) 2017-2022 OpenCFD Ltd.
|
Copyright (C) 2017-2023 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -249,7 +249,7 @@ void Foam::omegaWallFunctionFvPatchScalarField::calculate
|
|||||||
case blenderType::MAX:
|
case blenderType::MAX:
|
||||||
{
|
{
|
||||||
// (PH:Eq. 27)
|
// (PH:Eq. 27)
|
||||||
omega0[celli] += max(omegaVis, omegaLog);
|
omega0[celli] += w*max(omegaVis, omegaLog);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user