modules::shockFluid: Clear temporary fluxed if NCC interfaces are updated

Resolves bug-report https://bugs.openfoam.org/view.php?id=4020
This commit is contained in:
Henry Weller
2023-10-05 12:37:41 +01:00
parent 8b2e6b9758
commit 084bd015f1

View File

@ -24,6 +24,7 @@ License
\*---------------------------------------------------------------------------*/
#include "shockFluid.H"
#include "fvMeshStitcher.H"
#include "localEulerDdtScheme.H"
#include "hydrostaticInitialisation.H"
#include "fvcMeshPhi.H"
@ -255,7 +256,7 @@ void Foam::solvers::shockFluid::preSolve()
fvModels().preUpdateMesh();
if (mesh.topoChanging())
if (mesh.topoChanging() || mesh.stitcher().stitches())
{
pos.clear();
neg.clear();