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... | |
Static Public Attributes inherited from ddtSchemeBase | |
static bool | experimentalDdtCorr |
Flag to use experimental ddtCorr from org version Default is off for backwards compatibility. More... | |
Protected Member Functions inherited from ddtScheme< Type > | |
ddtScheme (const ddtScheme &)=delete | |
No copy construct. More... | |
void | operator= (const ddtScheme &)=delete |
No copy assignment. More... | |
Protected Attributes inherited from ddtScheme< Type > | |
const fvMesh & | mesh_ |
scalar | ddtPhiCoeff_ |
Input for fvcDdtPhiCoeff. More... | |
Second-order backward-differencing ddt using the current and two previous time-step values.
Definition at line 57 of file backwardDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Definition at line 194 of file backwardDdtScheme.H.
|
inline |
Construct from mesh.
Definition at line 105 of file backwardDdtScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 113 of file backwardDdtScheme.H.
References ddtScheme< Type >::ddtPhiCoeff_, IOstream::eof(), IOstream::good(), backwardDdtScheme< Type >::mesh(), polyMesh::moving(), and fvMesh::V00().
TypeName | ( | "backward" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Definition at line 136 of file backwardDdtScheme.H.
References ddtScheme< Type >::mesh().
Referenced by backwardDdtScheme< Type >::backwardDdtScheme().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 73 of file backwardDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, mesh, dimensioned< Type >::name(), Foam::New(), tmp< T >::ref(), dimensioned< Type >::value(), and Foam::Zero.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 126 of file backwardDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 197 of file backwardDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), rho, and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 269 of file backwardDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), rho, and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 344 of file backwardDdtScheme.C.
References Foam::constant::atomic::alpha, GeometricField< Type, PatchField, GeoMesh >::boundaryField(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), mesh, dimensioned< Type >::name(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), rho, and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 438 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().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 489 of file backwardDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 540 of file backwardDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 594 of file backwardDdtScheme.C.
References Foam::constant::atomic::alpha, lduMatrix::diag(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 660 of file backwardDdtScheme.C.
References Foam::fvc::interpolate(), mesh, U, and Uf.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 704 of file backwardDdtScheme.C.
References Foam::fvc::dotInterpolate(), mesh, phi, and U.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 746 of file backwardDdtScheme.C.
References Foam::abort(), Foam::dimVelocity, Foam::FatalError, FatalErrorInFunction, Foam::fvc::interpolate(), mesh, rho, U, and Uf.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 857 of file backwardDdtScheme.C.
References Foam::abort(), Foam::dimArea, Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, mesh, phi, rho, and U.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 955 of file backwardDdtScheme.C.
References mesh, Foam::name(), IOobjectOption::NO_READ, IOobjectOption::NO_WRITE, oldTime, phi, and timeName.
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 | ||
) |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.