|
[Sponsors] |
[OpenFOAM] Particle streamlines with paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 5, 2006, 19:02 |
Particle streamlines with paraview
|
#1 |
Senior Member
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 17 |
hi all,
does somebody know how to generate streamlines of lagrangian particles? thanx in advance stephan |
|
February 6, 2006, 12:55 |
From my experience with paravi
|
#2 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
February 6, 2006, 13:06 |
Forgot. There's an 'easier' wa
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
February 8, 2006, 06:33 |
hi bernhard,,
thanx for the
|
#4 |
Senior Member
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 17 |
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 |
|
July 3, 2009, 03:26 |
|
#5 |
Senior Member
|
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 |
|
|
|
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 |