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

19 views
Skip to first unread message

Kiny Wan

unread,
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?

Regards
Kiny

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

Freddie Witherden

unread,
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 <wlc...@gmail.com> 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 pyfrmailingli...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pyfrmailinglist/bd12ea5d-4c7d-4733-b4d9-c024b6b1ba9en%40googlegroups.com.

Kiny Wan

unread,
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
Forward
0 new messages