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

upwind< Type > Class Template Reference

Upwind differencing scheme class. More...

#include <finiteVolume/upwind.H>


Detailed Description

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

Upwind differencing scheme class.

Source files

Definition at line 52 of file upwind.H.

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.

Constructor & Destructor Documentation

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

Construct from faceFlux.

Definition at line 72 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 84 of file upwind.H.

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

Construct from faceFlux and Istream.

Definition at line 94 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 108 of file upwind.H.

References Foam::dimless, surfaceInterpolationScheme< Type >::mesh(), and timeName.

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

Return the interpolation weighting factors.

Reimplemented from limitedSurfaceInterpolationScheme< Type >.

Definition at line 136 of file upwind.H.

References upwind< Type >::weights().


The documentation for this class was generated from the following file:
  • src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H