BUG: meanVelictyForce: missing correctBoundaryConditions. Fixes #1136.

This commit is contained in:
mattijs
2018-12-20 09:23:10 +00:00
parent c03c6bdea2
commit e22606756b
2 changed files with 10 additions and 2 deletions

View File

@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -139,6 +139,10 @@ void Foam::fv::limitTemperature::correct(volScalarField& he)
}
}
}
// We've changed internal values so give boundary conditions opportunity
// to correct.
he.correctBoundaryConditions();
}

View File

@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -117,6 +117,10 @@ void Foam::fv::limitVelocity::correct(volVectorField& U)
}
}
}
// We've changed internal values so give boundary conditions opportunity
// to correct.
U.correctBoundaryConditions();
}