90 #ifndef CrankNicolsonDdtScheme_H 91 #define CrankNicolsonDdtScheme_H 120 template<
class GeoField>
125 label startTimeIndex_;
146 label startTimeIndex()
const;
149 GeoField& operator()();
152 void operator=(
const GeoField& gf);
169 template<
class GeoField>
170 DDt0Field<GeoField>& ddt0_
177 template<
class GeoField>
178 bool evaluate(
const DDt0Field<GeoField>& ddt0)
const;
182 template<
class GeoField>
183 scalar coef_(
const DDt0Field<GeoField>&)
const;
187 template<
class GeoField>
188 scalar coef0_(
const DDt0Field<GeoField>&)
const;
192 template<
class GeoField>
197 template<
class GeoField>
201 template<
class GeoField>
231 return ocCoeff_->value(
mesh().time().value());
298 const fluxFieldType&
phi 312 const fluxFieldType&
phi tmp< fluxFieldType > fvcDdtUfCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
const fvMesh & mesh() const
Return mesh reference.
Second-oder Crank-Nicolson implicit ddt using the current and previous time-step fields as well as th...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
scalar ocCoeff() const
Return the current off-centreing coefficient.
Generic GeometricField class.
Generic dimensioned Type class.
Abstract base class for ddt schemes.
const fvMesh & mesh() const
Return mesh reference.
Dimension set for the base types.
ddtScheme< Type >::fluxFieldType fluxFieldType
A class for handling words, derived from string.
tmp< fluxFieldType > fvcDdtPhiCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)
word name(const complex &)
Return a string representation of a complex.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)
Mesh data needed to do the Finite Volume discretisation.
tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const volScalarField & psi
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
TypeName("CrankNicolson")
Runtime type information.