continuityErrs.H
Go to the documentation of this file.
1 {
2  volScalarField thermoRho = psi*p + alphal*rhol0;
3 
5 
6  scalar sumLocalContErr =
7  (
9  ).value();
10 
11  scalar globalContErr =
12  (
14  ).value();
15 
17 
18  Info<< "time step continuity errors : sum local = " << sumLocalContErr
19  << ", global = " << globalContErr
20  << ", cumulative = " << cumulativeContErr
21  << endl;
22 }
dimensionedScalar totalMass
Definition: continuityErrs.H:4
dimensioned< scalar > mag(const dimensioned< Type > &)
messageStream Info
scalar globalContErr
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
alphal
Definition: alphavPsi.H:12
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
volScalarField & p
Definition: createFields.H:51
cumulativeContErr
const volScalarField & psi
Definition: createFields.H:24
dimensioned< Type > domainIntegrate(const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.