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

localEulerDdtScheme< Type > Class Template Reference

Local time-step first-order Euler implicit/explicit ddt. The reciprocal of the local time-step field is looked-up from the database with the name provided. More...

#include <finiteVolume/localEulerDdtScheme.H>


Detailed Description

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

Local time-step first-order Euler implicit/explicit ddt. The reciprocal of the local time-step field is looked-up from the database with the name provided.

This scheme should only be used for steady-state computations using transient codes where local time-stepping is preferably to under-relaxation for transport consistency reasons.

See also CoEulerDdtScheme.

Source files

Definition at line 64 of file localEulerDdtScheme.H.

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

List of all members.

Public Types

typedef ddtScheme< Type >
::fluxFieldType  
fluxFieldType

Public Member Functions

 TypeName ("localEuler")
 Runtime type information.
 localEulerDdtScheme (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 149 of file localEulerDdtScheme.H.


Constructor & Destructor Documentation

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

Construct from mesh and Istream.

Definition at line 95 of file localEulerDdtScheme.H.


Member Function Documentation

TypeName ( "localEuler"    )

Runtime type information.

const fvMesh& mesh (  ) const [inline]

Return mesh reference.

Reimplemented from ddtScheme< Type >.

Definition at line 105 of file localEulerDdtScheme.H.

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

Implements ddtScheme< Type >.

Definition at line 566 of file localEulerDdtScheme.C.

References Foam::dimTime, Foam::dimVolume, mesh, and timeName.

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: