interpolate data
interpolate data interpolates nodal and/or cell data from a 3D or 2D field onto another field, typically a 2D mesh or 1D line. Typical uses of this module are mapping data from a 3D mesh onto a geologic surface or a 2D fence section. In these applications the 2D surface(s) simply provide the new geometry (mesh) onto which the adjacent data values are interpolated. The primary requirement is that the data be of equal or higher dimensionality than the mesh being interpolated onto. For instance, if the user has a 2D surface with nodal data (perhaps z values), then a 1D line may be input and the nodal values from the 2D surface will be interpolated onto it.
Data from the Input Data Field is interpolated onto the Input Destination Field. Data already present on the destination field can also be carried through to the output; it follows the interpolated data in the output field.
This module supplants the deprecated interpolate nodal data and interpolate cell data modules.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Destination Field | Field | The field to interpolate data to. |
| Input | Input Data Field | Field | The field to use for data. |
| Output | Output Field | Field | The field with data interpolated. |
| Output | Output Object | Renderable | A renderable object to display. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off, allowing the user to make changes to large data sets without waiting for updates. |
| Execute | Button | If Allow Run is turned off, forces the module to run once with the current settings. |
| Method | Choice: Accurate, Nearest Neighbor | Controls how the closest cell to a point or cell is determined. Accurate (the default) finds the cell containing a point within its bounds and uses its nodes to interpolate node data and the cell itself to interpolate cell data; it is slower but yields accurate results. Nearest Neighbor finds the closest cells using distances to cell nodes (for node data) and cell centers (for cell data); it is fast but may not select the correct neighbor in all cases and cannot reject nodes and cells outside the volume. If the destination field is well within the bounds of the data field, Nearest Neighbor may return acceptable results. |
| Remove Nodes Outside Volume | Boolean | Controls whether nodes or cells from the Input Destination Field that fall outside the Input Data Field are removed from the output. Available only with the Accurate method. |
| Node Data To Interpolate | Multi-select | Selects which nodal data components from the Input Data Field are interpolated onto the destination field. Includes an option to automatically select all components. |
| Node Data To Include | Multi-select | Selects which nodal data components already on the Input Destination Field are included in the output. This data follows the interpolated data in the field. Includes an option to automatically select all components. |
| Cell Data To Interpolate | Multi-select | Selects which cell data components from the Input Data Field are interpolated onto the destination field. Includes an option to automatically select all components. |
| Cell Data To Include | Multi-select | Selects which cell data components already on the Input Destination Field are included in the output. This data follows the interpolated data in the field. Includes an option to automatically select all components. |