[Graph Window]

The functions for opening a graph window that supports both “Time” and “Position” as X-axis, and easy to switch between them, are explained in this section.

[Open new Graph Window]

Either of the following actions opens a new graph window.

Menu bar: [Calculation Results] (R) –> [Open New Graph Window]

Operation Toolbar: chart-window-icon

The [Data Source Setting] dialog (Figure 487) will open, so select the data to draw graph and click on [OK]. A new [Graph Window] window (Figure 489) will open that draws a graph for the data you selected.

When you select [Setting] on [Data Source Setting] dialog, the [Data Setting] dialog (Figure 488) is shown for the currently selected data, so modify the setting and click on [OK].

../../_images/chart_data_source_dialog.png

Figure 487 [Data Source Setting] dialog

../../_images/chart_data_setting_dialog.png

Figure 488 [Data Setting] dialog

../../_images/chart_window.png

Figure 489 [Graph Window]

You can also show the time variation of the calculation result at the grid node, cell or edge selected in the [2D Post-processing Window] in a graph window. In this case, the [Data Source Setting] dialog is not displayed, and a graph window that draws the calculation result at the selected position opens directly. Refer to Showing values at the selected node, cell or edge in a graph for details.

Note

Supporting calculation result defined at cell centers and cell edges

iRIC 3.0.11 and later supports drawing charts for calculation result defined at cell centers.

iRIC 3.0.18 and later supports drawing charts for calculation result defined at cell edges.

If calculation result defind at cell centers (or edges) exists, Combo box with label “Grid Location” is displayed, like in Figure 490, and you can draw charts for calculation result defined at cell centers or cell edges by selecting “CellCenter”, “EdgeI”, “EdgeJ”.

../../_images/chart_cell_center.png

Figure 490 “Grid Location” selecting function

Note

Supporting drawing charts with calculation result interpolated to polylines

iRIC 3.0.14 and later supports drawing charts with calculation result interpolated to polylines.

Using this new feature, user can use chart windows to draw chart like followings:

  • Drawing chart for cross sections for solvers that uses unstructured grids

  • Drawing chart for arbitrary cross sections (not I or J lines of grids) for solvers that uses structured grids

To draw charts with calculation results interpolataed to polylines, on “Data source Setting” dialog, please select “Polyline” in “X Axis” combo box like in Figure 491, and in combo box “Polyline”, select the polyline on which you want to interpolate calculation result values and draw chart.

You can also draw charts with calculation result defined at cell centers or cell edges interpolated to polylines. Perform the above operations with “CellCenter”, “EdgeI” or “EdgeJ” selected in “Grid Location”.

Please refer to Editing [Lines] for how to define polylines.

../../_images/chart_polyline.png

Figure 491 Example of setting up drawing charts for a polyline

Additional Menu items

Table 46 shows the additional menu items for the [Graph Window]. The additional menu items are shown between [Import] and [Simulation] when the [Graph Window] is active.

Table 46 Additional menu items for [Graph Window]

Menu

Description

Draw (D)

[Data Source Setting] (D)

Display [Data Source Setting] dialog.

[Axis Setting] (A)

Display [Axis Setting] dialog.

[Draw Setting] (R)

Display [Draw Setting] dialog.

[Marker Setting] (M)

Display [Marker Setting] dialog.

[Add KP Markers](K)

Add KP markers for river survey data.

[Copy] (C)

Copy the calculation result

[Data Source Setting] (D)

Description: Set data source setting.

When you select this, the [Data Source Setting] dialog (Figure 487) will open. Modify setting and click on [OK].

On the [Data Source Setting] dialog, you can import CSV files from [External] tab. Refer to Graph window external data file (*.csv) for the format of the CSV file to import.

[Axis Setting] (A)

Description: Set axis setting.

When you select this, the [Axis Setting] dialog (Figure 492) will open. Modify setting and click on [OK]. A new graph will be made according to the settings.

../../_images/chart_axissetting_dialog.png

Figure 492 [Axis Setting] dialog

[Draw Setting] (D)

Description: Set the draw settings

When you select this, the [Draw Setting] dialog (Figure 493) will open. Modify setting and click on [OK]. A new graph will be made according to the settings.

../../_images/chart_display_setting_dialog.png

Figure 493 [Display Setting] dialog

[Marker Setting] (M)

Description: Set the marker settings

When you select this, the [Marker Setting] dialog (Figure 494) will open. Modify setting and click on [OK]. A new graph will be made according to the settings. Figure 495 shows an example of a [Graph Window] after setting up a marker.

../../_images/chart_marker_setting_dialog.png

Figure 494 [Marker Setting] dialog

../../_images/chart_marker_example.png

Figure 495 Example of the [Graph Window] after setting up a marker.

[Add KP Markers] (K)

Description: Add KP Markers for river survey data.

This function is available only when the following conditions are satisfied:

  • Graph for two-dimensional structured grid result is drawn.

  • X-axis is I-direction in the grid.

  • The grid is created using the algorithm “Create grid from river survey data”.

When you select this, the [Marker Setting] dialog (Figure 494) will open. Modify setting and click on [OK]. A new graph will be made according to the settings. Figure 496 shows an example of a [Graph Window] after setting up a marker.

../../_images/chart_kp_marker_example.png

Figure 496 Example of the [Graph Window] after adding KP markers

[Copy] (C)

Description: Copy the calculation result. The copied data is fixed when the user changes time step or the setting on the controller.

Figure 497 shows an example of a [Graph Window] after copying data.

../../_images/chart_copy_example.png

Figure 497 Example of the [Graph Window] after copying data

[Snapshot] (S)

Description: Save graph snapshots to image files.

When you select this, the [Snapshot Setting] dialog (Figure 498) will open. Setup setting, and click on [OK]. Saving snapshots will be started.

../../_images/chart_snapshot_setting_dialog.png

Figure 498 [Snapshot Setting] dialog

[CSV Export] (E)

Description: Save data to CSV files.

When you select this, the [CSV Export Setting] dialog (Figure 499) will open. Setup setting, and click on [OK]. Saving CSV files will be started.

../../_images/chart_csv_export_dialog.png

Figure 499 [CSV Export Setting] dialog