I have a user-defined class representing a scalar field (NXN matrix). This field (instance) changes as time progresses. I want to be able to write the data from many time steps