mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: meanVelictyForce: missing correctBoundaryConditions
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
\\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -178,6 +178,8 @@ void Foam::fv::meanVelocityForce::correct(volVectorField& U)
|
||||
U[celli] += flowDir_*rAU[celli]*dGradP_;
|
||||
}
|
||||
|
||||
U.correctBoundaryConditions();
|
||||
|
||||
scalar gradP = gradP0_ + dGradP_;
|
||||
|
||||
Info<< "Pressure gradient source: uncorrected Ubar = " << magUbarAve
|
||||
|
||||
Reference in New Issue
Block a user