OpenFoam 2.0 hopper case visualization with Paraview
How can I visualize the data generated from the lagrangian/hopper case simulation
with paraview 3.10 ?
Any clue is very welcome.
P.S. Could anybody share the procedure for viewing the discrete element modelling
hopper picture showed in the openfoam.com site ?
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
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
I will post the animation file soon
You could have a look at the OpenFOAM-wiki entry "Tutorials for particle based methods". Chapter 2 is about PostProcessing..
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
Try deleting the 0 file in the converted VTK (especially in the lagarangian folder), then start paraview again.
No success deleting the 0 file.
Any other clue ?
I do the following tasks after the solver has finished:
1) rm -r 0
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.
Those are the available itens in the Mesh Parts :
frontAndBack - patch
inlet - patch
outlet - patch
walls - patch
Unfortunatelly there is no "kinematicCloud - lagrangian" available
The lagrangian Fiels is also empty
Anyone with clues please jump in.
Are you shure you deleted directory 0 (zero) before typing paraFoam?
Yes, i just typed rm -r 0 under the case directory. :confused:
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?
|All times are GMT -4. The time now is 01:15.|