|
[Sponsors] |
OpenFoam 2.0 hopper case visualization with Paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 28, 2011, 12:06 |
OpenFoam 2.0 hopper case visualization with Paraview
|
#1 |
Member
Alexandre M S Costa
Join Date: Apr 2009
Posts: 31
Rep Power: 17 |
Dear All,
How can I visualize the data generated from the lagrangian/hopper case simulation with paraview 3.10 ? Any clue is very welcome. Thanks. Alex P.S. Could anybody share the procedure for viewing the discrete element modelling hopper picture showed in the openfoam.com site ? |
|
August 29, 2011, 04:07 |
|
#2 |
New Member
Hyung Min Kim
Join Date: Mar 2011
Posts: 5
Rep Power: 15 |
you can make the animation file of the tutorial example of hopper by uisng the paraview.
After getting the simulation results by running the program. Generating the VTK files using foamToVTK command. Open the VTK file uisng paraview as following procedure Run paraview open the files at the directory of " icoUncoupledKinematicParcelFoam -> hopper -> hopperEmptying -> VTK -> lagrangian-kinematicCloud " At the paraview, insert the filter Glyph with the sphere type, scalar mode and 0.1 of radius. and save the animation at the "file" manu good luck pius |
|
August 29, 2011, 04:14 |
|
#3 |
New Member
Hyung Min Kim
Join Date: Mar 2011
Posts: 5
Rep Power: 15 |
I will post the animation file soon
Last edited by pius; August 29, 2011 at 04:40. |
|
September 1, 2011, 09:31 |
|
#5 |
Member
Alexandre M S Costa
Join Date: Apr 2009
Posts: 31
Rep Power: 17 |
Hi,
Thanks for the reply and the links. I just followed the foamtoVTK and all I get is a pile of spheres "frozen", no matter how I pressed the play button. |
|
September 1, 2011, 11:28 |
|
#6 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi,
Try deleting the 0 file in the converted VTK (especially in the lagarangian folder), then start paraview again. Pei |
|
September 8, 2011, 10:17 |
|
#7 |
Member
Alexandre M S Costa
Join Date: Apr 2009
Posts: 31
Rep Power: 17 |
No success deleting the 0 file.
Any other clue ? |
|
September 8, 2011, 11:56 |
|
#8 |
New Member
Claudio Wolfer
Join Date: Aug 2011
Posts: 9
Rep Power: 15 |
Hi amscosta
I do the following tasks after the solver has finished: 1) rm -r 0 2) paraFoam 3) in ParaView press apply 4) in mesh parts select kinematicCloud - lagrangian 5) in lagrangian fields U andothers > apply 6) menu filters > alphabetical > extractBlock 7) select lagrangian (black cross) > apply 8) glyph > glyph type sphere > radius 0.? > theta resolution 24 > scale mode off > apply 9) choose display color Now you shoud see your particles. I play with the Radius as long as it seems to fit the real radius. I don't know how to apply the geometrical radius in ParaView. I hope this instruction helps you. wWW |
|
September 14, 2011, 11:04 |
|
#9 |
Member
Alexandre M S Costa
Join Date: Apr 2009
Posts: 31
Rep Power: 17 |
Hi Claudio,
Those are the available itens in the Mesh Parts : frontAndBack - patch inlet - patch internaMesh outlet - patch walls - patch Unfortunatelly there is no "kinematicCloud - lagrangian" available The lagrangian Fiels is also empty Anyone with clues please jump in. Alex |
|
September 14, 2011, 11:13 |
|
#10 |
New Member
Claudio Wolfer
Join Date: Aug 2011
Posts: 9
Rep Power: 15 |
Hi
Are you shure you deleted directory 0 (zero) before typing paraFoam? wWW |
|
September 14, 2011, 18:33 |
|
#11 |
Member
Alexandre M S Costa
Join Date: Apr 2009
Posts: 31
Rep Power: 17 |
Hi,
Yes, i just typed rm -r 0 under the case directory. |
|
September 15, 2011, 03:44 |
|
#12 |
New Member
Claudio Wolfer
Join Date: Aug 2011
Posts: 9
Rep Power: 15 |
Good morning,
I guess that in the hopper-directory you typed ./Allrun. After run has finished you changed to > hopperEmptying and deleted 0-directory. When you open an other time directory you should see a > lagrangian and a > uniform directory and some files called > kinematicClaudUCoeff, kinematicCloudUTrans, mu, phi, rho, U. Within the > lagrangian and uniform directories you should see again a > lagrangian directory (with some content). If you do not see that stuff your computations failed. In my installation of OF2.0.1 this tutorial runs very well. So if it does not work for you, try to rerun the case after reinstalling the tutorial. ParaView runs good with other cases? |
|
Tags |
hopper, lagrangian visualization |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building a custom solver on OpenFOAM 2.0 | wschosta | OpenFOAM Programming & Development | 1 | July 8, 2011 16:07 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
[OpenFOAM] Visualization with ParaView (in general) | sega | ParaView | 7 | February 1, 2010 03:24 |
Velocity vector data in OpenFOAM and ParaView mismatch | tekky | OpenFOAM | 9 | December 21, 2009 12:26 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |