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

harmonic Class Reference

Harmonic-mean differencing scheme class. More...

#include <finiteVolume/harmonic.H>


Detailed Description

Harmonic-mean differencing scheme class.

This scheme interpolates 1/field using a scheme specified at run-time and return the reciprocal of the interpolate.

Source files

Definition at line 55 of file harmonic.H.

Inheritance diagram for harmonic:
Collaboration diagram for harmonic:

List of all members.

Public Member Functions

 TypeName ("harmonic")
 Runtime type information.
 harmonic (const fvMesh &mesh)
 Construct from mesh.
 harmonic (const fvMesh &mesh, Istream &is)
 Construct from Istream.
 harmonic (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
 Construct from faceFlux and Istream.
virtual tmp< surfaceScalarField >  weights (const GeometricField< scalar, fvPatchField, volMesh > &) const
 Return the interpolation weighting factors.
virtual tmp< GeometricField
< scalar, fvsPatchField,
surfaceMesh > >  
interpolate (const GeometricField< scalar, fvPatchField, volMesh > &vf) const
 Return the face-interpolate of the given cell field.

Constructor & Destructor Documentation

harmonic ( const fvMesh &   mesh  ) [inline]

Construct from mesh.

Definition at line 74 of file harmonic.H.

harmonic ( 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 83 of file harmonic.H.

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

Construct from faceFlux and Istream.

Definition at line 93 of file harmonic.H.


Member Function Documentation

TypeName ( "harmonic"    )

Runtime type information.

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

Return the interpolation weighting factors.

Implements surfaceInterpolationScheme< scalar >.

Definition at line 107 of file harmonic.H.

References notImplemented.

virtual tmp<GeometricField<scalar, fvsPatchField, surfaceMesh> > interpolate ( const GeometricField< scalar, fvPatchField, volMesh > &   vf  ) const [inline, virtual]

Return the face-interpolate of the given cell field.

Reimplemented from surfaceInterpolationScheme< scalar >.

Definition at line 123 of file harmonic.H.

References DimensionedField< Type, GeoMesh >::mesh().


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