CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

Animation in ParaView

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2015, 10:13
Default Animation in ParaView
  #1
New Member
 
Join Date: Jan 2012
Posts: 2
Rep Power: 0
Vijayendra is on a distinguished road
Hi
I would like to animate the following data. I have mesh file in (*.vtk) format and I have the following ascii data (nodal displacements at different time steps) in a file.

Time Step 1:
Nodes Displacement X Displacement Y
1 .................................................. ........................
2 .................................................. ............................
3 .................................................. ...............................
.................................................. ...........................................
Time Step 2
1 .................................................. ..............................
2 .................................................. ................................
.................................................. .......................................
and so on.
My intention is to animate this nodal displacement data in ParaView. What is the data format required to achieve this? could anyone please tell me with a small example?

Thanks!
With regards
Vijayendra
Vijayendra is offline   Reply With Quote

Old   April 19, 2015, 14:27
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer:
  1. You need to save the displacements as a vector field, for each node of the mesh, even those that aren't moving.
  2. When saving into VTK, each VTK file is relative to 1 time snapshot and should include the original mesh of the case. Which means that all VTK files have the same mesh.
  3. Example on name format:
    Code:
    snap00.vtk
    snap01.vtk
    snap02.vtk
    snap03.vtk
  4. Some more details: Question about VTK Format, Time and ParaView
  5. Then, after loading the VTK group "snap..vtk" in ParaView, you can apply the filter "Warp By Vector", which can be used for applying the displacement on all nodes by using the displacement field.
wyldckat is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paraview 3.12 memory allocation problem while saving animation jgomez OpenFOAM Paraview & paraFoam 17 September 14, 2013 17:03
plot particles and animation in paraview phsieh2005 OpenFOAM Paraview & paraFoam 1 July 26, 2013 05:35
Paraview nice animation PyGloo ParaView 4 June 7, 2012 12:34
Paraview 3.12 - How to compile with ffmpeg for animation tunkers OpenFOAM Installation 6 January 21, 2012 22:08
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 08:01.