I have a PyFR case setup that runs and restarts well without any issue when using the same mesh file (.pyfrm). However, I am trying to restart the simulation from the latest solution file of the same mesh with an increased number of partitions. Is it possible to restart a pyfr simulation with a mesh file (.pyfrm) with different number of partition? ( Restart simulation with different resources ) The following error is returned when I try to do so.
RuntimeError: Invalid solution for mesh.
raise RuntimeError(‘Invalid solution for mesh.’)
Thank you Freddie. I have tried repartitioning the mesh and solution together but it returns the error (ValueError: Mismatched solution/mesh). I have used the command (pyfr partition 4 double-mach-reflection.pyfrm double-mach-reflection-0.20.pyfrs .) on the double mach reflection test case.
This suggests that the mesh file has already been repartitioned independently of the solution. For repartitioning to work the solutions have to have been generated with that exact mesh with no repartitionings of the mesh in between.