<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Paraview users,<br>
<br>
I am using the paraview version 4.1.0 to display forces between
nanoparticles from a Discrete Element simulation. For the
visualization I create vtk-files that look like the following
minimal example:<br>
<br>
<br>
<i># vtk DataFile Version 2.0</i><i><br>
</i><i>Generated by lpp.py</i><i><br>
</i><i>ASCII</i><i><br>
</i><i>DATASET POLYDATA</i><i><br>
</i><i>POINTS 2 float</i><i><br>
</i><i>0.0 0.0 0.0</i><i><br>
</i><i>0.0 0.0 2e-09</i><i><br>
</i><i>LINES 1 3</i><i><br>
</i><i>2 0 1</i><i><br>
</i><i><br>
</i><i>CELL_DATA 1</i><i><br>
</i><i>VECTORS f_pair float</i><i><br>
</i><i>0.0 0.0 -2.12063e-08</i><i><br>
</i><i>SCALARS f_tot float 1</i><i><br>
</i><i>LOOKUP_TABLE default</i><i><br>
</i><i>2.12063e-08</i><i><br>
</i><i><br>
</i><i>POINT_DATA 2</i><i><br>
</i><i>VECTORS i float</i><i><br>
</i><i>0.0 0.0 0.0</i><i><br>
</i><i>0.0 0.0 0.0</i><i><br>
</i><i>VECTORS f float</i><i><br>
</i><i>0.0 0.0 0.0</i><i><br>
</i><i>0.0 0.0 0.0</i><i><br>
</i><i>VECTORS omega float</i><i><br>
</i><i>0.0 0.0 0.0</i><i><br>
</i><i>0.0 0.0 0.0</i><i><br>
</i><i>VECTORS v float</i><i><br>
</i><i>0.0 0.0 0.0</i><i><br>
</i><i>0.0 0.0 -0.4</i><i><br>
</i><i>SCALARS radius float 1</i><i><br>
</i><i>LOOKUP_TABLE default</i><i><br>
</i><i>1.53e-09</i><i><br>
</i><i>1.53e-09</i><i><br>
</i><i>SCALARS type float 1</i><i><br>
</i><i>LOOKUP_TABLE default</i><i><br>
</i><i>1.0</i><i><br>
</i><i>1.0</i><i><br>
</i><i>SCALARS id float 1</i><i><br>
</i><i>LOOKUP_TABLE default</i><i><br>
</i><i>1.0</i><i><br>
</i><i>2.0</i><br>
<br>
<br>
The lines defined in this file connect the particle centers and the
CELL_DATA VECTORS and SCALARS represent the interparticle force
vector and the absolute force respectively.<br>
With this file I try to visualize the force by a tube with varying
radius and color depending on the magnitude of the vorce vector
using paraview 4.1.0. To this aim I use the Filters
"CellDatatoPointData"-->"Tube". In the scalars and Vectors field
of the "Tube"-filter I can choose the variables "<i>f_tot</i>" and
"f_pair" from the vtk-file, but if I try to scale the radius by
vector, there is no visible variation of the radius independent of
the values in "Radius" and "Radius Factor". The only way to receive
a varying radius is choosing the option "Vary radius By Absolute
Scalar" but then I cannot manipulate the minimum and maximum
thickness of the tube by using the values of "Radius" and "Radius
Factor". Thus I receive a too large tube.<br>
Do I miss something basic here? Could anyone give me a hint how to
customize the visualization properly?<br>
Thanks a lot<br>
<br>
Best Whishes<br>
Jens Laube<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dipl.-Ing. Jens Laube
Hybrid Materials Interfaces Group
Universität Bremen
Am Fallturm 1, D-28359 Bremen
Tel. +49 421 218 64574
Fax +49 421 218 64599
<a class="moz-txt-link-abbreviated" href="mailto:jlaube@hmi.uni-bremen.de">jlaube@hmi.uni-bremen.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.hmi.uni-bremen.de">www.hmi.uni-bremen.de</a>
</pre>
</body>
</html>