Partition error of a mesh generated by Pointwise

[Enviroment]

  • PyFR 2.1
  • Pointwise 2024.2.1
  • METIS 5.2.1

I generated mesh with Pointwise, and tried mesh partition but I got an error.

pyfr partition 8 lrn1015_structured_2c.pyfrm .
Traceback (most recent call last):
  File "/share/vol7/yatsu/PyFR/venv/pyfr/bin/pyfr", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/share/vol7/yatsu/PyFR/venv/pyfr/lib/python3.11/site-packages/pyfr/__main__.py", line 124, in main
    args.process(args)
  File "/share/vol7/yatsu/PyFR/venv/pyfr/lib/python3.11/site-packages/pyfr/__main__.py", line 190, in process_partition
    mesh, rnum, part_soln_fn = part.partition(mesh, args.progress)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/share/vol7/yatsu/PyFR/venv/pyfr/lib/python3.11/site-packages/pyfr/partitioners/base.py", line 376, in partition
    mesh, rnum = self._combine_mesh_parts(mesh)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/share/vol7/yatsu/PyFR/venv/pyfr/lib/python3.11/site-packages/pyfr/partitioners/base.py", line 53, in _combine_mesh_parts
    linf[en].append(mesh[f'spt_{en}_p{i}', 'linear'])
                    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/share/vol7/yatsu/PyFR/venv/pyfr/lib/python3.11/site-packages/pyfr/readers/native.py", line 37, in __getitem__
    return self._file[aname[0]].attrs[aname[1]]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "h5py/_objects.pyx", line 56, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 57, in h5py._objects.with_phil.wrapper
  File "/share/vol7/yatsu/PyFR/venv/pyfr/lib/python3.11/site-packages/h5py/_hl/attrs.py", line 56, in __getitem__
    attr = h5a.open(self._id, self._e(name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "h5py/_objects.pyx", line 56, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 57, in h5py._objects.with_phil.wrapper
  File "h5py/h5a.pyx", line 80, in h5py.h5a.open
KeyError: "Unable to synchronously open attribute (can't locate attribute: 'linear')"

I succeed performing mesh partition with tutorial cases, so I gueesed this problem is unique for mesh generation process with Pointwise. Is there any solution for this issue?

Pointwise have not updated their PyFR export support in many years. I also do not believe that it ever supported high order (curved) grids; as such it is worthless.

Export to Gmsh and import into PyFR.

Regards, Freddie.