Matthew Knepley <knep...@gmail.com> writes: > On Thu, Jan 30, 2025 at 9:43 AM Anna Dalklint <anna.dalkl...@solid.lth.se> > wrote: > >> Otherwise I’m fine with using CGNS. But could you please explain how I >> could save timeseries that paraview recognizes using this format? Right now >> I’m saving files e.g. file0001.cgns, file0002.cgns, … where each .cgns file >> is written using VecView (i.e. it stores a discretized field). But paraview >> cannot load this as a timeseries. >> > > Jed can explain how this works.
You can use DMSetOutputSequenceNumber(dm, step, time) to make it collate correctly. Paraview can handle any combination of time steps within the same file (as -ts_monitor_solution cgns:sol.cgns) and sequenced files (each of which may contained one or more frames). You can open it with `paraview file..cgns` or in the interface.