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

[OpenFOAM] Particle streamlines with paraview

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2006, 19:02
Default Particle streamlines with paraview
  #1
Senior Member
 
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 17
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: 4,225
Rep Power: 51
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: 4,225
Rep Power: 51
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: 17
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, 03:26
Default
  #5
Senior Member
 
ZHOU Bin
Join Date: Mar 2009
Location: Nanjing/Torino, Nanjing/Piemente, China/Italy
Posts: 164
Rep Power: 17
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, 09:19
Default
  #6
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 16
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, 10:14
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] Too short streamlines in Paraview taalf ParaView 20 February 25, 2016 21:04
[General] graph of scour (interface) development of particle (granular) bed in paraview ali_atrian ParaView 1 October 4, 2015 16:11
[OpenFOAM] How to do particle tracking animation with Paraview? John.I ParaView 3 June 24, 2015 10:45
injection problem Mark New FLUENT 0 August 4, 2013 02:30
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


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