Showing CFD and DEM fields with paraview

Submitted by Alexandre Costa on
Attachment Size
Screenshot.png 186.56 KB
Alexandre Costa

In reply to by anonymous_stub (not verified)

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

Wed, 27 Jul 2011 - 16:57 Permalink
Alexandre Costa

In reply to by anonymous_stub (not verified)

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.

Thu, 28 Jul 2011 - 22:56 Permalink
ckloss

In reply to by anonymous_stub (not verified)

>>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

Fri, 29 Jul 2011 - 08:49 Permalink
ckloss

In reply to by anonymous_stub (not verified)

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

Thu, 4 Aug 2011 - 16:17 Permalink

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