35 scalar sumLocalContErr =
runTime.deltaTValue()*
36 mag(contErr)().weightedAverage(
mesh.V()).value();
38 scalar globalContErr =
runTime.deltaTValue()*
39 contErr.weightedAverage(
mesh.V()).value();
43 Info<<
"time step continuity errors : sum local = " << sumLocalContErr
44 <<
", global = " << globalContErr
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< surfaceScalarField > meshPhi(const volVectorField &U)
dimensioned< scalar > mag(const dimensioned< Type > &)