Showing CFD and DEM fields with paraview

Submitted by Alexandre Costa on Wed, 07/27/2011 - 15:01

Hi All,
When opening vtk_out0000.vtk
and CFD_0.vtk with paraview for
the ErgunMPI CFDEM test case displays
the CFD data in a large scale and the
DEM data reduces to a red dot. How can
I view the particles and the CFD data in
the same display ?
Any output is welcome.
Alex

AttachmentSize
Image icon Screenshot.png186.56 KB
ckloss's picture

ckloss | Wed, 07/27/2011 - 15:58

maybe you are working with an old pizza version? check if there is any "scaling/unscaling dump" written, which should not be the case

Christoph

Alexandre Costa | Wed, 07/27/2011 - 16:57

Hi Chris,
Thanks for the reply. My pizza session was like this :
> d = dump("post/dump.liggghts_init")
5000 10000 15000
read 3 snapshots
3 snapshots selected out of 3
assigned columns: id type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius
Unscaling dump ...
> v = vtk(d)
> v.manyGran("post/vtk_out")
Traceback (most recent call last):
File "", line 1, in
AttributeError: vtk instance has no attribute 'manyGran'
> v.many("post/vtk_out")
5000 10000 15000
wrote 3 snapshots in VTK format

Alexandre Costa | Thu, 07/28/2011 - 22:56

Thanks Chris,
I am working with the pizza issue.
Do you mean the dem data should be scaled to be able to
view both vtks with paraview ?
Wondering if you have for sharing some snapshots or pipeline setup of paraview working with cfdem cases.
Alex
P.S. Silly question : How can I attach a picture of my issue ? Unfortunatelly I
dont see any attach button available from my firefox browser.

ckloss's picture

ckloss | Fri, 07/29/2011 - 08:49

>>Do you mean the dem data should be scaled to be able to view both vtks with paraview ?
I meant that this message should not come up at all. You are probably using a Sandia version, not the latest version from this site

>>setup of paraview working with cfdem cases.
Simply load both vtk datasets, it should be as simple as that. The only thing is that you should use f**mToVTK instead of paraF**m, since then time is not in sync

>>How can I attach a picture of my issue?
You can do that by editing the thread. You can't attach a pic to a comment

Cheers,
Christoph

ckloss's picture

ckloss | Thu, 08/04/2011 - 16:17

Hi Alex, this is a typical scale/unscale issue. It should not arise when using the most recent pizza version from this site. If you are doing this in the frame of a coupled CFD-DEM run, make sure there are no d.scale(), d.unscale() commands in any of the scripts called. If there are any of these commands, remove them.

Christoph