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

upwind< Type > Class Template Reference

Upwind differencing scheme class. More...

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

List of all members.


Public Member Functions

 TypeName ("upwind")
 Runtime type information.
 upwind (const fvMesh &mesh, const surfaceScalarField &faceFlux)
 Construct from faceFlux.
 upwind (const fvMesh &mesh, Istream &is)
 Construct from Istream.
 upwind (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &)
 Construct from faceFlux and Istream.
virtual tmp< surfaceScalarField > limiter (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the interpolation limiter.
tmp< surfaceScalarField > weights () const
 Return the interpolation weighting factors.
virtual tmp< surfaceScalarField > weights (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the interpolation weighting factors.

Detailed Description

template<class Type>
class Foam::upwind< Type >

Upwind differencing scheme class.

Source files

Definition at line 47 of file upwind.H.


Constructor & Destructor Documentation

upwind ( const fvMesh &  mesh,
const surfaceScalarField &  faceFlux 
) [inline]

Construct from faceFlux.

Definition at line 67 of file upwind.H.

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

Construct from Istream.

The name of the flux field is read from the Istream and looked-up from the mesh objectRegistry

Definition at line 81 of file upwind.H.

upwind ( const fvMesh &  mesh,
const surfaceScalarField &  faceFlux,
Istream &   
) [inline]

Construct from faceFlux and Istream.

Definition at line 91 of file upwind.H.


Member Function Documentation

TypeName ( "upwind< Type >"   ) 

Runtime type information.

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

Return the interpolation limiter.

Implements limitedSurfaceInterpolationScheme< Type >.

Definition at line 105 of file upwind.H.

tmp<surfaceScalarField> weights (  )  const [inline]

Return the interpolation weighting factors.

Definition at line 126 of file upwind.H.

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

Return the interpolation weighting factors.

Reimplemented from limitedSurfaceInterpolationScheme< Type >.

Definition at line 133 of file upwind.H.


The documentation for this class was generated from the following file:
  • src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H
Copyright © 2000-2009 OpenCFD Ltd