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 }
scalar globalContErr
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:256
dimensioned< Type > domainIntegrate(const GeometricField< Type, fvPatchField, volMesh > &vf)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
alphal
Definition: alphavPsi.H:12
dimensionedScalar totalMass
Definition: continuityErrs.H:4
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
messageStream Info
dimensioned< scalar > mag(const dimensioned< Type > &)
const volScalarField & psi
volScalarField & p
cumulativeContErr