|
|
|
compressibleContinuityErrs.HGo to the documentation of this file.00001 { 00002 # include "rhoEqn.H" 00003 } 00004 { 00005 scalar sumLocalContErr = (sum(mag(rho - psi*p))/sum(rho)).value(); 00006 scalar globalContErr = (sum(rho - psi*p)/sum(rho)).value(); 00007 cumulativeContErr += globalContErr; 00008 00009 Info<< "time step continuity errors : sum local = " << sumLocalContErr 00010 << ", global = " << globalContErr 00011 << ", cumulative = " << cumulativeContErr << endl; 00012 } |