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

how to visualize lagrangian data

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 15, 2012, 22:44
Default how to visualize lagrangian data
  #1
New Member
 
Li Fei
Join Date: Jan 2011
Posts: 3
Rep Power: 6
leefei is on a distinguished road
hi all,

I'm using OpenFOAM 2.1.0.
And I have run the new tut cases hopperInitialState and hopperEmptying with the new solver icoUncoupledKinematicParcelFoam.
It run successfully.
However, when I use paraview to see the result data, I can't find any options to visualize the particle data. What should I do to achieve that?

Thanks.
leefei is offline   Reply With Quote

Old   March 19, 2012, 08:56
Default
  #2
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 122
Rep Power: 9
eelcovv is on a distinguished road
Use 'ExtractBlock' to select the lagrangian cloud. Then you can add glyphs at the selected particle positions.

Alternatively: use the particleTracks utility to create tracks from the position. Each track is solved as a vtk file, which you can directly read into paraview. An improved version of particleTracks can be found in my other post
dispersion model with lagragian particle tracking model for incompressible flows
It removes a bug and also more output options have been added.

Regards
Eelco
eelcovv is offline   Reply With Quote

Old   March 20, 2012, 10:21
Default
  #3
New Member
 
Li Fei
Join Date: Jan 2011
Posts: 3
Rep Power: 6
leefei is on a distinguished road
Hi Eelco,

I used 'ExtractBlock' and selected lagrangian cloud. And then I tried to glyth the cloud as 'sphere' with particle diameter. However I could not do that, because I can't find any parameter in 'Scalars' and also in 'Vectors'.
I run the tut case hopperInitialState as it without any change.

The same problem was also found for the tut case hopperEmptying. And in that case, I could not even found lagrangian cloud in 'ExtractBlock' .

Thanks,

Lee
leefei is offline   Reply With Quote

Old   March 21, 2012, 05:06
Default
  #4
New Member
 
Li Fei
Join Date: Jan 2011
Posts: 3
Rep Power: 6
leefei is on a distinguished road
I found the problem. There is no particle in timestep 0. When I forward the timestep, the particles appears.

However, for the case hopperEmptying, there is still no particles at any step.
leefei is offline   Reply With Quote

Old   April 2, 2012, 09:24
Default
  #5
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 122
Rep Power: 9
eelcovv is on a distinguished road
May be I should remark that for the Glyphs filter in order for the 'Scalars' selection list to become availble, you should change 'Scale Mode' from 'Vector' to 'Scalar' Then the list of scalars becomes avaible and you can select for instance 'd'. But I guess you have found it already.
eelcovv 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
Sampling lagrangian data farbfilm OpenFOAM Post-Processing 18 May 11, 2015 05:55
fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 12 May 2, 2013 10:52
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
retrieve data from the Lagrangian phase in a cyclone separator HugoRodrigues CD-adapco 0 April 16, 2009 04:21
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


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