Hello everyone,
I’m a new user of PyFR and currently learning to run some 2D test cases.
I have two beginner-level questions:
How can I output or monitor the residuals during the simulation?
I would like to see how the solution residuals (or errors) decrease with time or iterations, just like the residual histories in other CFD solvers (e.g., OpenFOAM or Fluent). Is there any built-in option or function object to record this information, or should I modify the source code?
Tecplot visualization:
I would like to view my results in Tecplot, but the exported .vtu or .xmf files seem not to be supported (Tecplot reports “VTK cell type unknown”).
Is there a recommended way to export PyFR results to Tecplot format, or to linearize the high-order elements so Tecplot can read them?
Thank you very much for your help and for this great solver!
Best regards
Thank you very much for your reply and the helpful information!
May I ask if the residuals can be displayed directly in the terminal during the simulation?
In addition, I would like to know about the applicability of PyFR to supersonic impinging jet flows, where complex flow–wall interactions occur, including shock interactions, wall jets, and fountain flows.
Does PyFR have any particular advantages or suitability for such problems, for example in terms of robustness or computational cost?
Thank you again for your time and for this great solver!
If you want the residual data to be output to a terminal you can enable the plugin and then in any terminal do tail -f file.csv where file.csv is the name of the file being written to by the plugin.
It’s suitability heavily depends on the Reynolds number and intended degree of resolution. PyFR excels for large eddy simulations with near DNS levels of resolution at the wall.