tadd comment on how to visualize the force network - sphere - GPU-based 3D disc… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit fe496a057a1479651f21c52e574e2e443f92aa13 | |
parent 19ee874f4e41593048ba67442f06de93a3eb7c3a | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 2 Jun 2017 14:04:53 -0400 | |
add comment on how to visualize the force network | |
Diffstat: | |
M python/sphere.py | 6 ++++++ | |
1 file changed, 6 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -1904,6 +1904,12 @@ class sim: | |
def writeVTKforces(self, folder = '../output/', verbose = True): | |
''' | |
+ Writes a VTK file with particle-interaction information to the | |
+ ``../output/`` folder by default. The file name will be in the format | |
+ ``<self.sid>.vtp``. The vtp files can be used to visualize the | |
+ particle interactions in ParaView. First use the "Cell Data to Point | |
+ Data" filter, and afterwards show the contact network with the "Tube" | |
+ filter. | |
:param folder: The folder where to place the output file (default | |
(default = '../output/') |