Go to the documentation of this file.
114 virtual const word&
type()
const = 0;
313 #define makeFvDdtTypeScheme(SS, Type) \
314 defineNamedTemplateTypeNameAndDebug(Foam::fv::SS<Foam::Type>, 0); \
320 ddtScheme<Type>::addIstreamConstructorToTable<SS<Type>> \
321 add##SS##Type##IstreamConstructorToTable_; \
325 #define makeFvDdtScheme(SS) \
327 makeFvDdtTypeScheme(SS, scalar) \
328 makeFvDdtTypeScheme(SS, vector) \
329 makeFvDdtTypeScheme(SS, sphericalTensor) \
330 makeFvDdtTypeScheme(SS, symmTensor) \
331 makeFvDdtTypeScheme(SS, tensor) \
339 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
341 const volScalarField& U, \
342 const surfaceScalarField& Uf \
346 return surfaceScalarField::null(); \
350 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
352 const volScalarField& U, \
353 const surfaceScalarField& phi \
357 return surfaceScalarField::null(); \
361 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
363 const volScalarField& rho, \
364 const volScalarField& U, \
365 const surfaceScalarField& Uf \
369 return surfaceScalarField::null(); \
373 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
375 const volScalarField& rho, \
376 const volScalarField& U, \
377 const surfaceScalarField& phi \
381 return surfaceScalarField::null(); \
ddtScheme(const ddtScheme &)=delete
ddtScheme(const fvMesh &mesh, Istream &is)
A class for handling words, derived from Foam::string.
tmp< surfaceScalarField > fvcDdtPhiCoeffExperimental(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
A class for managing temporary objects.
Reference counter for various OpenFOAM components.
const dimensionedScalar alpha
Mesh data needed to do the Finite Volume discretisation.
static bool experimentalDdtCorr
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
autoPtr< surfaceVectorField > Uf
void operator=(const ddtScheme &)=delete
virtual tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)=0
ddtScheme(const fvMesh &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)
virtual const word & type() const =0
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
Non-templated base class for ddt schemes.
Macros to ease declaration of run-time selection tables.
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)=0
virtual ~ddtScheme()=default
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)
declareRunTimeSelectionTable(tmp, ddtScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > fluxFieldType
typeOfRank< typename pTraits< vector >::cmptType, direction(pTraits< vector >::rank)+direction(pTraits< Type >::rank) - 2 >::type type
virtual tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)=0