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

Basic Paraview question

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 7, 2013, 01:58
Default Basic Paraview question
  #1
New Member
 
jha
Join Date: Nov 2009
Posts: 7
Rep Power: 7
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, 16:30
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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 - Highlighting specific points in a Paraview movie - but unfortunately I don't know the answer to that one.

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

Old   June 9, 2013, 23:23
Default
  #3
New Member
 
jha
Join Date: Nov 2009
Posts: 7
Rep Power: 7
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, 07:37
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Pradeep,

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 offline   Reply With Quote

Old   June 11, 2013, 07:57
Default
  #5
New Member
 
jha
Join Date: Nov 2009
Posts: 7
Rep Power: 7
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, 08:53
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

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
very basic question about createPhi.H feldy77 OpenFOAM Meshing & Mesh Conversion 2 November 22, 2011 09:16
Basic question on motorBike tutorial newToOpenFoam OpenFOAM Running, Solving & CFD 2 July 14, 2011 09:50
A basic Gmsh question: 1D transfinite the_phew Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 May 10, 2011 10:58
Basic Question Abhi FLUENT 1 August 4, 2007 08:07
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19:01


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