Move continuity error check after block solution

This commit is contained in:
Hrvoje Jasak 2014-05-28 20:35:43 +01:00
parent 9c5699d164
commit 188b9496f2

View file

@ -110,13 +110,13 @@ int main(int argc, char *argv[])
phi = (fvc::interpolate(U) & mesh.Sf()) + pEqn.flux() + presSource; phi = (fvc::interpolate(U) & mesh.Sf()) + pEqn.flux() + presSource;
# include "continuityErrs.H"
p.relax(); p.relax();
turbulence->correct(); turbulence->correct();
runTime.write(); runTime.write();
# include "continuityErrs.H"
Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s" << " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl; << nl << endl;