Can't view results in paraview, using bingle_chk.py demo

Asked by andybond13

Hello,

I'm a new user to ESyS-Particle, having installed it on my ubuntu system via the Ubuntu Software System, going through the demos and I've been trying to plot in Paraview, but to no avail. I'm using the bingle_chk.py demo file, which runs flawlessly and then running dump2vtk on the result files to convert them to vtu's. The vtu's seem to have the correct data in them (current location, original, velocity, id, tag, etc.), but when putting them into paraview, nothing plots.

I explored this topic, https://answers.launchpad.net/esys-particle/+question/224323 , but it didn't seem to be quite right for me, since my data files do say "Dimension 3D" and my vtu files do have information in them. Paraview shows 0 cells, 2 points with data arrays of displacement, Id, initialposition, particleTag, radius, velocity, bondStrain, and bondTag. However, the only option to color by is solid color, and nothing shows up. Warping by displacement, for example, doesn't show anything either.

Any thoughts on what I'm doing wrong?

Thanks for any help!

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Dion Weatherley
Solved:
Last query:
Last reply:
Revision history for this message
Best Dion Weatherley (d-weatherley) said :
#1

Hi Andy,

I think you probably have no technical problems here but rather just hit a common problem within using Paraview to visualise simulations involving only unbonded particles. Paraview is designed predominantly for visualising mesh-based data-sets. When visualising purely point data (as is the case for bingle.py), one needs to make use of 'glyphs' in order to see the particles. This document explains how to use glyphs for visualising particles using Paraview:
http://shake200.esscc.uq.edu.au/bin/twiki/viewfile/ESSCC/DocumentationAndPresentations?rev=1;filename=ParaviewSphereVisInstructions.pdf

Cheers,

Dion

Revision history for this message
Anton Gladky (gladky-anton) said :
#2

Hi all,

I would suggest also to use PointSprite plugin for sphere visualization [1].
It works much faster as a standard glyph.

Cheers,

Anton

[1] https://www.yade-dem.org/doc/user.html?highlight=pointsprite#rendering-spherical-particles-pointsprite

Revision history for this message
Feng Chen (fchen3-gmail) said :
#3

Hi, Anton:

Indeed! Very agree with you. However what if the particle # goes to 10E+7? Thought of using VMD?

Feng

Revision history for this message
andybond13 (andybond13) said :
#4

Thanks Dion Weatherley, that solved my question.

Revision history for this message
andybond13 (andybond13) said :
#5

Thanks for your time Dion, it worked just as the document said and I wrote a macro to make those settings changes for me. Anton, my Paraview doesn't have that plugin, is that a standard inclusion or an add-on?