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

[General] Basic Paraview question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2013, 02:58
Default Basic Paraview question
  #1
New Member
 
jha
Join Date: Nov 2009
Posts: 7
Rep Power: 16
jhapk is on a distinguished road
Hello,

how should I store the coordinates of a particle so that paraview can read it and I can do visualize some particles in a 3D cube of 512x512x512.

Pradeep
jhapk is offline   Reply With Quote

Old   June 9, 2013, 17:30
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 Pradeep,

The simplest is to save the list of points of the centre of the particles into a CSV file and then import it into ParaView.

Best regards,
Bruno

edit: I saw your other thread related to this - http://www.cfd-online.com/Forums/par...iew-movie.html - but unfortunately I don't know the answer to that one.
__________________

Last edited by wyldckat; June 9, 2013 at 17:31. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   June 10, 2013, 00:23
Default
  #3
New Member
 
jha
Join Date: Nov 2009
Posts: 7
Rep Power: 16
jhapk is on a distinguished road
But your solution sounds for plotting many particles at one time instant. How do I input a time varying solution? Can you please give me a brief example?
jhapk is offline   Reply With Quote

Old   June 10, 2013, 08:37
Default
  #4
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 Pradeep,

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 11, 2013, 08:57
Default
  #5
New Member
 
jha
Join Date: Nov 2009
Posts: 7
Rep Power: 16
jhapk is on a distinguished road
Thank you very much. It works just as I wanted now. I have another question. I specify the coordinates in each file, for example:

contents of fileXXX.csv
z*,y*,z*

I have 100 files like these. But These files correspond to times 0, 6, 12, ...600 and not 0,1,2,..100.

I am plotting these particles with another data set for which the times are mentioned clearly in the xmf file. So when I plot these two together, while I want both of them to move in sync, PV plots six csv files for every time interval of the other data set. So these two data sets are not in sync. How can I specify the time in the csv files?
jhapk is offline   Reply With Quote

Old   June 15, 2013, 09:53
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 Pradeep,

Have you tried the following?
Code:
file000.csv
file006.csv
file012.csv
...
file600.csv
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
paraview 3.98


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
Basic question on motorBike tutorial newToOpenFoam OpenFOAM Running, Solving & CFD 2 July 14, 2011 10:50
[Gmsh] A basic Gmsh question: 1D transfinite the_phew OpenFOAM Meshing & Mesh Conversion 0 May 10, 2011 11:58
basic question about the pressure AirS OpenFOAM Post-Processing 5 July 29, 2010 13:07
Basic Question Abhi FLUENT 1 August 4, 2007 09:07
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 20:01


All times are GMT -4. The time now is 02:50.