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

Skip to first unread message

Kiny Wan

Jul 27, 2020, 9:12:03 AM7/27/20
to PyFR Mailing List
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

Freddie Witherden

Jul 27, 2020, 9:38:52 AM7/27/20
to Kiny Wan, PyFR Mailing List
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.

On 27 Jul 2020, at 08:12, Kiny Wan <> wrote:

Dear all, 
You received this message because you are subscribed to the Google Groups "PyFR Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web, visit

Kiny Wan

Jul 27, 2020, 9:50:08 AM7/27/20
to PyFR Mailing List
Hi  Freddie, thanks for your quick reply. I will look into the data structure of  .pyfrs file. 
Reply all
Reply to author
0 new messages