81 virtual const word&
type()
const = 0;
297 #define makeFvDdtTypeScheme(SS, Type) \
298 defineNamedTemplateTypeNameAndDebug(Foam::fv::SS<Foam::Type>, 0); \
304 ddtScheme<Type>::addIstreamConstructorToTable<SS<Type>> \
305 add##SS##Type##IstreamConstructorToTable_; \
309 #define makeFvDdtScheme(SS) \
311 makeFvDdtTypeScheme(SS, scalar) \
312 makeFvDdtTypeScheme(SS, vector) \
313 makeFvDdtTypeScheme(SS, sphericalTensor) \
314 makeFvDdtTypeScheme(SS, symmTensor) \
315 makeFvDdtTypeScheme(SS, tensor) \
323 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
325 const volScalarField& U, \
326 const surfaceScalarField& Uf \
330 return surfaceScalarField::null(); \
334 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
336 const volScalarField& U, \
337 const surfaceScalarField& phi \
341 return surfaceScalarField::null(); \
345 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
347 const volScalarField& rho, \
348 const volScalarField& U, \
349 const surfaceScalarField& rhoUf \
353 return surfaceScalarField::null(); \
357 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
359 const volScalarField& rho, \
360 const volScalarField& U, \
361 const surfaceScalarField& phi \
365 return surfaceScalarField::null(); \
369 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
371 const volScalarField& alpha, \
372 const volScalarField& rho, \
373 const volScalarField& U, \
374 const surfaceScalarField& Uf \
378 return surfaceScalarField::null(); \
382 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
384 const volScalarField& alpha, \
385 const volScalarField& rho, \
386 const volScalarField& U, \
387 const surfaceScalarField& phi \
391 return surfaceScalarField::null(); \
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.
SurfaceField< typename flux< Type >::type > fluxFieldType
virtual tmp< fvMatrix< Type > > fvmDdt(const VolField< Type > &)=0
virtual const word & type() const =0
Runtime type information.
virtual ~ddtScheme()
Destructor.
virtual tmp< VolField< Type > > fvcDdt(const dimensioned< Type > &)=0
const fvMesh & mesh() const
Return mesh reference.
virtual tmp< surfaceScalarField > fvcDdtPhiCoeff(const VolField< Type > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
static tmp< ddtScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new ddtScheme created on freestore.
virtual tmp< fluxFieldType > fvcDdtUfCorr(const VolField< Type > &U, const SurfaceField< Type > &Uf)=0
declareRunTimeSelectionTable(tmp, ddtScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
virtual tmp< surfaceScalarField > meshPhi(const VolField< Type > &)=0
virtual tmp< fluxFieldType > fvcDdtPhiCorr(const VolField< Type > &U, const fluxFieldType &phi)=0
void operator=(const ddtScheme &)=delete
Disallow default bitwise assignment.
ddtScheme(const fvMesh &mesh)
Construct from mesh.
Reference counter for various OpenFOAM components.
A class for managing temporary objects.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Macros to ease declaration of run-time selection tables.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...