CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ParaView (http://www.cfd-online.com/Forums/paraview/)
-   -   Applying Filters to Multiples Files at Once (http://www.cfd-online.com/Forums/paraview/119584-applying-filters-multiples-files-once.html)

radtrav June 20, 2013 04:24

Applying Filters to Multiples Files at Once
 
Hello All,

This is my first time using this forum, however I have browsed it before in the past. Thanks in advance for my question, I am sorry if it is a dumb question , but I have searched every where for an answer.

Basically I am running an sph code, and I am outputting the positions to a a csv file at every step. Obviously this results in a quite a few files. I am unsure of how to mass apply filters to these point files, obviously doing this one file at a time is quite slow. I would like to apply the filter to the files and then flip through each scene. To view it in real time as per the time step. Am I going about this the wrong way is there perhaps a better way to do this other than export to csv and then plotting the points for each scene? Any advice would be appreciated. I am quite new to paraview and particle simulation in general.



Thanks alot in advance

-Warwick

wyldckat June 20, 2013 18:21

Greetings Warwick and welcome to the forum!

Quick answer:
Quote:

Originally Posted by wyldckat (Post 433083)
A few months ago, I explained how ParaView handles files in a temporal way. Start reading here: http://www.cfd-online.com/Forums/par...tml#post405668 post #4

Best regards,
Bruno

radtrav June 24, 2013 02:53

thanks alot for your reply! Previously i was using .csv to view my data. however as per your suggestion i have tried to write my date straight to .vtk, as I can put more particle information in this format. for some reason though I can not display the points in the 3d view. I can import the file fine, and when i look at the spreadsheet view the there are two columns, one with the id and the other with the xyz positions. I have tried viewing example files that are definetly in the correct format and they too can be viewed in the spreadsheet view but not in the 3d view for some reason. any advice would be once again greatly appreciated.

thanks

radtrav June 24, 2013 03:09

I have created a csv file with exactly the same points as the vtk file. I add the points to points filter which combines the xyz terms. It looks exactly identical to vtk file ,except I can view it in 3d mode. why is this? I am so confused

0, 3, 5,
1, 0, 5,
1, 1, 0,
0, 1, 9,
0.5, 1.3, 0,


# vtk DataFile Version 3.0
stirrer block 4
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 5 float
0 3 5
1 0 5
1 1 0
0 1 9
0.5 1.3 0

radtrav June 24, 2013 03:10

points to table filter**

wyldckat June 24, 2013 16:36

Hi Warwick,

Sorry, I was in a hurry the other day and didn't manage to give a summary idea. Today is another day with little time, so please check this post: http://www.cfd-online.com/Forums/par...tml#post433354 - namely post #5.

And a tip about this forum: you can edit your own posts! ;)

Best regards,
Bruno


All times are GMT -4. The time now is 14:57.