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...
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_ |
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.
Definition at line 63 of file SLTSDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Definition at line 171 of file SLTSDdtScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 98 of file SLTSDdtScheme.H.
|
delete |
Disallow default bitwise copy construction.
TypeName | ( | "SLTS" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Definition at line 113 of file SLTSDdtScheme.H.
References alpha(), SLTSDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvmDdt(), ddtScheme< Type >::mesh(), psi, and rho.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 151 of file SLTSDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, mesh, dimensioned< Type >::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), tmp< T >::ref(), dimensioned< Type >::value(), and Foam::Zero.
Referenced by SLTSDdtScheme< Type >::fvcDdt(), and SLTSDdtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 205 of file SLTSDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), SLTSDdtScheme< Type >::fvcDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 245 of file SLTSDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), SLTSDdtScheme< 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 286 of file SLTSDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), SLTSDdtScheme< Type >::fvcDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and rho.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 333 of file SLTSDdtScheme.C.
References alpha(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), SLTSDdtScheme< Type >::fvmDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and rho.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 389 of file SLTSDdtScheme.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 SLTSDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvmDdt(), and SLTSDdtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 424 of file SLTSDdtScheme.C.
References lduMatrix::diag(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, SLTSDdtScheme< 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 461 of file SLTSDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, SLTSDdtScheme< 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 500 of file SLTSDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, SLTSDdtScheme< 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 543 of file SLTSDdtScheme.C.
References Foam::fvc::dotInterpolate(), SLTSDdtScheme< Type >::fvcDdtPhiCorr(), Foam::fvc::interpolate(), mesh, IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
Referenced by SLTSDdtScheme< Type >::fvcDdtPhiCorr(), and SLTSDdtScheme< Type >::fvmDdt().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 568 of file SLTSDdtScheme.C.
References Foam::fvc::dotInterpolate(), SLTSDdtScheme< Type >::fvcDdtUfCorr(), Foam::fvc::interpolate(), mesh, IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
Referenced by SLTSDdtScheme< Type >::fvcDdtUfCorr().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 592 of file SLTSDdtScheme.C.
References Foam::abort(), Foam::dimDensity, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, SLTSDdtScheme< Type >::fvcDdtPhiCorr(), Foam::fvc::interpolate(), mesh, IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 659 of file SLTSDdtScheme.C.
References Foam::abort(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimFlux, Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, mesh, SLTSDdtScheme< Type >::meshPhi(), IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 731 of file SLTSDdtScheme.C.
References Foam::dimTime, Foam::dimVolume, mesh, and GeometricField< scalar, fvsPatchField, surfaceMesh >::New().
Referenced by SLTSDdtScheme< 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 | ||
) |