[vtkusers] Any more for Particle/Meshless formats

Lubos Brieda lbrieda at yahoo.com
Fri Jun 15 08:55:34 EDT 2012


Andy, I second George's response below. I have used the same approach when developing a VTK-based visualization program capVTE which was used to visualize animated rarefied gas / plasma simulation flows. It worked fine.


________________________________
 From: Andrew Parker <andy.john.parker at googlemail.com>
To: George Zagaris <george.zagaris at kitware.com> 
Cc: vtkusers at vtk.org 
Sent: Friday, June 15, 2012 8:52 AM
Subject: Re: [vtkusers] Any more for Particle/Meshless formats
 

Hi,

Just wanted to see if there were any more comments/input into the best way to read and write particle/meshless based formats for vtk and then subsequently paraview?

Anybody who has used vtk/paraview for lagrangian/SPH/DEM etc type approaches please feel free to chime-in indicating the best approach for constantly updating node positions, no associated connectivity, and unsteady data associated with those nodes as a function of space and time.

Questions are:  Which vtk file format and mesh format for the above.

Cheers again,
Andy


On 14 June 2012 16:34, George Zagaris <george.zagaris at kitware.com> wrote:

Yes, you are right. In what I described, you would need a file for
>each time-step. I don't know of an already implemented reader/writer
>that would allow you to store multiple time-steps in a single file. I
>cc'ed the list in case someone else has more ideas on this.
>
>Best,
>George
>
>On Thu, Jun 14, 2012 at 11:19 AM, Andrew Parker
>
><andy.john.parker at googlemail.com> wrote:
>> Hi,
>>
>> Thanks for that, I had this as my first idea but I'm right in thinking that
>> would require one file for every new position of particles?  Is there no way
>> to have that file store multiple position each associated with a time step
>> all in one file?  I'm guessing that's not a vtkUnstructuredGrid??  Is there
>> such a file?
>>
>> Cheers,
>> Andy
>>
>>
>> On 14 June 2012 15:59, George Zagaris <george.zagaris at kitware.com> wrote:
>>>
>>> One possibility is to store the particles in a vtkUnstructuredGrid
>>> where each cell is a VTK_VERTEX or you could have a single cell that
>>> is of type VTK_POLY_VERTEX. Then, you can attach PointData (vectors or
>>> scalars, etc.) as normal and read/write *.vtu files.
>>>
>>> Best,
>>> George
>>>
>>> On Thu, Jun 14, 2012 at 5:31 AM, Andrew Parker
>>> <andy.john.parker at googlemail.com> wrote:
>>> > Hi,
>>> >
>>> > Could I ask for a bit of help.  I'd like to visualise particle based
>>> > flows.
>>> >  My requirements are to be able to write(and read) a  vtk style file
>>> > that
>>> > paraview and read and animate.  I would like the file to have scalar and
>>> > or
>>> > vectors associated with each particle, there to be a relevant time step
>>> > per
>>> > "slot" in the file, and that each time step the particle positions are
>>> > updated and hence move.  I would like an animation to show the particles
>>> > moving, as a function of the new positions in the file, and not
>>> > inspecting a
>>> > vector field in the file and integrating to determine a new position.
>>> >
>>> > Any help really appreciated,
>>> >
>>> > Cheers again,
>>> > Andy
>>> >
>>> > _______________________________________________
>>> > Powered by www.kitware.com
>>> >
>>> > Visit other Kitware open-source projects at
>>> > http://www.kitware.com/opensource/opensource.html
>>> >
>>> > Please keep messages on-topic and check the VTK FAQ at:
>>> > http://www.vtk.org/Wiki/VTK_FAQ
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://www.vtk.org/mailman/listinfo/vtkusers
>>> >
>>
>>
>>
>>
>> --
>>
>> __________________________________
>>
>>    Dr Andrew Parker
>>
>>    Em at ilandrew.parker at cantab.net
>>
>>
>


-- 

__________________________________
   Dr Andrew Parker
   Em at ilandrew.parker at cantab.net

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120615/85bac6f6/attachment.htm>


More information about the vtkusers mailing list