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