FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

CrankNicholsonDdtScheme< Type > Class Template Reference

Second-oder CrankNicholson implicit ddt using the current and previous time-step fields as well as the previous time-step ddt. More...

#include <finiteVolume/CrankNicholsonDdtScheme.H>


Detailed Description

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

Second-oder CrankNicholson implicit ddt using the current and previous time-step fields as well as the previous time-step ddt.

Source files

Definition at line 56 of file CrankNicholsonDdtScheme.H.

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

List of all members.

Classes

class  DDt0Field
 Class to store the ddt0 fields on the objectRegistry for use in the.

Public Types

typedef ddtScheme< Type >
::fluxFieldType  
fluxFieldType

Public Member Functions

 TypeName ("CrankNicholson")
 Runtime type information.
 CrankNicholsonDdtScheme (const fvMesh &mesh)
 Construct from mesh.
 CrankNicholsonDdtScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream.
const fvMesh &  mesh () 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< fluxFieldType >  fvcDdtPhiCorr (const volScalarField &rA, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
tmp< fluxFieldType >  fvcDdtPhiCorr (const volScalarField &rA, const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
tmp< surfaceScalarField >  meshPhi (const GeometricField< Type, fvPatchField, volMesh > &)
template<>
tmp< surfaceScalarField >  fvcDdtPhiCorr (const volScalarField &rA, const volScalarField &U, const surfaceScalarField &phi)
template<>
tmp< surfaceScalarField >  fvcDdtPhiCorr (const volScalarField &rA, const volScalarField &rho, const volScalarField &U, const surfaceScalarField &phi)

Member Typedef Documentation

Reimplemented from ddtScheme< Type >.

Definition at line 230 of file CrankNicholsonDdtScheme.H.


Constructor & Destructor Documentation

CrankNicholsonDdtScheme ( const fvMesh &   mesh  ) [inline]

Construct from mesh.

Definition at line 158 of file CrankNicholsonDdtScheme.H.

CrankNicholsonDdtScheme ( const fvMesh &   mesh,
Istream &   is  
) [inline]

Construct from mesh and Istream.

Definition at line 165 of file CrankNicholsonDdtScheme.H.

References Foam::exit(), Foam::FatalIOError, and FatalIOErrorIn.


Member Function Documentation

TypeName ( "CrankNicholson"    )

Runtime type information.

const fvMesh& mesh (  ) const [inline]

Return mesh reference.

Reimplemented from ddtScheme< Type >.

Definition at line 186 of file CrankNicholsonDdtScheme.H.

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: