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.
Junting Chen
On Sunday, September 29, 2019 at 9:25:08 AM UTC-4, Mahmood Naderan wrote:
>
> Hi,
> I have saved a msh file with gmsh-4.4.1, however, the import command fails
> with invalid mesh version.
>
> pyfr import
> ~/Downloads/gmsh-4.4.1-Linux64/share/doc/gmsh/demos/untitled.msh
> untitiled.pyfrm
> 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
>
> Any idea to fix that?
>
> Regards,
> Mahmood
>
>
>
--
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 [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/pyfrmailinglist/ab06b8a4-828e-49bd-b338-01739bec1dbf%40googlegroups.com.