Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / compressible / rhoSonicFoam / compressibleContinuityErrs.H
blob128d99c94611b88f8c01b3bb683dedcf0f237dc1
2 #   include "rhoEqn.H"
5     scalar sumLocalContErr = (sum(mag(rho - psi*p))/sum(rho)).value();
6     scalar globalContErr = (sum(rho - psi*p)/sum(rho)).value();
7     cumulativeContErr += globalContErr;
9     Info<< "time step continuity errors : sum local = " << sumLocalContErr
10          << ", global = " << globalContErr
11          << ", cumulative = " << cumulativeContErr << endl;