Go to the documentation of this file.
44 #ifndef SLTSDdtScheme_H
45 #define SLTSDdtScheme_H
Stabilised local time-step first-order Euler implicit/explicit ddt. The time-step is adjusted locally...
tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)
word phiName_
Name of the flux field used to calculate the local time-step.
A class for handling words, derived from string.
tmp< volScalarField > SLrDeltaT() const
Return the reciprocal of the stabilised local time-step.
SLTSDdtScheme(const SLTSDdtScheme &)
Disallow default bitwise copy construct.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
scalar alpha_
Under-relaxation factor.
TypeName("SLTS")
Runtime type information.
Pre-declare SubField and related Field type.
void operator=(const SLTSDdtScheme &)
Disallow default bitwise assignment.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
tmp< fluxFieldType > fvcDdtUfCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Return mesh reference.
const fvMesh & mesh() const
Return mesh reference.
const volScalarField & psi
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)
ddtScheme< Type >::fluxFieldType fluxFieldType
word rhoName_
Name of the density field used to obtain the volumetric flux.
void relaxedDiag(scalarField &rD, const surfaceScalarField &phi) const
Calculate a relaxed diagonal from the given flux field.
Abstract base class for ddt schemes.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)
Generic GeometricField class.
tmp< fluxFieldType > fvcDdtPhiCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
SLTSDdtScheme(const fvMesh &mesh, Istream &is)
Construct from mesh and Istream.