The EnSight Data Loader allows you to load EnSight Gold and EnSight 6 files of types case (.case or .encase), geometry (.geo), or variable (.*). Geometry and variable files can be in either ASCII or binary format, although binary is recommended. Files from earlier versions of EnSight need to be resaved in Gold format using File>Save>Geometric Entities. To determine what format the files are in, view the case file and look under the FORMAT section.
EnSight data is stored in a case file, which contains references to all associated geometry and variable files. Loading the case file will load all the associated files. EnSight parts are translated into zones with the caveat that unstructured parts with dissimilar element types (i.e. a volume element and a surface element) will only load the primary element type. Unstructured zone names will be prefixed by the type of zone they represent (point, line, surface, or volume). Vector, tensor, and tensor9 variables are expanded into the appropriate number of variables with the variable name followed by a suffix. Complex 'imaginary' variables will have an 'I' following the name to distinguish them from the 'real' variable.
When loading Ensight data, choose the desired case file, and the associated data files will be loaded.
4 - 8.1 Macro Commands for the EnSight Loader
The syntax for loading EnSight data files with the Tecplot macro language is as follows:
$!READDATASET ' "STANDARDSYNTAX" "1.0" "FILENAME_CASEFILE" "file name"' DATASETREADER = 'EnSight Loader' |
Each name/value pair should be in double quotes. Refer to the Scripting Guide for details on working with the Tecplot macro language.
Keyword |
Available Value(s) |
Default |
Notes |
---|---|---|---|
STANDARDSYNTAX |
1.0 |
n/a |
Must be the first instruction. |
FILENAME_CASEFILE |
"filename" |
n/a |
The full or relative path of the case file name. |
READDATAOPTION |
NEW, APPEND, |
n/a |
NEW to create new layout; APPEND to add to existing layout, REPLACE to replace data and retain style |
Previous versions of the EnSight loader supported options for loading a subset of the data using IJK skipping, part selection, or variable selection. These options will not generate syntax errors, so old macros will continue to work. However, IJK skipping is ignored, and part/variable selection is supported only for Ensight 6 files.