Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / compressible / sonicLiquidFoam / compressibleContinuityErrs.H
blobb7a816fe4e6fee4e560ae25193f4582640d1bfd6
2 #   include "rhoEqn.H"
5     scalar sumLocalContErr =
6         (sum(mag(rho - rho0 - psi*(p - p0)))/sum(rho)).value();
8     scalar globalContErr = (sum(rho - rho0 - psi*(p - p0))/sum(rho)).value();
10     cumulativeContErr += globalContErr;
12     Info<< "time step continuity errors : sum local = " << sumLocalContErr
13          << ", global = " << globalContErr
14          << ", cumulative = " << cumulativeContErr << endl;