Stabilised local time-step first-order Euler implicit/explicit ddt. The time-step is adjusted locally so that an advective equations remains diagonally dominant. More...
#include <finiteVolume/SLTSDdtScheme.H>
Stabilised local time-step first-order Euler implicit/explicit ddt. The time-step is adjusted locally so that an advective equations remains diagonally dominant.
This scheme should only be used for steady-state computations using transient codes where local time-stepping is preferably to under-relaxation for transport consistency reasons.
See also CoEulerDdtScheme.
Definition at line 63 of file SLTSDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Reimplemented from ddtScheme< Type >.
Definition at line 160 of file SLTSDdtScheme.H.
SLTSDdtScheme | ( | const fvMesh & | mesh, |
Istream & | is | ||
) | [inline]
|
Construct from mesh and Istream.
Definition at line 104 of file SLTSDdtScheme.H.
TypeName | ( | "SLTS" | ) |
Runtime type information.
const fvMesh& mesh | ( | ) | const [inline]
|
Return mesh reference.
Reimplemented from ddtScheme< Type >.
Definition at line 116 of file SLTSDdtScheme.H.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const dimensioned< Type > & | dt ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 153 of file SLTSDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, polyMesh::moving(), dimensioned< Type >::name(), fvMesh::time(), Time::timeName(), fvMesh::V(), fvMesh::V0(), and dimensioned< Type >::value().
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const GeometricField< Type, fvPatchField, volMesh > & | vf ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 212 of file SLTSDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, polyMesh::moving(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::time(), Time::timeName(), fvMesh::V(), and fvMesh::V0().
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const dimensionedScalar & | rho, |
const GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 263 of file SLTSDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, polyMesh::moving(), IOobject::name(), dimensioned< Type >::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::time(), Time::timeName(), fvMesh::V(), fvMesh::V0(), 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 315 of file SLTSDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, polyMesh::moving(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::time(), Time::timeName(), fvMesh::V(), and fvMesh::V0().
tmp< fvMatrix< Type > > fvmDdt | ( | GeometricField< Type, fvPatchField, volMesh > & | vf ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 370 of file SLTSDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, Foam::endl(), Foam::Info, GeometricField< Type, PatchField, GeoMesh >::internalField(), Foam::max(), mesh, Foam::min(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMatrix< Type >::source(), fvMesh::V(), and fvMesh::V0().
tmp< fvMatrix< Type > > fvmDdt | ( | const dimensionedScalar & | rho, |
GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 407 of file SLTSDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), dimensioned< Type >::dimensions(), Foam::dimTime, Foam::dimVol, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMatrix< Type >::source(), fvMesh::V(), fvMesh::V0(), and dimensioned< Type >::value().
tmp< fvMatrix< Type > > fvmDdt | ( | const volScalarField & | rho, |
GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 444 of file SLTSDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMatrix< Type >::source(), fvMesh::V(), and fvMesh::V0().
tmp< typename SLTSDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const GeometricField< Type, fvPatchField, volMesh > & | U, | ||
const fluxFieldType & | phi | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 483 of file SLTSDdtScheme.C.
References DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::interpolate(), Foam::fvc::interpolate(), mesh, polyMesh::moving(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::Sf(), fvMesh::time(), and Time::timeName().
tmp< typename SLTSDdtScheme< 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 536 of file SLTSDdtScheme.C.
References Foam::abort(), Foam::dimArea, Foam::dimDensity, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVelocity, Foam::FatalError, FatalErrorIn, Foam::interpolate(), Foam::fvc::interpolate(), mesh, polyMesh::moving(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::Sf(), fvMesh::time(), and Time::timeName().
tmp< surfaceScalarField > meshPhi | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 663 of file SLTSDdtScheme.C.
References Foam::dimTime, Foam::dimVolume, mesh, and timeName.
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 | ||
) |