How to modify the output of soln-plugin-writer?

50 views
Skip to first unread message

Kiny Wan

unread,
Oct 27, 2019, 2:48:30 AM10/27/19
to PyFR Mailing List
Dear all,
        I want to obtain the root-mean-square density of each point of the whole field and write them out like the pressure, density and velocity in .pyfrs. So, is there any way to change the [soln-plugin-writer] to get the root-mean-square density? This root-mean-square density means the square root of the arithmetic mean of the squares of the density values, which is varying with time.
Yours
Wan

Giorgio Giangaspero

unread,
Oct 27, 2019, 6:08:46 AM10/27/19
to PyFR Mailing List
Hi Kiny

you can use the time-average plugin ([soln-plugin-tavg]) for that, see the user guide. Have it write the time-average of the density squared, then take the square root as post-processing step in Paraview, for example.

Best
Giorgio

Kiny Wan

unread,
Oct 28, 2019, 3:50:34 AM10/28/19
to PyFR Mailing List
Hi Giorgio,Thank you. It works.

Reply all
Reply to author
Forward
0 new messages