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

PhiScheme< Type, PhiLimiter > Class Template Reference

Class to create the weighting-factors based on the face-flux. More...

#include <finiteVolume/PhiScheme.H>


Detailed Description

template<class Type, class PhiLimiter>
class Foam::PhiScheme< Type, PhiLimiter >

Class to create the weighting-factors based on the face-flux.

The particular differencing scheme class is supplied as a template argument, the weight function of which is called by the weight function of this class for the internal faces as well as faces of coupled patches (e.g. processor-processor patches). The weight function is supplied with the central-differencing weighting factor, the face-flux, the face neighbour cell values and the face area.

This code organisation is both neat and efficient, allowing for convenient implementation of new schemes to run on parallelised cases.

Source files

Definition at line 60 of file PhiScheme.H.

Inheritance diagram for PhiScheme< Type, PhiLimiter >:
Collaboration diagram for PhiScheme< Type, PhiLimiter >:

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

PhiScheme ( const fvMesh &   mesh,
const surfaceScalarField &   faceFlux,
const PhiLimiter &   weight  
) [inline]

Construct from mesh, faceFlux and blendingFactor.

Definition at line 84 of file PhiScheme.H.

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

Construct from mesh and Istream.

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

Definition at line 98 of file PhiScheme.H.

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

Construct from mesh, faceFlux and Istream.

Definition at line 109 of file PhiScheme.H.


Member Function Documentation

TypeName ( "PhiScheme< Type, PhiLimiter >"    )

Runtime type information.


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