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

Basic first-order Euler implicit/explicit ddt using only the current and previous time-step values. More...

#include <finiteVolume/EulerDdtScheme.H>


Detailed Description

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

Basic first-order Euler implicit/explicit ddt using only the current and previous time-step values.

Source files

Definition at line 56 of file EulerDdtScheme.H.

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

List of all members.

Public Types

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

Public Member Functions

 TypeName ("Euler")
 Runtime type information.
 EulerDdtScheme (const fvMesh &mesh)
 Construct from mesh.
 EulerDdtScheme (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 137 of file EulerDdtScheme.H.


Constructor & Destructor Documentation

EulerDdtScheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 78 of file EulerDdtScheme.H.

EulerDdtScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 84 of file EulerDdtScheme.H.


Member Function Documentation

TypeName ( "Euler"  )

Runtime type information.

const fvMesh& mesh ( ) const
inline

Return mesh reference.

Reimplemented from ddtScheme< Type >.

Definition at line 93 of file EulerDdtScheme.H.

tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt ( const dimensioned< Type > &  dt)
virtual
tmp< typename EulerDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr ( const volScalarField rA,
const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
)
virtual
tmp< surfaceScalarField > meshPhi ( const GeometricField< Type, fvPatchField, volMesh > &  )
virtual

Implements ddtScheme< Type >.

Definition at line 513 of file EulerDdtScheme.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: