diff --git a/docs/source/geometry_snapshots.rst b/docs/source/geometry_snapshots.rst index f156b740..2dbb1daa 100644 --- a/docs/source/geometry_snapshots.rst +++ b/docs/source/geometry_snapshots.rst @@ -36,7 +36,19 @@ The ``#geometry_view:`` command produces either ImageData (.vti) for a per-cell Snapshot files ============== -The ``#snapshot:`` command produces an ImageData (.vti) snapshot file for each time instance requested. The following are steps to get started with viewing snapshot files in Paraview: +The ``#snapshot:`` command produces an ImageData (.vti) snapshot file for each time instance requested. + +.. tip:: + You can take advantage of Python scripting to easily create a series of snapshots. For example, to create 30 snapshots starting at time 0.1ns until 3ns in intervals of 0.1ns, insert the following into your input file. + + .. code-block:: none + + #python: + for i in range(1, 31): + print('#snapshot: x1 y1 z1 x2 y2 z2 dx dy dz {} snapshot{}'.format((i/10)*1e-9, i)) + #end_python: + +The following are steps to get started with viewing snapshot files in Paraview: #. **Open the file** either from the File menu or toolbar. Paraview should recognise the time series based on the file name and load in all the files. #. Click the **Apply** button in the Properties panel. You should see an outline of the snapshot volume.