FreeFOAM The Cross-Platform CFD Toolkit
backwardDdtScheme< Type > Class Template Reference

Second-order backward-differencing ddt using the current and two previous time-step values. More...

#include <finiteVolume/backwardDdtScheme.H>


Detailed Description

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

Second-order backward-differencing ddt using the current and two previous time-step values.

Source files

Definition at line 56 of file backwardDdtScheme.H.

+ Inheritance diagram for backwardDdtScheme< Type >:
+ Collaboration diagram for backwardDdtScheme< Type >:

List of all members.

Public Types

typedef ddtScheme< Type >
::fluxFieldType 
fluxFieldType
- Public Types inherited from ddtScheme< Type >

Public Member Functions

 TypeName ("backward")
 Runtime type information.
 backwardDdtScheme (const fvMesh &mesh)
 Construct from mesh.
 backwardDdtScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream.
const fvMeshmesh () const
 Return mesh reference.
tmp< GeometricField< Type,
fvPatchField, volMesh > > 
fvcDdt (const dimensioned< Type > &)
tmp< GeometricField< Type,
fvPatchField, volMesh > > 
fvcDdt (const GeometricField< Type, fvPatchField, volMesh > &)
tmp< GeometricField< Type,
fvPatchField, volMesh > > 
fvcDdt (const dimensionedScalar &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< GeometricField< Type,
fvPatchField, volMesh > > 
fvcDdt (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > fvmDdt (GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > fvmDdt (const dimensionedScalar &, GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > fvmDdt (const volScalarField &, GeometricField< Type, fvPatchField, volMesh > &)
tmp< fluxFieldTypefvcDdtPhiCorr (const volScalarField &rA, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
tmp< fluxFieldTypefvcDdtPhiCorr (const volScalarField &rA, const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
tmp< surfaceScalarFieldmeshPhi (const GeometricField< Type, fvPatchField, volMesh > &)
template<>
tmp< surfaceScalarFieldfvcDdtPhiCorr (const volScalarField &rA, const volScalarField &U, const surfaceScalarField &phi)
template<>
tmp< surfaceScalarFieldfvcDdtPhiCorr (const volScalarField &rA, const volScalarField &rho, const volScalarField &U, const surfaceScalarField &phi)
- Public Member Functions inherited from ddtScheme< Type >
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 ()
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)
tmp< surfaceScalarFieldfvcDdtPhiCoeff (const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &rhoU, const fluxFieldType &phi)
- Public Member Functions inherited from refCount
 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.

Additional Inherited Members

- Static Public Member Functions inherited from ddtScheme< Type >
static tmp< ddtScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 Return a pointer to a new ddtScheme created on freestore.
- Protected Member Functions inherited from ddtScheme< Type >
 ddtScheme (const ddtScheme &)
 Disallow copy construct.
void operator= (const ddtScheme &)
 Disallow default bitwise assignment.
- Protected Attributes inherited from ddtScheme< Type >
const fvMeshmesh_

Member Typedef Documentation

Reimplemented from ddtScheme< Type >.

Definition at line 148 of file backwardDdtScheme.H.


Constructor & Destructor Documentation

backwardDdtScheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 89 of file backwardDdtScheme.H.

backwardDdtScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 95 of file backwardDdtScheme.H.


Member Function Documentation

TypeName ( "backward"  )

Runtime type information.

const fvMesh& mesh ( ) const
inline

Return mesh reference.

Reimplemented from ddtScheme< Type >.

Definition at line 104 of file backwardDdtScheme.H.

tmp< typename backwardDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr ( const volScalarField rA,
const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
)
virtual
tmp< surfaceScalarField > meshPhi ( const GeometricField< Type, fvPatchField, volMesh > &  vf)
virtual

Implements ddtScheme< Type >.

Definition at line 717 of file backwardDdtScheme.C.

References mesh.

tmp< surfaceScalarField > fvcDdtPhiCorr ( const volScalarField rA,
const volScalarField U,
const surfaceScalarField phi 
)
tmp< surfaceScalarField > fvcDdtPhiCorr ( const volScalarField rA,
const volScalarField rho,
const volScalarField U,
const surfaceScalarField phi 
)

The documentation for this class was generated from the following files: