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

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

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

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 51 of file CrankNicholsonDdtScheme.H.


Member Typedef Documentation

Reimplemented from ddtScheme< Type >.

Definition at line 237 of file CrankNicholsonDdtScheme.H.


Constructor & Destructor Documentation

CrankNicholsonDdtScheme ( const fvMesh mesh  )  [inline]

Construct from mesh.

Definition at line 165 of file CrankNicholsonDdtScheme.H.

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

Construct from mesh and Istream.

Definition at line 172 of file CrankNicholsonDdtScheme.H.

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

Here is the call graph for this function:


Member Function Documentation

TypeName ( "CrankNicholson"   ) 

Runtime type information.

const fvMesh& mesh (  )  const [inline]

Return mesh reference.

Reimplemented from ddtScheme< Type >.

Definition at line 193 of file CrankNicholsonDdtScheme.H.

tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt ( const dimensioned< Type > &  dt  )  [inline, virtual]

Implements ddtScheme< Type >.

Definition at line 277 of file CrankNicholsonDdtScheme.C.

tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt ( const GeometricField< Type, fvPatchField, volMesh > &  vf  )  [inline, virtual]

Implements ddtScheme< Type >.

Definition at line 339 of file CrankNicholsonDdtScheme.C.

tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt ( const dimensionedScalar rho,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
) [inline, virtual]

Implements ddtScheme< Type >.

Definition at line 428 of file CrankNicholsonDdtScheme.C.

tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt ( const volScalarField rho,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
) [inline, virtual]

Implements ddtScheme< Type >.

Definition at line 518 of file CrankNicholsonDdtScheme.C.

tmp< fvMatrix< Type > > fvmDdt ( GeometricField< Type, fvPatchField, volMesh > &  vf  )  [inline, virtual]

Implements ddtScheme< Type >.

Definition at line 618 of file CrankNicholsonDdtScheme.C.

tmp< fvMatrix< Type > > fvmDdt ( const dimensionedScalar rho,
GeometricField< Type, fvPatchField, volMesh > &  vf 
) [inline, virtual]

Implements ddtScheme< Type >.

Definition at line 701 of file CrankNicholsonDdtScheme.C.

tmp< fvMatrix< Type > > fvmDdt ( const volScalarField rho,
GeometricField< Type, fvPatchField, volMesh > &  vf 
) [inline, virtual]

Implements ddtScheme< Type >.

Definition at line 783 of file CrankNicholsonDdtScheme.C.

tmp< typename CrankNicholsonDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr ( const volScalarField rA,
const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
) [inline]

Definition at line 874 of file CrankNicholsonDdtScheme.C.

tmp< typename CrankNicholsonDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr ( const volScalarField rA,
const volScalarField rho,
const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
) [inline]

Definition at line 961 of file CrankNicholsonDdtScheme.C.

tmp< surfaceScalarField > meshPhi ( const GeometricField< Type, fvPatchField, volMesh > &  vf  )  [inline, virtual]

Implements ddtScheme< Type >.

Definition at line 1164 of file CrankNicholsonDdtScheme.C.

tmp< surfaceScalarField > fvcDdtPhiCorr ( const volScalarField rA,
const volScalarField U,
const surfaceScalarField phi 
) [inline]

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


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd