tadd comment on "cell data to point data" filter - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit aea8ba623c76b3c2b9960a1806f79ddf1f3db490
(DIR) parent 1e0cfaf5fdee6153d9ebc8c24157096de9a3f620
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) 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 to
+ the computational grid center (cell_centered = False). This results in a
+ 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 visualize
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 to
- the computational grid center (cell_centered = False). This results in a
- 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 (default
(default = '../output/')
:type folder: str