OpenFOAM guide/SurfaceInterpolate

From OpenFOAMWiki
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);