Viewing Omega3P Results
=======================

With the computed results downloaded to the local filesystem, you can use the interactive :program:`ParaView` features to construct visualization pipelines and display the data.


.. rst-class:: step-number

12\. Display the Results Data

When the results data files were downloaded in the previous step, a :program:`ParaView` tool button was enabled in the job details widget.

.. image:: images/render-toolbutton-highlight.png
    :align: center

Click on that tool button now to display data in a new render view. :program:`ModelBuilder` first opens a popup dialog listing the mode files that were downloaded for this job.

.. image:: images/select-mode-files.png
    :align: center

Select any of the files in the list and click the dialog :guilabel:`OK` button. ModelBuilder will the load that data and display it in a new render view. With the new view selected (active), you can use the render view :guilabel:`Maximize` button to fill the viewport.

.. image:: ./images/maximize-view.png
    :align: center

You can also close the :guilabel:`Output Messages` view to make more space for viewing the results.

.. image:: ./images/results-data.png
    :align: center


.. rst-class:: step-number

13\. Load SLACTools Plugin

With the results data loaded, you can also use the SLACTools plugin to select from a set of standard display features for :program:`ACE3P` datasets. To load the SLACTools toolbar, open the :guilabel:`Tools` menu and select the :guilabel:`Manage Plugins...` item to open the Plugin Manager dialog. Find and click on the :guilabel:`SLACTools` item in the dialog and then click the :guilabel:`Load Selected` button.

.. note::

    Be sure load the SLACTools plugin *after* loading the results data, otherwise the toolbar will not be enabled. A software change to SLACTools has been made to resolve this shortcoming; that update will be available with :program:`ParaView` version 5.11.


.. rst-class:: step-number

14\. Enable ParaView Features

By default, :program:`ModelBuilder for ACE3P` hides the :program:`ParaView` pipeline inspector and related toolbars and filters. To see them, find and click the toolbar button with a gray :program:`ParaView` icon. Once clicked, the button will change to display the familiar red-green-blue logo, the :guilabel:`Pipeline Browser` will be displayed in the sidebar, and several additional :program:`ParaView` toolbars will be displayed.

.. image:: images/paraview-toolbutton.png
    :align: center


.. rst-class:: step-number

15\. Show Properties View

In the :guilabel:`View` menu, enable the :guilabel:`Properties` item. You can arrange the views as you like, and close those you no longer need.

At this point, you can use all of the :program:`ParaView` and SLACTools features to visualize your project data including the fields generated by the :program:`Omega3P` simulation. Here is an example with vertically-stacked render views of the input geometry and results data, using a common (linked) camera view point. The Properties View is docked with other tabs in the left sidebar and the Pipeline Browser docked as the right-hand sidebar.

.. image:: images/results-view.png
    :align: center
