Hi All,
I have written two utility scripts to use with PyFR. One is for pre-processing and one is for post-processing. The scripts are available to download, or clone, from the repository at cgit.tourbillion-technology.com/pyfrUtils .
The pre-processing script, pyfrm2xdmf, takes as input a mesh file in PyFR format and outputs a file in XDMF format. XDMF files can be read by ParaView, allowing the mesh partitioning to be inspected ahead of the solver run.
The post-processing script, pyrfs2vtu, converts multiple solution files in one pass.
A workflow that makes use of these scripts is:
-
create mesh file
-
partition mesh, with ‘-p metis’ or ‘-p scotch’
-
run pyfrm2xdmf
-
visualize mesh in ParaView
-
adjust partition, if necessary, using ‘–popt’
-
run solver
-
run pyfrs2vtu
ParaView reads in the entire mesh from the xdmf file. To visualize the individual partitions and the cells within the partitons, use the ExtractBlock filter. The pre-processing script will accept any of the cell types supported by PyFR.
There are more details in the README file (the About tab on the webpage).
Enjoy!
Paul.