tadd comment on "cell data to point data" filter - sphere - GPU-based 3D discre… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit aea8ba623c76b3c2b9960a1806f79ddf1f3db490 | |
parent 1e0cfaf5fdee6153d9ebc8c24157096de9a3f620 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 7 May 2014 16:23:34 +0200 | |
add comment on "cell data to point data" filter | |
Diffstat: | |
M python/sphere.py | 21 +++++++++++++-------- | |
1 file changed, 13 insertions(+), 8 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -1359,6 +1359,14 @@ class sim: | |
default. The file name will be in the format ``fluid-<self.sid>.vti``. | |
The vti files can be used for visualizing the fluid in ParaView. | |
+ The scalars (pressure, porosity, porosity change) and the velocity | |
+ vectors are either placed in a grid where the grid corners correspond … | |
+ the computational grid center (cell_centered = False). This results in… | |
+ grid that doesn't appears to span the simulation domain, and values are | |
+ smoothly interpolated on the cell faces. Alternatively, the | |
+ visualization grid is equal to the computational grid, and cells face | |
+ colors are not interpolated (cell_centered = True, default behavior). | |
+ | |
The fluid grid is visualized by opening the vti files, and pressing | |
"Apply" to import all fluid field properties. To visualize the scalar | |
fields, such as the pressure, the porosity, the porosity change or the | |
t@@ -1379,18 +1387,15 @@ class sim: | |
big as the number of fluid cells in the grid. Press "Apply" to visuali… | |
the arrows. | |
+ To visualize the cell-centered data with smooth interpolation, and in | |
+ order to visualize fluid vector fields, the cell-centered mesh is | |
+ selected in the "Pipeline Browser", and is filtered using "Filters" -> | |
+ "Alphabetical" -> "Cell Data to Point Data". | |
+ | |
If several data files are generated for the same simulation (e.g. using | |
the :func:`writeVTKall()` function), it is able to step the | |
visualization through time by using the ParaView controls. | |
- The scalars (pressure, porosity, porosity change) and the velocity | |
- vectors are either placed in a grid where the grid corners correspond … | |
- the computational grid center (cell_centered = False). This results in… | |
- grid that doesn't appears to span the simulation domain, and values are | |
- smoothly interpolated on the cell faces. Alternatively, the | |
- visualization grid is equal to the computational grid, and cells face | |
- colors are not interpolated (cell_centered = True, default behavior). | |
- | |
:param folder: The folder where to place the output binary file (defau… | |
(default = '../output/') | |
:type folder: str |