Ensight Data Loading

From Tuflow
Jump to: navigation, search

Run the TUFLOW utility RES_to_RES.exe to create the Ensight input data files from TUFLOW xmdf output. (See Data Preprocessing)
Open the case file (*.case) in Ensight.

Ensight 001.JPG

This will load the 'Part' titled: 2D TUFLOW Elements as Case Item 1.

Ensight 002.JPG

Select the "Variables" tab within the data management window (bottom left) to view the model result scalar and vector datasets that were loaded.
Activate the relevant dataset that you would like to work with. In this example we have selected, Depth, Unit Flow, Velocity and Water Level.

Ensight 003.JPG

These results can be viewed by creating an isosurface of the dataset within the 2D TUFLOW Elements Case Item.

Right Click 2D TUFLOW Elements Select >> Create >> Isosurfaces

Ensight 004a.JPG

Within the isosurfaces window:

  1. Select 'Advance' (top right)
  2. Enter a unique name for the dataset. This will become the child Part name. (2D TUFLOW Elements is the parent Part title)
  3. Select the Variable you would like to visualize (e.g. Depth)
  4. Set Creation Type = Isovolume
  5. Set Constraint = Banded
  6. Define the isovolume range. The upper and lower extreme values for the datasets are listed within the variables table (bottom left of the interface)

Ensight 005.JPG Ensight 005a.JPG

Update the variable display contouring:

  1. Select the newly created Part (right click)
  2. Select Color by >> Select Variable
  3. When contouring, select the relevant maximum dataset. For example, for time varying Depth data, select Max_Depth. This will lock the contouring to the range of the maximum dataset. Block colors and transparencies can also be defined using this selection.

Ensight 006.JPG

The colour palette can be modified by selecting the defining dataset within the variable list:
Right Click >> Edit Palette
Ensight 017.JPG

The final visualization step requires that the parent Part, 2D TUFLOW Elements be flattened. Ensight is a 3D computational fluid dynamics viewing software. Flattening the parent Part locks the TUFLOW dataset to a fixed horizontal plan (2D space).

  1. Select the parent Part, 2D TUFLOW Elements (right click)
  2. Select Edit
  3. Set the Coordinates scale factor = -1 *variable
  4. Set the Z variable = Fixed_Bathymetry. For this option to be available, the model result data type ZH must be defined as a TUFLOW output (eg. Map Output Data Types == h v q d ZH

Ensight 007.JPG

Time series controls are located above the Parts window (top left).
Ensight 008.JPG


Up
Go-up.png Back to Ensight