viz superquadrics in paraview

Submitted by junchen00 on Fri, 08/26/2011 - 09:29

I have an idea about vizing the superquadrics using paraview.
first, creat a superquadric source;
then, read your vtk files including particles postions;
the last, use glyph with custom sources. The following image shows what I have done.

Chen

AttachmentSize
Image icon superquadric.png341.94 KB
ckloss's picture

ckloss | Fri, 08/26/2011 - 14:49

that looks very nice :-) so what VTK file did you use to generate this? seems you're able to account the different quaternion state of the particles?

Cheers, Christoph

dbreton's picture

dbreton | Fri, 08/26/2011 - 15:54

junchen00 - this is great, but unfortunately I am a bit lost two important stages:

* creating the data files - did you modify a pizza.py routine to produce the correct kind of file, or are you just using the standard

d=dump('dump.file'); v=vtk(d); v.manyGran();

to generate the VTK files?

* creating a custom filter within Paraview - I am not having much luck trying to figure out what the "custom filter wizard" is really asking me. Is this a filter you can post here and I can "import" or at least take a look at to figure out what I need to do on my end?

I am both quite new and quite interested in all of this, so I appreciate your time in sharing this...

Thanks-
DAN

junchen00 | Mon, 08/29/2011 - 05:24

to DAN:

1. yes, I'm just using the standard pizza to generate the VTK files;
2. the filter I mentioned is also a standard filter in paraview. You can find it in the menu filters -> Alphabetical -> Glypy with Custom Source.

Good Luck!