phipict.io.export.series

Time series of VTK snapshots, as a ParaView .pvd collection.

For example:

series = export.VTKSeries("out/run", mesh=mesh)
hooks = Hooks().append(Hook.POST, series.hook(every=50))
sim = phipict.Simulation(domain=domain, hooks=hooks)

or by hand with series.write(domain, time). The collection file is rewritten after every snapshot, so it is valid while the simulation runs.

Classes

VTKSeries(path, *, fields, mesh, ...)

Snapshots of a domain over time.