Traceback (most recent call last):
File "/home/mahmood/.local/bin/pyfr", line 11, in <module>
load_entry_point('pyfr==1.8.5', 'console_scripts', 'pyfr')()
File "/home/mahmood/.local/lib/python3.6/site-packages/pyfr-1.8.5-py3.6.egg/pyfr/__main__.py", line 110, in main
File "/home/mahmood/.local/lib/python3.6/site-packages/pyfr-1.8.5-py3.6.egg/pyfr/__main__.py", line 121, in process_import
File "/home/mahmood/.local/lib/python3.6/site-packages/pyfr-1.8.5-py3.6.egg/pyfr/readers/__init__.py", line 19, in get_reader_by_extn
File "/home/mahmood/.local/lib/python3.6/site-packages/pyfr-1.8.5-py3.6.egg/pyfr/readers/gmsh.py", line 89, in __init__
File "/home/mahmood/.local/lib/python3.6/site-packages/pyfr-1.8.5-py3.6.egg/pyfr/readers/gmsh.py", line 110, in _read_mesh_format
ValueError: Invalid mesh version
I always saved mesh file in GMSH version 2 ascii format (it always asks you when you click the save button, maybe there is a way to do that in command lines). As description in the latest PyFR (1.8.5) says, GMSH version 4 should be supported. I’m being lazy didn’t update pyfr yet.
I have saved a msh file with gmsh-4.4.1, however, the import command
fails with invalid mesh version.
Would you be able to provide us with the first few kilobytes of the mesh
you are trying to import (we do not need/want the entire mesh, just the
first few bytes with include the mesh version string).