← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3966: User's manual, added how to visualize force chain in Paraview

 

------------------------------------------------------------
revno: 3966
committer: Jan Stránský <jan.stransky@xxxxxxxxxxx>
timestamp: Tue 2016-11-08 17:18:55 +0100
message:
  User's manual, added how to visualize force chain in Paraview
modified:
  doc/sphinx/user.rst


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'doc/sphinx/user.rst'
--- doc/sphinx/user.rst	2016-09-20 23:49:38 +0000
+++ doc/sphinx/user.rst	2016-11-08 16:18:55 +0000
@@ -1518,6 +1518,17 @@
 * "Point Sprite -> Scale By -> radii"
 * "Edit Radius Transfer Function -> Proportional -> Multiplier = 1.0 -> Close"
 
+Rendering interactions as force chain
+"""""""""""""""""""""""""""""""""""""""""""
+
+Data saved by ``VTKRecorder`` (the steps below generates cones rahter than tubes) or ``export.VTKExporter(...).exportInteractions(what=[('forceN','i.phys.normalForce().norm()')])`` (the steps below generates per interaction tubes with constant radius):
+
+* Load interactions VTP or VTK files
+* Filters -> Cell Data To Point Data
+* Filters -> Tube
+* Set color by "forceN"
+* Set "Vary Radius" to "By Scalar"
+* Set "Radius" and "Radius Factor" such that the result looks OK (in 3D postprocessing tutorial script, Radius=0.0005 and Radius Factor=100 looks reasonably)
 
 Facet transparency
 """""""""""""""""""