Go to the documentation of this file.
89 virtual const word&
type()
const = 0;
259 #define makeFvDdtTypeScheme(SS, Type) \
260 defineNamedTemplateTypeNameAndDebug(Foam::fv::SS<Foam::Type>, 0); \
266 ddtScheme<Type>::addIstreamConstructorToTable<SS<Type> > \
267 add##SS##Type##IstreamConstructorToTable_; \
271 #define makeFvDdtScheme(SS) \
273 makeFvDdtTypeScheme(SS, scalar) \
274 makeFvDdtTypeScheme(SS, vector) \
275 makeFvDdtTypeScheme(SS, sphericalTensor) \
276 makeFvDdtTypeScheme(SS, symmTensor) \
277 makeFvDdtTypeScheme(SS, tensor) \
285 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
287 const volScalarField& U, \
288 const surfaceScalarField& Uf \
292 return surfaceScalarField::null(); \
296 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
298 const volScalarField& U, \
299 const surfaceScalarField& phi \
303 return surfaceScalarField::null(); \
307 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
309 const volScalarField& rho, \
310 const volScalarField& U, \
311 const surfaceScalarField& Uf \
315 return surfaceScalarField::null(); \
319 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
321 const volScalarField& rho, \
322 const volScalarField& U, \
323 const surfaceScalarField& phi \
327 return surfaceScalarField::null(); \
A class for handling words, derived from string.
A class for managing temporary objects.
Reference counter for various OpenFOAM components.
void operator=(const ddtScheme &)
Disallow default bitwise assignment.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
ddtScheme(const ddtScheme &)
Disallow copy construct.
Mesh data needed to do the Finite Volume discretisation.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual ~ddtScheme()
Destructor.
virtual tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)=0
ddtScheme(const fvMesh &mesh)
Construct from mesh.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
tmp< surfaceScalarField > fvcDdtPhiCoeff(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
typeOfRank< typename pTraits< vector >::cmptType, int(pTraits< vector >::rank)+int(pTraits< Type >::rank) - 2 >::type type
virtual const word & type() const =0
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
virtual tmp< fluxFieldType > fvcDdtPhiCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0
const fvMesh & mesh() const
Return mesh reference.
Macros to ease declaration of run-time selection tables.
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)=0
Abstract base class for ddt schemes.
virtual tmp< fluxFieldType > fvcDdtUfCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)=0
Generic GeometricField class.
static tmp< ddtScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new ddtScheme created on freestore.
ddtScheme(const fvMesh &mesh, Istream &)
Construct from mesh and Istream.
declareRunTimeSelectionTable(tmp, ddtScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > fluxFieldType
virtual tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)=0