Can we create Unstructured grid with time series? How?

I just started to use VTK, and I know that we can create vtk objects with times series by creating a series of files with specific naming rule (e.g. f0.vtu, f1.vtu, … f*.vtu …). Can we create one vtk object with time series? for example, I have a geometry that has properties attached to points, and the properties are changing with time, now I want to create one VTK object with time-changing properties. Can we do that?

Hi, Henry,

One way to do it is to assign multiple scalars to each vertex or cell in your geometry. Take a look at this: https://github.com/Kitware/VTK/blob/master/Examples/DataManipulation/Python/Arrays.py . It’s in Python, but translating that to another langage shouldn’t be a problem as the APIs are much the same.

cheers,

Paulo