CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Particle streamlines with paraview

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 5, 2006, 19:02
Default hi all, does somebody know
  #1
Senior Member
 
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 9
stephan is on a distinguished road
hi all,

does somebody know how to generate streamlines of lagrangian particles?
thanx in advance
stephan
stephan is offline   Reply With Quote

Old   February 6, 2006, 12:55
Default From my experience with paravi
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,926
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
From my experience with paraview (and the data that is written out by Foam) I'd tend to this answer: not without doing some programming

As it is that positional data of the particles is written out for the current timestep.

So there are two routes:
- write a filter for paraview that merges the particle data for some timesteps (good luck)
- rewrite the solver (==write a subclass to the particle class) to write data for one particle to one file (and then you'd still have to write a converter to get that stuff into paraview/VTK in a usable form)

The second approach has the avantage that you could visualize these trajectories with something like gnuplot if you don't need the fields-data.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   February 6, 2006, 13:06
Default Forgot. There's an 'easier' wa
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,926
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Forgot. There's an 'easier' way: if your particles are identified by an id and that id is written out (indexedParticle) the trajectory can be reconstructed from the regular data without modifying the solver (you'll have to write a script or a program anyway)

If I'm totally mistaken and there is another (easier) way to plot particle trajectories I'd be interested too.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   February 8, 2006, 06:33
Default hi bernhard,, thanx for the
  #4
Senior Member
 
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 9
stephan is on a distinguished road
hi bernhard,,

thanx for the answer. since i am not sure how to write the paraview filter, i will go the script-way. maybe it is enough to change the position-files...
stephan
stephan is offline   Reply With Quote

Old   July 3, 2009, 02:26
Default
  #5
Senior Member
 
ZHOU Bin
Join Date: Mar 2009
Location: Nanjing/Torino, Nanjing/Piemente, China/Italy
Posts: 164
Rep Power: 9
zhoubinwx is on a distinguished road
Send a message via ICQ to zhoubinwx Send a message via MSN to zhoubinwx Send a message via Skype™ to zhoubinwx
Hi Stephan,

Do you have made some script or you have some method to plot the particle pathline?

I am thinking about this as well.

Bin
zhoubinwx is offline   Reply With Quote

Old   July 4, 2009, 08:19
Default
  #6
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 9
flying is on a distinguished road
Hey gschaider:

Do you have finished the work? Would you like to give me some hint on it?

Thanks a lot
flying is offline   Reply With Quote

Old   July 6, 2009, 09:14
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,926
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by flying View Post
Hey gschaider:

Do you have finished the work? Would you like to give me some hint on it?
Which work are you referring to?

Bernhard
gschaider is offline   Reply With Quote

Reply

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
Streamlines in 3D SugIn FLUENT 5 July 10, 2009 03:13
Streamlines in Paraview fred OpenFOAM Paraview & paraFoam 4 November 2, 2008 12:36
Paraview PARTICLE TRACING simone Marras ParaView 0 March 2, 2007 08:01
Streamlines yolan CFX 1 August 25, 2006 10:16
HI all I cant find display button in paraview when i execute cavity tutorial there is only parameter button in the paraview chan OpenFOAM Paraview & paraFoam 2 February 13, 2006 08:37


All times are GMT -4. The time now is 05:37.