CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

Applying Filters to Multiples Files at Once

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 20, 2013, 04:24
Default Applying Filters to Multiples Files at Once
  #1
New Member
 
Join Date: Jun 2013
Posts: 4
Rep Power: 4
radtrav is on a distinguished road
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
radtrav is offline   Reply With Quote

Old   June 20, 2013, 18:21
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,257
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Warwick and welcome to the forum!

Quick answer:
Quote:
Originally Posted by wyldckat View Post
A few months ago, I explained how ParaView handles files in a temporal way. Start reading here: Temporal Analysis post #4
Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   June 24, 2013, 02:53
Default
  #3
New Member
 
Join Date: Jun 2013
Posts: 4
Rep Power: 4
radtrav is on a distinguished road
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 is offline   Reply With Quote

Old   June 24, 2013, 03:09
Default
  #4
New Member
 
Join Date: Jun 2013
Posts: 4
Rep Power: 4
radtrav is on a distinguished road
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 is offline   Reply With Quote

Old   June 24, 2013, 03:10
Default
  #5
New Member
 
Join Date: Jun 2013
Posts: 4
Rep Power: 4
radtrav is on a distinguished road
points to table filter**
radtrav is offline   Reply With Quote

Old   June 24, 2013, 16:36
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,257
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: Basic Paraview question - namely post #5.

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

Best regards,
Bruno
wyldckat is online now   Reply With Quote

Reply

Tags
filters, paraview, sph, sph method

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46


All times are GMT -4. The time now is 15:41.