contErr.H
Go to the documentation of this file.
1 volScalarField::Internal contErr
2 (
3  (fvc::ddt(rho) + fvc::div(mixture.rhoPhi()))()
4 );
5 
7 (
8  PtrDictionary<phaseModel>,
9  mixture.phases(),
10  phase
11 )
12 {
13  const volScalarField& rho = phase().thermo().rho()();
14  contErr -= (fvModels.source(phase(), rho)&rho);
15 }
volScalarField::Internal contErr((fvc::ddt(rho)+fvc::div(mixture.rhoPhi()))())
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:58
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
Definition: contErr.H:7
Foam::fvModels & fvModels