Second-oder CrankNicholson implicit ddt using the current and previous time-step fields as well as the previous time-step ddt. More...
#include <finiteVolume/CrankNicholsonDdtScheme.H>
Second-oder CrankNicholson implicit ddt using the current and previous time-step fields as well as the previous time-step ddt.
Definition at line 56 of file CrankNicholsonDdtScheme.H.
Classes | |
class | DDt0Field |
Class to store the ddt0 fields on the objectRegistry for use in the. |
Public Types | |
typedef ddtScheme< Type > ::fluxFieldType | fluxFieldType |
![]() |
Additional Inherited Members | |
![]() | |
static tmp< ddtScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return a pointer to a new ddtScheme created on freestore. | |
![]() | |
ddtScheme (const ddtScheme &) | |
Disallow copy construct. | |
void | operator= (const ddtScheme &) |
Disallow default bitwise assignment. | |
![]() | |
const fvMesh & | mesh_ |
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Reimplemented from ddtScheme< Type >.
Definition at line 230 of file CrankNicholsonDdtScheme.H.
|
inline |
Construct from mesh.
Definition at line 158 of file CrankNicholsonDdtScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 165 of file CrankNicholsonDdtScheme.H.
References Foam::exit(), Foam::FatalIOError, and FatalIOErrorIn.
TypeName | ( | "CrankNicholson" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Reimplemented from ddtScheme< Type >.
Definition at line 186 of file CrankNicholsonDdtScheme.H.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 285 of file CrankNicholsonDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, mesh, and dimensioned< Type >::name().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 347 of file CrankNicholsonDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::fv::ff(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 436 of file CrankNicholsonDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::fv::ff(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, dimensioned< Type >::name(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 526 of file CrankNicholsonDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::fv::ff(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 626 of file CrankNicholsonDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, Foam::fv::ff(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 709 of file CrankNicholsonDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), lduMatrix::diag(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, Foam::fv::ff(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, dimensioned< Type >::name(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMatrix< Type >::source(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 791 of file CrankNicholsonDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, Foam::fv::ff(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 882 of file CrankNicholsonDdtScheme.C.
References DimensionedField< Type, GeoMesh >::dimensions(), Foam::fvc::interpolate(), mesh, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 969 of file CrankNicholsonDdtScheme.C.
References Foam::abort(), Foam::dimArea, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVelocity, Foam::FatalError, FatalErrorIn, Foam::interpolate(), Foam::fvc::interpolate(), mesh, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 1172 of file CrankNicholsonDdtScheme.C.
References Foam::dimVolume, and mesh.
tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const volScalarField & | U, | ||
const surfaceScalarField & | phi | ||
) |
tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const volScalarField & | rho, | ||
const volScalarField & | U, | ||
const surfaceScalarField & | phi | ||
) |