Difference between revisions of "OpenFOAM guide/SurfaceInterpolate"

From OpenFOAMWiki
(Created page with '{{About|the methods declared in surfaceInterpolate.H|an overview of surface interpolation|surfaceInterpolation}} surfaceInterpolate is not a class, it is a set of functions defin…')
 
 
(No difference)

Latest revision as of 19:26, 30 June 2010

This article is about the methods declared in surfaceInterpolate.H. For an overview of surface interpolation, see surfaceInterpolation.

surfaceInterpolate is not a class, it is a set of functions defined in the fvc namespace. The functions it contains are the front-end for surface interpolation, which is interpolation from volume fields to face fields. Functions include:

  • scheme (returns the interpolation scheme); and
  • interpolate (perform the interpolation).

surfaceInterpolate uses runTimeSelection to created the desired surfaceInterpolationScheme class, which subsequently performs the interpolation. The surfaceInterpolationScheme object is created and destroyed at every use.

Code

\left . \phi \right \vert_{v \to f}

fvc::interpolate(phi);