Skip to main content

Overview

Time series export creates a VTK file for every frame of your animation, allowing you to scrub through the animation in ParaView using its time slider.
Perfect for: Analyzing animations frame-by-frame, creating temporal visualizations, and debugging complex motion

Basic Usage

Use the --vtk-time-series flag:
Output structure:

Example Scene

Render with time series:

ParaView Data (.pvd) File

The .pvd file is an XML collection file that references all frame files:
Time step calculation:
  • Based on your frame rate: timestep = frame_number / frame_rate
  • Default frame rate: 30 fps (configurable via -r flag)

Opening in ParaView

  1. Launch ParaView
  2. File → Open
  3. Select the .pvd file (not individual .vtp files)
  4. Click “Apply” in Properties panel
You’ll now see:
  • Time toolbar at the top
  • Time slider to scrub through frames
  • Play button to animate
Use the time slider or VCR controls to move through your animation frame by frame

Advanced Examples

Growing Surface

Multiple Objects with Motion

Rotating 3D Object

Frame Rate Control

Control the frame rate to adjust time resolution:
Trade-offs:
  • Higher fps: Smoother animation, more files, more storage
  • Lower fps: Less storage, choppier animation

File Naming Convention

Files are named with zero-padded frame numbers:
Padding ensures correct alphabetical sorting.

Storage Considerations

Time series export can create many files: Calculation:
Example:
  • 10 second animation at 30 fps = 300 files
  • If each file is 500 KB = 150 MB total
Long animations at high frame rates can generate hundreds of files and require gigabytes of storage

Optimization Tips

Lower frame rate for testing:
Use shorter run_time during development:
Lower resolution for faster export:
After loading in ParaView:
  1. File → Save Data
  2. Choose output location
  3. Check “Write all timesteps”
  4. Check “Use compression”

Viewing and Analysis in ParaView

Timeline Controls

  • Play/Pause: Animate through time steps
  • Step Forward/Back: Move one frame at a time
  • Time Slider: Scrub to any frame
  • First/Last Frame: Jump to beginning/end

Animation Settings

In ParaView:
  1. View → Animation View
  2. Set animation duration
  3. Set frame rate
  4. Export as video:
    • File → Save Animation
    • Choose format (AVI, MP4, etc.)

Filters on Time Series

Apply filters that respect time:

Extract Specific Frames

Save individual frames:
  1. Use time slider to desired frame
  2. File → Save Data
  3. Uncheck “Write all timesteps”
  4. Save single .vtp file

Combining with Other Exports

You can use both export methods:
Output:

Troubleshooting

Cause: Long animation or high frame rateSolution:
  • Reduce frame rate: -r 15 instead of -r 60
  • Shorten animation duration
  • Use --vtk-export for final frame only
Cause: Opened individual .vtp instead of .pvdSolution:
  • Close all files in ParaView
  • File → Open → Select the .pvd file
  • Click Apply
Cause: Frame files moved or renamedSolution:
  • Ensure all .vtp files are in same directory as .pvd
  • Check .pvd file paths are relative
  • Re-export if files were moved
Cause: High resolution geometry or many framesSolution:
  • Lower surface resolution during testing
  • Use -ql quality for faster export
  • Reduce frame rate

Best Practices

  1. Test with low quality first
  2. Use descriptive scene names
  3. Monitor disk space
  4. Clean up old exports

Next Steps

ParaView Guide

Master ParaView visualization

VTK Export Basics

Learn static export

Scientific Examples

View scientific visualization examples

Animations API

Explore animation types