|
[Sponsors] |
July 19, 2005, 10:25 |
Hi all,
I would like to post-
|
#1 |
Member
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17 |
Hi all,
I would like to post-process my diesel-spray cases with paraFoam. I am able to see all the "eulerian" fields, but I don't know how to see the lagrangian particles and all the variable related to them. Can anyone help me? Thanks in advance. Regards Tommaso |
|
July 19, 2005, 11:40 |
Not possible with paraFoam as
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Not possible with paraFoam as far as I can remember. Use foamToVTK instead.
Read the lagrangian data and 'Glyph' it. |
|
November 3, 2008, 00:28 |
Is there a way now to animate
|
#3 |
Member
roy fokker
Join Date: Mar 2009
Posts: 44
Rep Power: 17 |
Is there a way now to animate the particle (or droplets) movement with the results from the IcoLagrangianFoam? I have searched the wiki and found the following:
http://openfoamwiki.net/index.php/Main_FAQ#Postprocessing_of_Lagrangian_particle s 1. Run the foamToVTK post-processing utility. As with all OpenFOAM programs. 2. Read in your Eulerian data, if you wish 3. Read the Lagrangian data separately and 'Glyph' it. Glyphs are how Paraview represents point data. Usually, the sphere glyph is the most appropriate. When use glyph, we only see the particles in a specific time frame, is there a way to animate it? Like what we do for the volScalarField or volVectorField? Thanks! |
|
November 3, 2008, 07:58 |
Hi Roy!
The paraFoam that c
|
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Roy!
The paraFoam that comes with 1.5 has the ability to read lagrangian-data without converting it. If you're stuck with 1.4.x try using paraview 3.x. It recognizes a series of .vtk-files as a time-series and these can be "played" as animations (don't know about the paraview 2.x-series). If you're reading in two series of the same length, then these get played in synchronicity Bernhard
__________________
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 |
|
November 3, 2008, 11:16 |
Thanks, Bernhard, do you know
|
#5 |
Member
roy fokker
Join Date: Mar 2009
Posts: 44
Rep Power: 17 |
Thanks, Bernhard, do you know if there is already such examples (write particle data and then use foamToVTK) available? or I should start write my own script?
|
|
November 3, 2008, 14:35 |
Just run foamToVTK on your cas
|
#6 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Just run foamToVTK on your case. It will generate all the necessary data in a sub-directory named VTK in that case. The use "Open" in paraview
__________________
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 |
|
November 3, 2008, 15:02 |
Thanks, I didn't notice that p
|
#7 |
Member
roy fokker
Join Date: Mar 2009
Posts: 44
Rep Power: 17 |
Thanks, I didn't notice that paraview 3.4 does not need to "Glyph" for every time frame but only needs to Glyph once for the lagrangian data.
|
|
June 3, 2010, 21:47 |
|
#8 |
Member
Roro Wang
Join Date: Mar 2010
Location: Cambridge, MA, USA
Posts: 30
Rep Power: 16 |
Hi, all
The foamToVTK runs very well, but the eulerian and lagrangian field don't match in time. LagrangianFoam always goes with integral time, eulerian goes with real time. e.g. if my output time step is 0.1 s, 1st eulerian field is 0.1 s, but 1st lagrangian frame is at 1 s, i.e.the lagrangian field updates only when t=1, 2, 3 ..., eulerian updates at t=0.1 0.2 ... If the total number of frames are 100, eulerian field will finish showing up at t=10, (the time shows 10s in the toolbar) however, lagrangian field is still at t=1 s. afterwards, the lag field will update only to show all the frames. It seems lag field has no time infomation. any idea to solve this? Thanks. Roro |
|
June 4, 2010, 03:15 |
|
#9 |
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17 |
Hi,
it never happend to me, I have all the time progress I've computed with lagrang. fields. You may check the VTK directory foamToVTK created and have a look if you have a list of lagrangian data as well as eulerian. What version of paraview are you using? Get the latest 3.8 from http://www.paraview.org/paraview/res.../software.html - the precompiled version - and try it again. good luck matej |
|
April 4, 2011, 14:50 |
|
#10 | |
New Member
Prashant Gupta
Join Date: Mar 2011
Location: Edinburgh
Posts: 29
Rep Power: 15 |
Hey,
I have recently encountered same problem, did you find a solution to this problem of differnt time matching for Eulerian and Lagrangian? Please reply Best Wishes Prashant Quote:
|
||
April 4, 2011, 15:46 |
|
#11 |
Member
Roro Wang
Join Date: Mar 2010
Location: Cambridge, MA, USA
Posts: 30
Rep Power: 16 |
||
April 4, 2011, 16:04 |
|
#12 |
New Member
Prashant Gupta
Join Date: Mar 2011
Location: Edinburgh
Posts: 29
Rep Power: 15 |
Hey ,
I am using Paraview 3.8.1 , but its encountering the same problem. Do you have suggestions? While solving its solved for the Eulerian time step, but I do not why but while using foamToVTK and reading that to paraview, it runs for different time steps for Eulerian ( 0,0.01......0.1) and after that (1,....10) for lagrangian. I even tried renaming the VTK files, it still doesnt work. Please suggest. Best Wishes Prashant |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating Lagrangian particles for postprocessing | hjasak | OpenFOAM Post-Processing | 6 | July 2, 2008 11:59 |
[OpenFOAM] Animating Lagrangian Particles in ParaView | xiao | ParaView | 4 | April 8, 2008 03:24 |
maximum particles' volume fraction for Lagrangian | Itchie | CFX | 0 | March 19, 2008 11:06 |
lagrangian particles | allan | Siemens | 1 | August 18, 2004 06:01 |
Lagrangian FEM for CFD | Shyam | Main CFD Forum | 0 | January 20, 2004 00:44 |