OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

ddtScheme< Type > Class Template Reference

Abstract base class for ddt schemes. More...

Inheritance diagram for ddtScheme< Type >:
Collaboration diagram for ddtScheme< Type >:

List of all members.


Public Types

typedef GeometricField
< typename flux< Type >::type,
fvsPatchField, surfaceMesh
fluxFieldType

Public Member Functions

virtual const wordtype () 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 fvMeshmesh () 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< surfaceScalarFieldfvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
tmp< surfaceScalarFieldfvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
virtual tmp< fluxFieldTypefvcDdtPhiCorr (const volScalarField &rA, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0
tmp< surfaceScalarFieldfvcDdtPhiCoeff (const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &rhoU, const fluxFieldType &phi)
virtual tmp< fluxFieldTypefvcDdtPhiCorr (const volScalarField &rA, const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0
virtual tmp< surfaceScalarFieldmeshPhi (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 fvMeshmesh_

Detailed Description

template<class Type>
class Foam::fv::ddtScheme< Type >

Abstract base class for ddt schemes.

Source files

Definition at line 60 of file ddtScheme.H.


Member Typedef Documentation


Constructor & Destructor Documentation

ddtScheme ( const ddtScheme< Type > &   )  [protected]

Disallow copy construct.

ddtScheme ( const fvMesh mesh  )  [inline]

Construct from mesh.

Definition at line 102 of file ddtScheme.H.

ddtScheme ( const fvMesh mesh,
Istream  
) [inline]

Construct from mesh and Istream.

Definition at line 108 of file ddtScheme.H.

~ddtScheme (  )  [inline, virtual]

Definition at line 84 of file ddtScheme.C.


Member Function Documentation

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)   
)

tmp< ddtScheme< Type > > New ( const fvMesh mesh,
Istream schemeData 
) [inline, static]

Return a pointer to a new ddtScheme created on freestore.

Definition at line 36 of file ddtScheme.C.

References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.

Here is the call graph for this function:

tmp< surfaceScalarField > fvcDdtPhiCoeff ( const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi,
const fluxFieldType phiCorr 
) [inline]

Definition at line 92 of file ddtScheme.C.

tmp< surfaceScalarField > fvcDdtPhiCoeff ( const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
) [inline]

Definition at line 131 of file ddtScheme.C.

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 
) [inline]

Definition at line 172 of file ddtScheme.C.

virtual tmp<fluxFieldType> fvcDdtPhiCorr ( const volScalarField rA,
const volScalarField rho,
const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
) [pure virtual]


Member Data Documentation

const fvMesh& mesh_ [protected]

Definition at line 69 of file ddtScheme.H.


The documentation for this class was generated from the following files:
  • src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtScheme.H
  • src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtScheme.C
Copyright © 2000-2009 OpenCFD Ltd