Update for parallel dynamic mesh

This commit is contained in:
Hrvoje Jasak 2018-09-26 17:26:09 +01:00
parent c3251bc400
commit f145691299

View file

@ -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<bool>());
# include "updateIbPatchFields.H"
# include "updateIbMasks.H"