80 virtual const word&
type()
const = 0;
296 #define makeFvDdtTypeScheme(SS, Type) \
297 defineNamedTemplateTypeNameAndDebug(Foam::fv::SS<Foam::Type>, 0); \
303 ddtScheme<Type>::addIstreamConstructorToTable<SS<Type>> \
304 add##SS##Type##IstreamConstructorToTable_; \
308 #define makeFvDdtScheme(SS) \
310 makeFvDdtTypeScheme(SS, scalar) \
311 makeFvDdtTypeScheme(SS, vector) \
312 makeFvDdtTypeScheme(SS, sphericalTensor) \
313 makeFvDdtTypeScheme(SS, symmTensor) \
314 makeFvDdtTypeScheme(SS, tensor) \
322 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
324 const volScalarField& U, \
325 const surfaceScalarField& Uf \
329 return surfaceScalarField::null(); \
333 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
335 const volScalarField& U, \
336 const surfaceScalarField& phi \
340 return surfaceScalarField::null(); \
344 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
346 const volScalarField& rho, \
347 const volScalarField& U, \
348 const surfaceScalarField& rhoUf \
352 return surfaceScalarField::null(); \
356 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
358 const volScalarField& rho, \
359 const volScalarField& U, \
360 const surfaceScalarField& phi \
364 return surfaceScalarField::null(); \
368 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
370 const volScalarField& alpha, \
371 const volScalarField& rho, \
372 const volScalarField& U, \
373 const surfaceScalarField& Uf \
377 return surfaceScalarField::null(); \
381 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
383 const volScalarField& alpha, \
384 const volScalarField& rho, \
385 const volScalarField& U, \
386 const surfaceScalarField& phi \
390 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.