Hello,
When I'm processing the dump-files of the example "pour-dev" I get a file named tmp.vtk. After opening this one with Paraview, I am not able to see the particles falling and so on - I just see all the positions over time of all particles in one picture. Where is the problem?
Do I have to tell it to LAMMPS/LIGGGHTS that it should dump in a different way?
Thanks in advance!
JF | Mon, 04/04/2011 - 16:27
Hi, Do you extract the
Hi,
Do you extract the tmp.vtk files from pizza.py by following this command:
d=dump("dump.mySimulation")
d.scale()# the scale is sometimes necessary, not systematically
v=vtk(d)
v.manyGran()
In Paraview, do you use Glyph to visulize the spheres ?
Regards
JF
Silias | Wed, 04/06/2011 - 13:51
Hi JF, thanks very much, with
Hi JF,
thanks very much, with your commands everything is working fine!
Yes :) but now, as you already assumed, I cannot visualize the spheres... I tried to use Glyph, but I don't really know how it works. Can you help me with this issue?
Thanks in advance,
Silias
JF | Wed, 04/06/2011 - 15:53
Hi Silias, You have two
Hi Silias,
You have two possibilities to visualize the particles with Paraview:
1) Point Sprite (the best one) :
Different steps given by Andrea :
a) In Paraview, you need to select the Point Sprite plugin
b) Point Sprite Mode: Sphere
c) Scale by: radius
d) Edit radius transfer function: untick Use Scalar Range and tick Proportionnal
2) Glyph:
a) You need to select the Glyph.
b) In the Glyphs properties you choose:
Scalars: radius
Glyph type: Sphere
Radius: 1.0
Scale Mode: scalar
Set Scalar Factor: 1.0
You have to untick: Mask points and Random Mode
Regards
JF
carlesbp | Fri, 02/28/2014 - 16:43
visualize animation in Paraview
Hi, my name is Carles and I am facing the same problem. I try to follow the procedure specified. I can only convert as much dump files as I write in the function , and the converted files are pictures of each time step. How can I get the animation in Paraview?
My actual procedure is:
I place myself in the post folder with all the dump files.
I call pizza.py and start with the
Then I get the tmp.vtk file.
Many thanks in advance!!!
Carles
carlesbp | Fri, 02/28/2014 - 16:48
missing function
Sorry, the comment is missing the function I am calling after initializing pizza:
d = dump("dump.name of my dump file")