51 #ifndef localEulerDdtScheme_H 52 #define localEulerDdtScheme_H 118 class localEulerDdtScheme
120 public localEulerDdt,
126 localEulerDdtScheme(
const localEulerDdtScheme&) =
delete;
129 void operator=(
const localEulerDdtScheme&) =
delete;
167 tmp<GeometricField<Type, fvPatchField, volMesh>>
fvcDdt 169 const dimensioned<Type>&
Local time-step first-order Euler implicit/explicit ddt.
static const surfaceScalarField & localRDeltaTf(const fvMesh &mesh)
Return the reciprocal of the local face time-step.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static tmp< volScalarField > localRSubDeltaT(const fvMesh &mesh, const label nAlphaSubCycles)
Calculate and return the reciprocal of the local sub-cycling.
tmp< fluxFieldType > fvcDdtUfCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)
const fvMesh & mesh() const
Return mesh reference.
Abstract base class for ddt schemes.
const fvMesh & mesh() const
Return mesh reference.
static bool enabled(const fvMesh &mesh)
Return true if LTS is enabled.
A class for handling words, derived from Foam::string.
tmp< fluxFieldType > fvcDdtPhiCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
static const volScalarField & localRDeltaT(const fvMesh &mesh)
Return the reciprocal of the local time-step.
autoPtr< surfaceVectorField > Uf
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)
tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)
Mesh data needed to do the Finite Volume discretisation.
static word rDeltaTfName
Name of the reciprocal local face time-step field.
const volScalarField & psi
A class for managing temporary objects.
static word rDeltaTName
Name of the reciprocal local time-step field.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
static word rSubDeltaTName
Name of the reciprocal local sub-cycling time-step field.
ddtScheme< Type >::fluxFieldType fluxFieldType
TypeName("localEuler")
Runtime type information.