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

[OpenFOAM] how to visualize lagrangian data

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 15
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: 124
Rep Power: 19
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
http://www.cfd-online.com/Forums/ope...ble-flows.html
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: 15
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: 15
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, 10:24
Default
  #5
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19
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 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
UDF value to large for defined data type Anna73 Fluent UDF and Scheme Programming 9 September 30, 2018 23:18
ReconstructPar Error for Lagrangian data in OF2.3 MPJntu OpenFOAM 3 April 18, 2018 11:21
Run OpenFoam in 2 nodes of a cluster WhiteW OpenFOAM Running, Solving & CFD 16 December 20, 2016 01:51
CGNS vs Tecplot Data Format LWhitson2 Main CFD Forum 3 July 1, 2011 14:50
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 13:49.