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

CoEulerDdtScheme< Type > Class Template Reference

Courant number limited first-order Euler implicit/explicit ddt. More...

#include <finiteVolume/CoEulerDdtScheme.H>


Detailed Description

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

Courant number limited first-order Euler implicit/explicit ddt.

The time-step is adjusted locally so that the local Courant number does not exceed the specified value.

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.

Source files

Definition at line 62 of file CoEulerDdtScheme.H.

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

List of all members.

Public Types

typedef ddtScheme< Type >
::fluxFieldType  
fluxFieldType

Public Member Functions

 TypeName ("CoEuler")
 Runtime type information.
 CoEulerDdtScheme (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 159 of file CoEulerDdtScheme.H.


Constructor & Destructor Documentation

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

Construct from mesh and Istream.

Definition at line 103 of file CoEulerDdtScheme.H.


Member Function Documentation

TypeName ( "CoEuler"    )

Runtime type information.

const fvMesh& mesh (  ) const [inline]

Return mesh reference.

Reimplemented from ddtScheme< Type >.

Definition at line 115 of file CoEulerDdtScheme.H.

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

Implements ddtScheme< Type >.

Definition at line 661 of file CoEulerDdtScheme.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: