Map block - missing 3D map capability V8

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Submitted by vinayak on Sat, 03/05/2011 - 01:01 

I have V8 Beta and tried the map block. The block wizard has the 3D map grayed out?

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Anders89 on Sat, 03/05/2011 - 05:36.

     

    It works fine for us in v8. The 3D option is grayed out unless the data file had 3D data. It must start with #3D. You can load an example under Diagrams > Examples > Blocks > Nonlinear > map3D
    Here is the help file text on 3D lookups:
    A three-dimensional map file has three independent variables and one dependent variable output. The format of the first seven lines is as follows:

    1. Starts with #3D
    2. size of dimension 1 (column count)
    3. interpolation points, one for each column
    4. size of dimension 2 (row count)
    5. interpolation points, one for each row
    6. size of dimension 3 (matrix count)
    7. interpolation points, one for each matrix

    Lines 8 through n are the elements of the 3D matrix used for the mapping. There are dimension 3 2D matrices in order from the first interpolation point to the last. Each matrix has dimension 1 columns and dimension 2 rows.

    Dependent variables are linearly interpolated for independent variable values between map points, and linearly extrapolated for values beyond the bounds of the table using the last two points in the table. This feature can be used for static function approximation with measured data or for device calibration, such as thermocouple-voltage-to-temperature conversion.

    Lines that begin with a double hyphen (--), semi-colon (;), or double slash (//) are treated as comments.