|
[Sponsors] |
March 15, 2012, 21:44 |
how to visualize lagrangian data
|
#1 |
New Member
Li Fei
Join Date: Jan 2011
Posts: 3
Rep Power: 15 |
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. |
|
March 19, 2012, 07:56 |
|
#2 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 |
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 |
|
March 20, 2012, 09:21 |
|
#3 |
New Member
Li Fei
Join Date: Jan 2011
Posts: 3
Rep Power: 15 |
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 |
|
March 21, 2012, 04:06 |
|
#4 |
New Member
Li Fei
Join Date: Jan 2011
Posts: 3
Rep Power: 15 |
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. |
|
April 2, 2012, 09:24 |
|
#5 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 |
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.
|
|
|
|
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 22:18 |
ReconstructPar Error for Lagrangian data in OF2.3 | MPJntu | OpenFOAM | 3 | April 18, 2018 10:21 |
Run OpenFoam in 2 nodes of a cluster | WhiteW | OpenFOAM Running, Solving & CFD | 16 | December 20, 2016 00:51 |
CGNS vs Tecplot Data Format | LWhitson2 | Main CFD Forum | 3 | July 1, 2011 13:50 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 17:27 |