BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / applications / solvers / multiphase / settlingFoam / compressibleContinuityErrs.H
blob96e37e95fbc2da795abaf6dfea89d856ae3e9267
1     scalar sumLocalContErr =
2         runTime.deltaTValue()*
3         mag
4         (
5             fvc::ddt(rho)
6           + fvc::div(phi)
7         )().weightedAverage(rho*mesh.V()).value();
9     scalar globalContErr =
10           runTime.deltaTValue()*
11           (
12               fvc::ddt(rho)
13             + fvc::div(phi)
14           )().weightedAverage(rho*mesh.V()).value();
16     cumulativeContErr += globalContErr;
18     Info<< "time step continuity errors : sum local = " << sumLocalContErr
19         << ", global = " << globalContErr
20         << ", cumulative = " << cumulativeContErr
21         << endl;