### 2.1.6. Look-up Tables

Several features in ACP can be defined as tabular values.

A Look-up Table can be a 1-D (linear interpolation) or 3-D (spatial interpolation) table. It contains at least a Location column (1 or 3 columns, one for each coordinate). Direction columns (3 columns) and/or Scalar columns can be added. The Look-up Table can also be imported and/or exported from/to a .CSV file (see CSV Format). The most efficient way to define tables is to generate the columns in ACP, export the table as a .CSV file, edit the file in an external program, and import the file again.

In order to understand the effect of a Look-up Table, contour plots of the scalar columns of 1-D and 3-D look-up tables are available.

Figure : Context Menu for Look-Up Tables in the Tree View

Once created, the context menu can be used to define features of a Look-up Table:

Figure : Context Menu for a Look-up Table

- Properties: Display the properties window of the selected table.

- Update: Update the selected table.

- Create Scalar Column: Define scalar data column (1-D array).

- Create Direction Column: Define a vector direction data column (3-D array).

- Export to CSV File: Export the table to a .CSV file.

- Import from CSV File: Read data from a .CSV file to fill the table.

- Copy: Copy the selected table to the clipboard.

- Paste: Paste a table from the clipboard.

- Delete: Delete the selected table.

The Table defined in the following figure is a 3-D Look-up Table with standard 3-D array location and two scalar (1-D array) columns, Angle and Radius. Each array appears in the tree view for the table.

Look-up Tables are also used in the HDF5 Import function.

Figure : Look-up Table in the Tree View

Release 18.2 - © ANSYS, Inc. All rights reserved.