89 virtual const word&
type()
const = 0;
204 const fluxFieldType&
phi,
205 const fluxFieldType& phiCorr
211 const fluxFieldType&
phi 223 const fluxFieldType&
phi 237 const fluxFieldType&
phi 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 \ 291 notImplemented(#SS"<scalar>::fvcDdtUfCorr"); \ 292 return surfaceScalarField::null(); \ 296 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \ 298 const volScalarField& U, \ 299 const surfaceScalarField& phi \ 302 notImplemented(#SS"<scalar>::fvcDdtPhiCorr"); \ 303 return surfaceScalarField::null(); \ 307 tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \ 309 const volScalarField& rho, \ 310 const volScalarField& U, \ 311 const surfaceScalarField& Uf \ 314 notImplemented(#SS"<scalar>::fvcDdtUfCorr"); \ 315 return surfaceScalarField::null(); \ 319 tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \ 321 const volScalarField& rho, \ 322 const volScalarField& U, \ 323 const surfaceScalarField& phi \ 326 notImplemented(#SS"<scalar>::fvcDdtPhiCorr"); \ 327 return surfaceScalarField::null(); \ virtual tmp< fluxFieldType > fvcDdtPhiCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0
virtual ~ddtScheme()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
Mesh data needed to do the Finite Volume discretisation.
Macros to ease declaration of run-time selection tables.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)=0
A class for handling words, derived from string.
typeOfRank< typename pTraits< vector >::cmptType, int(pTraits< vector >::rank)+int(pTraits< Type >::rank)-2 >::type type
static tmp< ddtScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new ddtScheme created on freestore.
declareRunTimeSelectionTable(tmp, ddtScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
Generic dimensioned Type class.
virtual tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)=0
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
ddtScheme(const ddtScheme &)
Disallow copy construct.
Reference counter for various OpenFOAM components.
GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > fluxFieldType
const fvMesh & mesh() const
Return mesh reference.
void operator=(const ddtScheme &)
Disallow default bitwise assignment.
Generic GeometricField class.
Abstract base class for ddt schemes.
virtual const word & type() const =0
Runtime type information.
virtual tmp< fluxFieldType > fvcDdtUfCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)=0
virtual tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)=0
tmp< surfaceScalarField > fvcDdtPhiCoeff(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
A class for managing temporary objects.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...