From 188b9496f2e81401dac85d420a6d7d288cc95393 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 28 May 2014 20:35:43 +0100 Subject: [PATCH] Move continuity error check after block solution --- applications/solvers/coupled/pUCoupledFoam/pUCoupledFoam.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/solvers/coupled/pUCoupledFoam/pUCoupledFoam.C b/applications/solvers/coupled/pUCoupledFoam/pUCoupledFoam.C index 8aaef8d7a..d4b673646 100644 --- a/applications/solvers/coupled/pUCoupledFoam/pUCoupledFoam.C +++ b/applications/solvers/coupled/pUCoupledFoam/pUCoupledFoam.C @@ -110,13 +110,13 @@ int main(int argc, char *argv[]) phi = (fvc::interpolate(U) & mesh.Sf()) + pEqn.flux() + presSource; +# include "continuityErrs.H" + p.relax(); turbulence->correct(); runTime.write(); -# include "continuityErrs.H" - Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" << " ClockTime = " << runTime.elapsedClockTime() << " s" << nl << endl;