ENSIGHT6

computation results in Ensight6 format

EnSight is a very common file format to save time series. It is supported by several visualization tools, e.g. ParaView. EnSight results always start out with a case file. MESHFREE will write out two case files, one for the point cloud and one for the boundary elements. Their name is controlled by SAVE_file.
... SAVE_file = 'simulation' SAVE_path = 'results' ...
will produce files 'simulation.case' for the point cloud and 'BE_simulation.case' for the boundary elements in the subfolder 'results'. Because of the structure of the EnSight file format there are two additional hidden subdirectories called '.EnsightData___simulation' and '.EnsightData_BE___BE_simulation', also depending on SAVE_file. These contain the actual data. ENSIGHT6 has the following syntax:
SAVE_format(1) = ENSIGHT6 BINARY NNTTP ONLY:PARTICLES NO:PARTS SAVE_format(2) = ENSIGHT6 BINARY ----
where the first is the maximum and the second is the minimum required syntax. At minimum at least four letters are required. Their meaning is dependent on their position:
  • 1. Position: -/N/A (zero-dimensional; points)
    • '-' Do not write extra node information. MESHFREE points might not be available in some visualization software for visualization as points. Positions are still written out for the triangulation.
    • 'N' Write out nodes as points.
    • 'A' Write out all points including inactive ones.
  • 2. Position: -/N/C/S (one-dimensional; lines)
    • '-' Do not write out any lines.
    • 'N' Save point normals explicitly as line objects.
    • 'C' Save interface connectivities between chambers for each interface point.
    • 'S' Save segments/pathlines.
    • 'X' Save neighborhood graph (that is a line between each connected points that are being neighbors)
  • 3. Position: -/T (two-dimensional; faces)
    • '-' Do not write out any triangles.
    • 'T' Write out triangulation of the surfaces of the point cloud.
  • 4. Position: -/T (three-dimensional; solids)
    • '-' Do not write out any tetrahedra.
    • 'T' Write out tetrahedralization of the point cloud volume.
These four items may be followed by a 'P' to write out metaplanes in the BE case file. ONLY:PARTICLES will only write out the point cloud but not the boundary elements. And NO:PARTS will save both the point cloud and the boundary elements as a single EnSight part each. This is to prevent potential problems with specific visualization software. Note: In the EnSight6 standard (page 9-121ff, 851ff), the maximum length for part and variable names is 79. Longer names are cut at this length.