Hi all
I am using ParaView to view LIGGGHTS dump files after converting to vtk format. However, the rendering is not so good, as I see only the centres particles. How can I change this, so that I can view complete particles? (I have attached an image showing what I mean)
Thanks,
Joel
Attachment | Size |
---|---|
![]() | 29.42 KB |
richti83 | Thu, 03/03/2016 - 15:45
Use representation
Use representation PointSprite (needs to be enabled in Tools->Manage Plugins)
see http://www.richtisoft.de/transfer/howto_paraview.pdf chapter 2
For less particles you can attach a Glyph filter to the dump data with style sphere.
Joel Martis | Thu, 03/03/2016 - 19:44
I'm getting an error
I read through your tutorial and I seem to get an error while setting 'scale by' to radius in the 'Display Tab'. The error is:
ERROR: In /home/openfoam/OpenFOAM/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLProperty.cxx, line 231
vtkPointSpriteProperty (0x44e47c0): Shaders are not supported by this context.
shawnwuch | Tue, 03/22/2016 - 01:42
A follow-up question
I tried to use point sprite to visualize a bidisperse packing but failed to show the smaller particles. Is this approach only applicable to monodisperse systems? Is there any good way to export a sphere packing generated by LIGGGHTS into .stl files? Thanks for your help!
Shawn
shawnwuch | Tue, 03/22/2016 - 01:55
Found what's wrong
I solve the first problem by unclicking the "use scalar range" tab.
Still open to any suggestions on exporting solid packing to stl files... thanks!
aaigner | Thu, 03/03/2016 - 18:15
ParaView 5.0.0
Hi everybody..
For ParaView 5.0.0-RC1 PointSprite is no longer available (except you compile it yourself). But there is a new approach
Choose Point Gaussian
under the Point Gaussian settings choose:
Works like a charm. :-)
Bests
Andreas
Joel Martis | Thu, 03/03/2016 - 19:45
Hi Andreas
I can't seem to find the Point Gaussian plugin. Is it something I need to install myself?
richti83 | Fri, 03/04/2016 - 08:15
You need a proper OpenGL Display driver
Shaders are not supported by this context
You need a proper OpenGL Display driver (when you own a NVIDIA card: disable nouveau and install nvidia proprietary driver, when you own a radeon card or using mesa driver on a cluster I can't help you, ask the paraview mailing list)
govind | Wed, 08/23/2017 - 07:22
2D VIEW
Hi All
How do I visualize the particles in 2D? I try with clip in paraview but it doesn't give what I mean. At a particular instant of time I want to see only particles at that plane only.
Can anyone tell me ?
Govind
richti83 | Tue, 09/05/2017 - 08:03
Use two clips
You can use two clips. For example when you want to clip in Y-direction use clip1 0/-0.01/0 and attach a 2nd clip to this clip use 0/0.01/0 and enable [x] Inside Out.
Or use a calculator-filter expression: coordsY and attach a threshold filter with "Scalars"=Result (of calculator) and min/max=-0.01/0.01.