How to load the initial solution field '[soln-ics]' from a .txt file?

Dear all,
I want to validate a benchmark example about vortex pairing [1] and it requires to initialize solution with the pressure and density obtained from Poisson equation. I would like to know about how to use the function of patch.patch to load the data for initialization?



[1] Classification and sound generation of two-dimensional interaction of two Taylor vortices

There is no functionality for this. If you wish to restart from an initial solution field of your own specification you will need to write a .pyfrs file and then restart the simulation from this file.

Regards, Freddie.

Hi Freddie, thanks for your quick reply. I will look into the data structure of .pyfrs file.