pressureControl: Added p.correctBoundaryConditions() after the pressure limiting

to ensure boundary consistency.
This commit is contained in:
Henry Weller
2019-02-18 12:26:52 +00:00
parent e9f3811218
commit d2bddb8cca
8 changed files with 19 additions and 24 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2017-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -258,6 +258,8 @@ bool Foam::pressureControl::limit(volScalarField& p) const
}
}
p.correctBoundaryConditions();
return true;
}
else