Dear all,

I would like to get the animation on the linear wave equation in the tutorial as a visualisation in Paraview. I used the following code to store result files:

...     phi -= dt / 2 * p
...     t += dt
...     if step % 10 == 0:
...         File("waveEqn.pvd")<< phi
...         output = File("waveEqn.pvd")
...         output << phi
...         del output

I expected a number of files that would form snapshots for the animation, but I got a single file. Could you please show me how to go about it.

Regards.

David