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.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Reimplemented from ddtScheme< Type >.
Definition at line 230 of file CrankNicholsonDdtScheme.H.
CrankNicholsonDdtScheme | ( | const fvMesh & | mesh ) | [inline]
|
Construct from mesh.
Definition at line 158 of file CrankNicholsonDdtScheme.H.
CrankNicholsonDdtScheme | ( | const fvMesh & | mesh, |
Istream & | is | ||
) | [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.
const fvMesh& mesh | ( | ) | const [inline]
|
Return mesh reference.
Reimplemented from ddtScheme< Type >.
Definition at line 186 of file CrankNicholsonDdtScheme.H.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const dimensioned< Type > & | dt ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 285 of file CrankNicholsonDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, mesh, dimensioned< Type >::name(), fvMesh::time(), Time::timeName(), fvMesh::V(), fvMesh::V0(), and fvMesh::V00().
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const GeometricField< Type, fvPatchField, volMesh > & | vf ) | [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(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::time(), Time::timeName(), fvMesh::V(), fvMesh::V0(), and fvMesh::V00().
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const dimensionedScalar & | rho, |
const GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 436 of file CrankNicholsonDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), dimensioned< Type >::dimensions(), Foam::fv::ff(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, IOobject::name(), dimensioned< Type >::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::time(), Time::timeName(), fvMesh::V(), fvMesh::V0(), fvMesh::V00(), and dimensioned< Type >::value().
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const volScalarField & | rho, |
const GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [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(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::time(), Time::timeName(), fvMesh::V(), fvMesh::V0(), and fvMesh::V00().
tmp< fvMatrix< Type > > fvmDdt | ( | GeometricField< Type, fvPatchField, volMesh > & | vf ) | [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(), fvMatrix< Type >::source(), fvMesh::V(), fvMesh::V0(), and fvMesh::V00().
tmp< fvMatrix< Type > > fvmDdt | ( | const dimensionedScalar & | rho, |
GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 709 of file CrankNicholsonDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), dimensioned< Type >::dimensions(), Foam::dimTime, Foam::dimVol, Foam::fv::ff(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, IOobject::name(), dimensioned< Type >::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMatrix< Type >::source(), fvMesh::V(), fvMesh::V0(), fvMesh::V00(), and dimensioned< Type >::value().
tmp< fvMatrix< Type > > fvmDdt | ( | const volScalarField & | rho, |
GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [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(), fvMatrix< Type >::source(), fvMesh::V(), fvMesh::V0(), and fvMesh::V00().
tmp< typename CrankNicholsonDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const GeometricField< Type, fvPatchField, volMesh > & | U, | ||
const fluxFieldType & | phi | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 882 of file CrankNicholsonDdtScheme.C.
References DimensionedField< Type, GeoMesh >::dimensions(), Foam::fvc::interpolate(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::Sf(), fvMesh::time(), and Time::timeName().
tmp< typename CrankNicholsonDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const volScalarField & | rho, | ||
const GeometricField< Type, fvPatchField, volMesh > & | U, | ||
const fluxFieldType & | phi | ||
) | [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::fvc::interpolate(), Foam::interpolate(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::Sf(), fvMesh::time(), and Time::timeName().
tmp< surfaceScalarField > meshPhi | ( | const GeometricField< Type, fvPatchField, volMesh > & | vf ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 1177 of file CrankNicholsonDdtScheme.C.
References Foam::dimVolume, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), and fvMesh::phi().
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 | ||
) |