OpenFOAM guide/SurfaceInterpolationScheme;;interpolate

From OpenFOAMWiki

surfaceInterpolationScheme::interpolate

If fvcfd.H is included, interpolate is available.

Equations used:

    for (register label fi=0; fi<P.size(); fi++)
    {
        sfi[fi] = lambda[fi]*(vfi[P[fi]] - vfi[N[fi]]) + vfi[N[fi]];
    }

Where:

  • fi is face;
  • P is owner;
  • N is neighbour;
  • vfi is to be interpolated (geometricfield.internalfield)
  • lambda is meshweights (surfacescalarfield.internalfield)
  • sfi is interpolated value

This is:


\phi_{e,i}=\lambda_i
\left (
	\phi_{P,i} - \phi_{E,i}
\right ) +
\phi_{E,i}