You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/visualization.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
# Flow visualization
2
2
3
-
Post-processed database in Silo-HDF5 format can be visualized and analyzed using Paraview and VisIt.
3
+
A post-processed database in Silo-HDF5 format can be visualized and analyzed using Paraview and VisIt.
4
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
5
Here, `silo_hdf5/` includes a directory named `root/` that contains index files for flow field data at each saved time step.
6
6
7
7
### Visualizing with Paraview
8
8
9
-
Paraview is an opensource interactive parallel visualization and graphical analysis tool for viewing scientific data.
9
+
Paraview is an open-source interactive parallel visualization and graphical analysis tool for viewing scientific data.
10
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.
11
+
Nevertheless, the installation and configuration of Paraview can be environment-dependent and are left to the user.
12
12
13
13
The user can launch Paraview and open the index files under `/silo_hdf5/root`.
14
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/).
15
+
Further information on Paraview can be found in its[documentation](https://docs.paraview.org/en/latest/).
16
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
17
18
18

@@ -27,13 +27,13 @@ In Paraview, this coordinate transformation can be accomplished with the followi
27
27
1. Apply a `clean to grid` filter to the raw data
28
28
29
29
2. Apply a `calculator` filter to the cleaned data
30
-
- Set the calulators`attribute type` to point data
30
+
- Set the calculator`attribute type` to point data
31
31
- Check the box for `Coordinate Results`
32
-
- Enter the formulat`coordsX*cos(coordsY)*iHat + coordsX*sin(coordsY)*jHat + coordsZ*kHat`
32
+
- Enter the formula`coordsX*cos(coordsY)*iHat + coordsX*sin(coordsY)*jHat + coordsZ*kHat`
33
33
- click apply
34
34
35
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.
36
+
For many cases, this step will require resizing the render view window.
37
37
38
38
## Visualizing with VisIt
39
39
@@ -53,9 +53,9 @@ For analysis and processing of the database using VisIt's capability, the user i
53
53
54
54
## Serial data output
55
55
56
-
If `parallel_io = F` then MFC will output the conservative variables to a directory `D/`.
56
+
If ``parallel_io = 'F'``, MFC will output the conservative variables to a directory `D/`.
57
57
If multiple cores are used ($\mathtt{ppn > 1}$), then a separate file is created for each core.
58
-
If there is only one coordinate dimension (`n = 0` and `p = 0`), the primitive variables will also be written to `D/`.
58
+
If only one coordinate dimension (`n = 0` and `p = 0`) exists, the primitive variables will also be written to `D/`.
59
59
The file names correspond to the variables associated with each equation solved by MFC.
60
60
They are written at every `t_step_save` time step.
61
61
The conservative variables are
@@ -70,7 +70,7 @@ where $N_c$ are the number of components `num_fluids` and $N_d$ is the number of
70
70
There are exceptions: if `model_eqns = 3`, then the six-equation model appends these variables with the internal energies of each component.
71
71
If there are sub-grid bubbles `bubbles = T`, then the bubble variables are also written.
72
72
These depend on the bubble dynamics model used.
73
-
If `polytropic = T`, then the conservative variables are appended by
73
+
If ``polytropic = 'T'``, then the conservative variables are appended by
0 commit comments