diff --git a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/bubbleInterTrackFoam.C b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/bubbleInterTrackFoam.C index 88ef19848..e47aac371 100644 --- a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/bubbleInterTrackFoam.C +++ b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/bubbleInterTrackFoam.C @@ -37,7 +37,7 @@ Description #include "inletOutletFvPatchFields.H" #include "fixedGradientFvPatchFields.H" #include "boundBox.H" - +#include "pimpleControl.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -46,6 +46,9 @@ int main(int argc, char *argv[]) # include "setRootCase.H" # include "createTime.H" # include "createDynamicFvMesh.H" + + pimpleControl pimple(mesh); + # include "createFields.H" # include "initContinuityErrs.H" # include "createBubble.H" @@ -59,8 +62,6 @@ int main(int argc, char *argv[]) { Info << "Time = " << runTime.value() << endl << endl; -# include "readPISOControls.H" - interface.moveMeshPointsForOldFreeSurfDisplacement(); interface.updateDisplacementDirections(); @@ -70,7 +71,7 @@ int main(int argc, char *argv[]) Info<< "\nMax surface Courant Number = " << interface.maxCourantNumber() << endl << endl; - for (int corr=0; corr(pNeedRef, andOp()); // Find reference cell if (pNeedRef) { - point refPointi(mesh.solutionDict().subDict("PISO").lookup("pRefPoint")); + point refPointi(mesh.solutionDict().subDict("PIMPLE").lookup("pRefPoint")); label refCelli = mesh.findCell(refPointi); label hasRef = (refCelli >= 0 ? 1 : 0); label sumHasRef = returnReduce