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

Creating animation from VTK files or SampleDict output

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By canopus

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2015, 23:05
Default Creating animation from VTK files or SampleDict output
  #1
New Member
 
Vahid
Join Date: Oct 2014
Posts: 1
Rep Power: 0
vgoli is on a distinguished road
Dear all friends
I am a new user of OpenFOAM. I simulated droplet filtration by using interFoam. Since it was a heavy mesh, I used 100 processors for reducing the calculation time. I used sampleDict to extract some surfaces (which are my droplets) while my data were decomposed.(I used this method for avoiding from reconstructing step)
Now, I have a folder which its name is surfaces and it contains several folders (at my different intervals) and each folder contains my VTK file.
I want to make an animation of all these VTK files which shows the movement of this droplet through the domain. Would you please help me in this case?

Thank you in advance,
Vahid
vgoli is offline   Reply With Quote

Old   June 8, 2015, 06:22
Default
  #2
Member
 
SM
Join Date: Dec 2010
Posts: 97
Rep Power: 15
canopus is on a distinguished road
Maybe bit late but for future-

https://openfoamwiki.net/index.php/VtkAnim

Very nice tool!
canopus is offline   Reply With Quote

Old   July 7, 2015, 05:15
Default
  #3
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 153
Rep Power: 17
be_inspired is on a distinguished road
Hi Vahid.

could you include the controlDict or the part where surface/patch is included? My problem is that I want to export vtk every time step and the geometrical information is not updated. The fields (p,U) is updated.

Code:
    surfaces
    {
        type        surfaces;

        // Where to load it from (if not already in solver)
        functionObjectLibs ("libsampling.so");

        // outputControl   outputTime;
         outputControl   timeStep;
         outputInterval 1;
         surfaceFormat   vtk;
         fields          ( p U);
         interpolationScheme cell; //cell cellPoint cellPointFace
         surfaces
          (
          blade1
          {
            type            patch;
            patchName        blade1 ;
            interpolate     false;
            needsUpdate     false; //It is not read I think
          }
Thank you
be_inspired is offline   Reply With Quote

Reply


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
animation sequence files solomon FLUENT 6 April 3, 2024 12:14
sampleDict output needs to be fixed! musahossein OpenFOAM Post-Processing 17 September 13, 2013 21:51
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Multiple .res files in animation Gloria Gaynor CFX 5 April 6, 2009 19:36
Animation of multiple cgns files John Smith Main CFD Forum 0 February 19, 2008 14:57


All times are GMT -4. The time now is 16:31.