CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Applying Filters to Multiples Files at Once

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2013, 05:24
Default Applying Filters to Multiples Files at Once
  #1
New Member
 
Join Date: Jun 2013
Posts: 4
Rep Power: 13
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, 19:21
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: http://www.cfd-online.com/Forums/par...tml#post405668 post #4
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 24, 2013, 03:53
Default
  #3
New Member
 
Join Date: Jun 2013
Posts: 4
Rep Power: 13
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, 04:09
Default
  #4
New Member
 
Join Date: Jun 2013
Posts: 4
Rep Power: 13
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, 04:10
Default
  #5
New Member
 
Join Date: Jun 2013
Posts: 4
Rep Power: 13
radtrav is on a distinguished road
points to table filter**
radtrav is offline   Reply With Quote

Old   June 24, 2013, 17:36
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
filters, paraview, sph, sph method


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
An error in applying CFX files aja1345 CFX 1 October 19, 2016 17:29
The udf.h headers are unable to open- in VISUAL STUDIO 13 sanjeetlimbu Fluent UDF and Scheme Programming 4 May 2, 2016 06:38
UDF help for Rapid compression machine ECM. sanjeetlimbu Fluent UDF and Scheme Programming 0 March 17, 2015 23:45
Writing Case and Data Files Using Journal/Scheme Files svp Fluent UDF and Scheme Programming 0 April 5, 2011 12:04
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


All times are GMT -4. The time now is 00:16.