[vtkusers] How to handle fluid data in a LSDyna database

David Thompson dcthomp at sandia.gov
Tue Nov 2 20:38:08 EDT 2010


Hi Viet,

> I would like to have information about the way to handle fluid data  
> in a
> lsdyna database using VTK.
>
> I have read the documentation of the vtkLSDynaReader class but cannot
> figure out how to use it for tracking the trajectories of particles of
> gas in a lsdyna database.

I'm not sure what type of simulation output you have: a continuum  
simulation or a smooth particle hydrodynamics (SPH) simulation.

With continuum simulations, if you've configured LDSyna to write the  
output velocity, it should be present in the multiblock output for the  
cells over which you're simulating fluid flow (block 0 for solids, 2  
for shells, etc.). You can then use vtkStreamTracer to create particle  
trajectories.

If you're using SPH, the LSDyna reader should produce a multiblock  
dataset whose last block (block 6, counting from 0) is a  
vtkUnstructuredGrid containing the SPH state. The unstructured grid  
should have one VTK_VERTEX cell for each point.

> Is some guidelines or tutorials on handling fluid data using the  
> vtkLSDynaReader class? ...


Not beyond the Doxygen documentation in the header file.

	David




More information about the vtkusers mailing list