CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ParaView (http://www.cfd-online.com/Forums/paraview/)
-   -   no output from particle pathlines (http://www.cfd-online.com/Forums/paraview/104423-no-output-particle-pathlines.html)

julietbravo July 9, 2012 11:07

no output from particle pathlines
 
*update*
The 'problem' is solved; it was actually working ok from the beginning, I just didn't realize that the trajectories are plotted progressively and that you need to advance a bit in time to actually see the trajectories :)


Hi,

I'm trying to plot the trajectories of Lagrangian particles, calculated in our LES code. At the moment I'm saving the data in .vtk format (postprocessing, obtained from NetCDF) as Polydata (points) with each time step in a different file. This works nicely for simple visualization, stepping through the different time steps, etc., but I can't calculate / plot particle pathlines from this data.

The data is stored as (for now in ASCII...):

Code:

## xxxxx1.vtk
# vtk DataFile Version 3.0
Lagrangian particles from UCLA-LES
ASCII
DATASET POLYDATA
POINTS  5 float
792.325684  12.585052  12.494672
792.326172  36.116016  12.503577
792.322937  59.644337  12.495874
792.324951  83.180580  12.498446
792.324951  106.728493 12.502646

## xxxxx2.vtk
# vtk DataFile Version 3.0
Lagrangian particles from UCLA-LES
ASCII
DATASET POLYDATA
POINTS  5 float
754.979492  14.267145  12.471093
754.939880  37.809696  12.515448
754.941772  61.322544  12.491261
754.950317  84.875916  12.486872
754.942749  108.422569 12.524429

etc. When plotting the ParticlePathlines->Particles (calculated with the Particle Pathlines filter) I'm left with a sufficient amount of particles (after masking), but somehow the ParticlePathlines->Pathlines doesn't seem to return any data.

1) Am I missing something; are there additional steps necessary to create the pathlines of am I doing something wrong?
2) Is this the correct way to go, saving all time steps in different files?

Any help will be greatly appreciated!

Best, Bart


All times are GMT -4. The time now is 10:54.