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 |
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 backwardDdtScheme< Type >, CoEulerDdtScheme< Type >, CrankNicholsonDdtScheme< Type >, EulerDdtScheme< Type >, localEulerDdtScheme< Type >, SLTSDdtScheme< 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.
~ddtScheme | ( | ) | [virtual]
|
Definition at line 92 of file ddtScheme.C.
void operator= | ( | const ddtScheme< Type > & | ) | [protected]
|
Disallow default bitwise assignment.
virtual const word& type | ( | ) | const [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.
const fvMesh& mesh | ( | ) | const [inline]
|
Return mesh reference.
Reimplemented in backwardDdtScheme< Type >, boundedBackwardDdtScheme, CoEulerDdtScheme< Type >, CrankNicholsonDdtScheme< Type >, EulerDdtScheme< Type >, localEulerDdtScheme< Type >, SLTSDdtScheme< Type >, and steadyStateDdtScheme< Type >.
Definition at line 137 of file ddtScheme.H.
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDdt | ( | const dimensioned< Type > & | ) | [pure virtual]
|
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDdt | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | [pure virtual]
|
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDdt | ( | const dimensionedScalar & | , |
const GeometricField< Type, fvPatchField, volMesh > & | |||
) | [pure virtual]
|
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDdt | ( | const volScalarField & | , |
const GeometricField< Type, fvPatchField, volMesh > & | |||
) | [pure virtual]
|
virtual tmp<fvMatrix<Type> > fvmDdt | ( | GeometricField< Type, fvPatchField, volMesh > & | ) | [pure virtual]
|
virtual tmp<fvMatrix<Type> > fvmDdt | ( | const dimensionedScalar & | , |
GeometricField< Type, fvPatchField, volMesh > & | |||
) | [pure virtual]
|
virtual tmp<fvMatrix<Type> > fvmDdt | ( | const volScalarField & | , |
GeometricField< Type, fvPatchField, volMesh > & | |||
) | [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(), and Foam::min().
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(), TimeState::deltaT(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::endl(), forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::Info, Foam::fvc::interpolate(), Foam::mag(), mesh, Foam::min(), and fvMesh::time().
virtual tmp<fluxFieldType> fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const GeometricField< Type, fvPatchField, volMesh > & | U, | ||
const fluxFieldType & | phi | ||
) | [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(), TimeState::deltaT(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::endl(), forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::Info, Foam::fvc::interpolate(), Foam::mag(), mesh, Foam::min(), and fvMesh::time().
virtual tmp<fluxFieldType> fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const volScalarField & | rho, | ||
const GeometricField< Type, fvPatchField, volMesh > & | U, | ||
const fluxFieldType & | phi | ||
) | [pure virtual]
|
virtual tmp<surfaceScalarField> meshPhi | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | [pure virtual]
|
Definition at line 74 of file ddtScheme.H.
Referenced by ddtScheme< scalar >::mesh().