43 tmp<GeometricField<Type, fvPatchField, volMesh>>
53 if (phi.
mesh().moving())
55 return ddtDivPhiPsi -
fvc::div(phi + phi.
mesh().phi())*psi;
tmp< GeometricField< Type, fvPatchField, volMesh > > DDt(const surfaceScalarField &phi, const GeometricField< Type, fvPatchField, volMesh > &psi)
void clear() const
If object pointer points to valid object:
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Generic GeometricField class.
Calculate the substantive (total) derivative.
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Calculate the divergence of the given field.
const Mesh & mesh() const
Return mesh.
const volScalarField & psi
A class for managing temporary objects.