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

harmonic Class Reference

Harmonic-mean differencing scheme class. More...

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.

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


Constructor & Destructor Documentation

harmonic ( const fvMesh &  mesh  )  [inline]

Construct from mesh.

Definition at line 69 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 80 of file harmonic.H.

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

Construct from faceFlux and Istream.

Definition at line 90 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 104 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 120 of file harmonic.H.

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

Here is the call graph for this function:


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