Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
b476b56a
Commit
b476b56a
authored
Dec 19, 2018
by
mattijs
Browse files
BUG: meanVelictyForce: missing correctBoundaryConditions
parent
4910dbc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.C
View file @
b476b56a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment