From f145691299c5fe50106e1311d9d9a74f8d98ef6e Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 26 Sep 2018 17:26:09 +0100 Subject: [PATCH] Update for parallel dynamic mesh --- .../immersedBoundary/pimpleDyMIbFoam/pimpleDyMIbFoam.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applications/solvers/immersedBoundary/pimpleDyMIbFoam/pimpleDyMIbFoam.C b/applications/solvers/immersedBoundary/pimpleDyMIbFoam/pimpleDyMIbFoam.C index 3b614ddb3..a1a4464d0 100644 --- a/applications/solvers/immersedBoundary/pimpleDyMIbFoam/pimpleDyMIbFoam.C +++ b/applications/solvers/immersedBoundary/pimpleDyMIbFoam/pimpleDyMIbFoam.C @@ -75,11 +75,15 @@ int main(int argc, char *argv[]) # include "CourantNo.H" # include "setDeltaT.H" + // Make the fluxes absolute + fvc::makeAbsolute(phi, U); + runTime++; Info<< "Time = " << runTime.timeName() << nl << endl; bool meshChanged = mesh.update(); + reduce(meshChanged, orOp()); # include "updateIbPatchFields.H" # include "updateIbMasks.H"