|
1 | 1 | # Flow visualization |
2 | 2 |
|
3 | | -Post-processed database in Silo-HDF5 format can be visualized and analyzed using VisIt. |
4 | | -VisIt is an open-source interactive parallel visualization and graphical analysis tool for viewing scientific data. |
| 3 | +Post-processed database in Silo-HDF5 format can be visualized and analyzed using Paraview and VisIt. |
| 4 | +After the post-processing of simulation data (see section [Running](running.md#running-1)), a directory named `silo_hdf5` contains a silo-HDF5 database. |
| 5 | +Here, `silo_hdf5/` includes a directory named `root/` that contains index files for flow field data at each saved time step. |
| 6 | + |
| 7 | +### Visualizing with Paraview |
| 8 | + |
| 9 | +Paraview is an open source interactive parallel visualization and graphical analysis tool for viewing scientific data. |
| 10 | +Paraview 5.11.0 has been confirmed to work with the MFC databases for some parallel environments. |
| 11 | +Nevertheless, installation and configuration of Paraview can be environment-dependent and are left to the user. |
| 12 | + |
| 13 | +The user can launch Paraview and open the index files under `/silo_hdf5/root`. |
| 14 | +Once the database is loaded, flow field variables contained in the database can be added to the render view. |
| 15 | +Further information on using Paraview can be found in the [documentation](https://docs.paraview.org/en/latest/). |
| 16 | +The figure below shows the iso-contour of the liquid void fraction (`alpha`) in the database generated by the example case `3D_sphbubcollapse`. |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | +*Iso-contour of the liquid void fraction (`alpha1`) in the database generated by example case `3D_sphbubcollapse`* |
| 21 | + |
| 22 | +### Visualizing data in cylindrical coordinates |
| 23 | + |
| 24 | +Visualizing data in cylindrical coordinates requires a coordinate transformation of the raw data in the database file. |
| 25 | +In Paraview, this coordinate transformation can be accomplished with the following steps: |
| 26 | + |
| 27 | +1. Apply a `clean to grid` filter to the raw data |
| 28 | + |
| 29 | +2. Apply a `calculator` filter to the cleaned data |
| 30 | + - Set the calulators `attribute type` to point data |
| 31 | + - Check the box for `Coordinate Results` |
| 32 | + - Enter the formulat `coordsX*cos(coordsY)*iHat + coordsX*sin(coordsY)*jHat + coordsZ*kHat` |
| 33 | + - click apply |
| 34 | + |
| 35 | +These steps will transform the raw data into cylindrical coordinates. |
| 36 | +For many cases, this step will require resizing of the render view window. |
| 37 | + |
| 38 | +## Visualizing with VisIt |
| 39 | + |
| 40 | +VisIt is an alternative open-source interactive parallel visualization and graphical analysis tool for viewing scientific data. |
5 | 41 | Versions of VisIt after 2.6.0 have been confirmed to work with the MFC databases for some parallel environments. |
6 | 42 | Nevertheless, installation and configuration of VisIt can be environment-dependent and are left to the user. |
7 | 43 | Further remarks on parallel flow visualization, analysis, and processing of the MFC database using VisIt can also be found in [Coralic (2015)](references.md#Coralic15) and [Meng (2016)](references.md#Meng16). |
8 | 44 |
|
9 | | -## Procedure |
10 | | - |
11 | | -After the post-processing of simulation data (see section [Running](running.md#running-1)), a directory named `silo_hdf5` contains a silo-HDF5 database. |
12 | | -Here, `silo_hdf5/` includes a directory named `root/` that contains index files for flow field data at each saved time step. |
13 | 45 | The user can launch VisIt and open the index files under `/silo_hdf5/root`. |
14 | 46 | Once the database is loaded, flow field variables contained in the database can be added to the plot. |
15 | | - |
16 | 47 | The figure below shows the iso-contour of the liquid void fraction (`alpha1`) in the database generated by the example case `3D_sphbubcollapse`. |
17 | 48 | For analysis and processing of the database using VisIt's capability, the user is encouraged to address [VisIt user manual](https://wci.llnl.gov/simulation/computer-codes/visit/manuals). |
18 | 49 |
|
|
0 commit comments