Second-order backward-differencing ddt using the current and two previous time-step values. More...
Public Types | |
typedef ddtScheme< Type >::fluxFieldType | fluxFieldType |
Public Types inherited from ddtScheme< Type > | |
typedef GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > | fluxFieldType |
Additional Inherited Members | |
Static Public Member Functions inherited from ddtScheme< Type > | |
static tmp< ddtScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return a pointer to a new ddtScheme created on freestore. More... | |
Protected Member Functions inherited from refCount | |
refCount () | |
Construct null initialising count to 0. More... | |
Protected Attributes inherited from ddtScheme< Type > | |
const fvMesh & | mesh_ |
Second-order backward-differencing ddt using the current and two previous time-step values.
Definition at line 55 of file backwardDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Definition at line 172 of file backwardDdtScheme.H.
|
inline |
Construct from mesh.
Definition at line 82 of file backwardDdtScheme.H.
References polyMesh::moving(), and fvMesh::V00().
Referenced by backwardDdtScheme< Type >::backwardDdtScheme().
|
inline |
Construct from mesh and Istream.
Definition at line 95 of file backwardDdtScheme.H.
References backwardDdtScheme< Type >::backwardDdtScheme(), polyMesh::moving(), and fvMesh::V00().
|
delete |
Disallow default bitwise copy construction.
TypeName | ( | "backward" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Definition at line 114 of file backwardDdtScheme.H.
References alpha(), backwardDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvmDdt(), ddtScheme< Type >::mesh(), psi, and rho.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 77 of file backwardDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, mesh, dimensioned< Type >::name(), GeometricField< Type, PatchField, GeoMesh >::New(), tmp< T >::ref(), dimensioned< Type >::value(), and Foam::Zero.
Referenced by backwardDdtScheme< Type >::fvcDdt(), and backwardDdtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 140 of file backwardDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), backwardDdtScheme< Type >::fvcDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 204 of file backwardDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), backwardDdtScheme< Type >::fvcDdt(), mesh, dimensioned< Type >::name(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 269 of file backwardDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), backwardDdtScheme< Type >::fvcDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), rho, and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 337 of file backwardDdtScheme.C.
References alpha(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), backwardDdtScheme< Type >::fvmDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), rho, and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 417 of file backwardDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), and fvMatrix< Type >::source().
Referenced by backwardDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvmDdt(), and backwardDdtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 468 of file backwardDdtScheme.C.
References lduMatrix::diag(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, backwardDdtScheme< Type >::fvmDdt(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), fvMatrix< Type >::source(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 519 of file backwardDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, backwardDdtScheme< Type >::fvmDdt(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), tmp< T >::ref(), and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 573 of file backwardDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, backwardDdtScheme< Type >::fvcDdtUfCorr(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), tmp< T >::ref(), and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 639 of file backwardDdtScheme.C.
References backwardDdtScheme< Type >::fvcDdtPhiCorr(), Foam::fvc::interpolate(), mesh, IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
Referenced by backwardDdtScheme< Type >::fvcDdtPhiCorr(), and backwardDdtScheme< Type >::fvmDdt().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 675 of file backwardDdtScheme.C.
References Foam::fvc::dotInterpolate(), backwardDdtScheme< Type >::fvcDdtUfCorr(), mesh, IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
Referenced by backwardDdtScheme< Type >::fvcDdtUfCorr().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 709 of file backwardDdtScheme.C.
References Foam::abort(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimVelocity, Foam::FatalError, FatalErrorInFunction, backwardDdtScheme< Type >::fvcDdtPhiCorr(), Foam::fvc::interpolate(), mesh, IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 802 of file backwardDdtScheme.C.
References Foam::abort(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimFlux, Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, mesh, backwardDdtScheme< Type >::meshPhi(), IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 882 of file backwardDdtScheme.C.
References mesh, Foam::name(), GeometricField< scalar, fvsPatchField, surfaceMesh >::New(), oldTime(), and phi.
Referenced by backwardDdtScheme< Type >::fvcDdtPhiCorr().
|
delete |
Disallow default bitwise assignment.
tmp< surfaceScalarField > fvcDdtUfCorr | ( | const GeometricField< scalar, fvPatchField, volMesh > & | U, |
const GeometricField< scalar, fvsPatchField, surfaceMesh > & | Uf | ||
) |
tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | U, |
const surfaceScalarField & | phi | ||
) |
tmp< surfaceScalarField > fvcDdtUfCorr | ( | const volScalarField & | rho, |
const volScalarField & | U, | ||
const surfaceScalarField & | Uf | ||
) |
tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | rho, |
const volScalarField & | U, | ||
const surfaceScalarField & | phi | ||
) |