35 scalar sumLocalContErr =
runTime.deltaTValue()*
36 mag(contErr)().weightedAverage(
mesh.V()).value();
38 scalar globalContErr =
runTime.deltaTValue()*
39 contErr.weightedAverage(
mesh.V()).value();
42 Info<<
"time step continuity errors : sum local = " << sumLocalContErr
43 <<
", global = " << globalContErr
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
volScalarField::Internal contErr((fvc::ddt(rho)+fvc::div(rhoPhi) -(fvOptions(alpha1, mixture.thermo1().rho())&rho1) -(fvOptions(alpha2, mixture.thermo2().rho())&rho2))())
surfaceScalarField phic(mixture.cAlpha() *mag(phi/mesh.magSf()))
dimensioned< scalar > mag(const dimensioned< Type > &)