I am solving an unsteady fluid mechanics problems with a large mesh (almost 9 million cells). I am using two different methods to save the timeseries data. One is through write and the other with write_checkpoint.
I am storing these timeseries data in two formats primarily for visualization and postprocessing purposes. It is my understanding that write only allows for visualization, and cannot utilized for reading the data again into fenics for further post-processing after the end of the simulation. With write_checkpoint, I am able read the data into Fenics but running to storage issue because of the mesh being rewritten for every timestep. For example, for my case with 9 million cells I am generating nearly 350GB of data for a 20,000 timestep run with data being saved at intervals of 100 timesteps.
Is there a way to avoid the rewrite mesh issue in write_checkpoint and save on storage or utilize the data from write for post-processing?
I tried that. But write_checkpoint ignores the rewrite_function_mesh=False flag. rewrite_function_mesh works only with write but not with write_checkpoint.
I am post-processing the data to calculate Wall Shear Stress and other metrics after the end of the simulation. I use read_checkpoint to read the data in the post-processing script.