00001 { 00002 # include <finiteVolume/rhoEqn.H> 00003 } 00004 { 00005 scalar sumLocalContErr = 00006 (sum(mag(rho - rho0 - psi*(p - p0)))/sum(rho)).value(); 00007 00008 scalar globalContErr = (sum(rho - rho0 - psi*(p - p0))/sum(rho)).value(); 00009 00010 cumulativeContErr += globalContErr; 00011 00012 Info<< "time step continuity errors : sum local = " << sumLocalContErr 00013 << ", global = " << globalContErr 00014 << ", cumulative = " << cumulativeContErr << endl; 00015 } 00016 00017 // ************************ vim: set sw=4 sts=4 et: ************************ //