interp_data
Synopsis
use coordinates from a probe mesh as sample points to interpolate data in a field
Input Port
Parameters
Output Port
Description
interp_data uses the coordinates specified in an input mesh (in_probe) as a set of sample points for a field. It takes each set of coordinates in the mesh (the sample points), locates these same coordinates in the input field, then calculates what the interpolated data value of the selected component would be at that exact location based on the values of the same component in the adjacent nodes.
Input
To create this sampling mesh you could, for example, use the plane object in Geometries.Plane, Geometries.FPlane, or the slice macro.x
A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)
Parameters
UIoptionBoxLabel. A set of option buttons to pick which data components of the input field to interpolate. The default is the first (0th) component. If node data labels are present, they are displayed.
Output Port
The output is a field that is a reference to the merge of the input probe's in_probe mesh, and a new Node_Data object with values consisting of the interpolated component values.
Algorithm
Structured fields use trilinear interpolation. Unstructured fields use shape function interpolation.
Example
Libraries.Examples.Vizualization.Glyph_Interp
v/dv_examp/glh_intp.v
Libraries.Examples.Applications.StreamApp
v/dv_examp/stream_l.vFile
See also related modules