Abstract base class for ddt schemes. More...
#include <finiteVolume/ddtScheme.H>
Abstract base class for ddt schemes.
Definition at line 65 of file ddtScheme.H.
Public Types | |
typedef GeometricField < typename flux< Type >::type, fvsPatchField, surfaceMesh > | fluxFieldType |
Public Member Functions | |
virtual const word & | type () const =0 |
Runtime type information. | |
declareRunTimeSelectionTable (tmp, ddtScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
ddtScheme (const fvMesh &mesh) | |
Construct from mesh. | |
ddtScheme (const fvMesh &mesh, Istream &) | |
Construct from mesh and Istream. | |
virtual | ~ddtScheme () |
const fvMesh & | mesh () const |
Return mesh reference. | |
virtual tmp< GeometricField < Type, fvPatchField, volMesh > > | fvcDdt (const dimensioned< Type > &)=0 |
virtual tmp< GeometricField < Type, fvPatchField, volMesh > > | fvcDdt (const GeometricField< Type, fvPatchField, volMesh > &)=0 |
virtual tmp< GeometricField < Type, fvPatchField, volMesh > > | fvcDdt (const dimensionedScalar &, const GeometricField< Type, fvPatchField, volMesh > &)=0 |
virtual tmp< GeometricField < Type, fvPatchField, volMesh > > | fvcDdt (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)=0 |
virtual tmp< fvMatrix< Type > > | fvmDdt (GeometricField< Type, fvPatchField, volMesh > &)=0 |
virtual tmp< fvMatrix< Type > > | fvmDdt (const dimensionedScalar &, GeometricField< Type, fvPatchField, volMesh > &)=0 |
virtual tmp< fvMatrix< Type > > | fvmDdt (const volScalarField &, GeometricField< Type, fvPatchField, volMesh > &)=0 |
tmp< surfaceScalarField > | fvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr) |
tmp< surfaceScalarField > | fvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi) |
virtual tmp< fluxFieldType > | fvcDdtPhiCorr (const volScalarField &rA, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0 |
tmp< surfaceScalarField > | fvcDdtPhiCoeff (const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &rhoU, const fluxFieldType &phi) |
virtual tmp< fluxFieldType > | fvcDdtPhiCorr (const volScalarField &rA, const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0 |
virtual tmp< surfaceScalarField > | meshPhi (const GeometricField< Type, fvPatchField, volMesh > &)=0 |
![]() | |
refCount () | |
Construct null with zero count. | |
int | count () const |
Return the reference count. | |
bool | okToDelete () const |
Return true if the reference count is zero. | |
void | resetRefCount () |
Reset the reference count to zero. | |
void | operator++ () |
Increment the reference count. | |
void | operator++ (int) |
Increment the reference count. | |
void | operator-- () |
Decrement the reference count. | |
void | operator-- (int) |
Decrement the reference count. |
Static Public Member Functions | |
static tmp< ddtScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return a pointer to a new ddtScheme created on freestore. |
Protected Member Functions | |
ddtScheme (const ddtScheme &) | |
Disallow copy construct. | |
void | operator= (const ddtScheme &) |
Disallow default bitwise assignment. |
Protected Attributes | |
const fvMesh & | mesh_ |
typedef GeometricField< typename flux<Type>::type, fvsPatchField, surfaceMesh > fluxFieldType |
Reimplemented in CrankNicholsonDdtScheme< Type >, SLTSDdtScheme< Type >, CoEulerDdtScheme< Type >, localEulerDdtScheme< Type >, backwardDdtScheme< Type >, EulerDdtScheme< Type >, and steadyStateDdtScheme< Type >.
Definition at line 187 of file ddtScheme.H.
Construct from mesh.
Definition at line 107 of file ddtScheme.H.
Construct from mesh and Istream.
Definition at line 113 of file ddtScheme.H.
|
virtual |
Definition at line 92 of file ddtScheme.C.
|
protected |
Disallow default bitwise assignment.
|
pure virtual |
Runtime type information.
declareRunTimeSelectionTable | ( | tmp | , |
ddtScheme< Type > | , | ||
Istream | , | ||
(const fvMesh &mesh, Istream &schemeData) | , | ||
(mesh, schemeData) | |||
) |
Return a pointer to a new ddtScheme created on freestore.
Definition at line 44 of file ddtScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.
|
inline |
Return mesh reference.
Reimplemented in CrankNicholsonDdtScheme< Type >, SLTSDdtScheme< Type >, boundedBackwardDdtScheme, CoEulerDdtScheme< Type >, localEulerDdtScheme< Type >, backwardDdtScheme< Type >, EulerDdtScheme< Type >, and steadyStateDdtScheme< Type >.
Definition at line 137 of file ddtScheme.H.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
tmp< surfaceScalarField > fvcDdtPhiCoeff | ( | const GeometricField< Type, fvPatchField, volMesh > & | U, |
const fluxFieldType & | phi, | ||
const fluxFieldType & | phiCorr | ||
) |
Definition at line 100 of file ddtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::endl(), forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::Info, Foam::mag(), Foam::min(), and patchi.
tmp< surfaceScalarField > fvcDdtPhiCoeff | ( | const GeometricField< Type, fvPatchField, volMesh > & | U, |
const fluxFieldType & | phi | ||
) |
Definition at line 139 of file ddtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::endl(), forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::Info, Foam::fvc::interpolate(), Foam::mag(), mesh, Foam::min(), and patchi.
|
pure virtual |
tmp< surfaceScalarField > fvcDdtPhiCoeff | ( | const volScalarField & | rho, |
const GeometricField< Type, fvPatchField, volMesh > & | rhoU, | ||
const fluxFieldType & | phi | ||
) |
Definition at line 180 of file ddtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::endl(), forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::Info, Foam::fvc::interpolate(), Foam::mag(), mesh, Foam::min(), and patchi.
|
pure virtual |
|
pure virtual |
|
protected |
Definition at line 74 of file ddtScheme.H.
Referenced by ddtScheme< scalar >::mesh().