Nature of bug
When I set the timestep to be a high-precision number (dt = 0.042735042735042736, pseudo-dt = 0.004273504273504274) and run the simulation for a long-enough time (tend = 1000.0), eventually the times when the .pyfrs files are dumped stop being multiples of dt_out (in this case dt_out = 5.0). In the error log below, the issue first occurs at time 520.04, with the distance to the nearest multiple of dt_out growing from there. Note that dt_out / dt = 117.0 in double precision.
Here are links to the .ini file and to the .pyfrm file (although this does not seem to depend on the latter). Restarting at the last timestep that was still a multiple of dt_out does not fix the issue.
Error print out (if applicable)
root@2e3ab1618ab8:/workspace/bug# pyfr run -b cuda mesh.pyfrm inc-flow.ini
root@2e3ab1618ab8:/workspace/bug# ls -l inc-flow-5*.pyfrs
-rw-r--r-- 1 root root 801672 Feb 20 01:10 inc-flow-5.00.pyfrs
-rw-r--r-- 1 root root 801679 Feb 20 01:11 inc-flow-50.00.pyfrs
-rw-r--r-- 1 root root 801685 Feb 20 01:24 inc-flow-500.00.pyfrs
-rw-r--r-- 1 root root 801685 Feb 20 01:24 inc-flow-505.00.pyfrs
-rw-r--r-- 1 root root 801685 Feb 20 01:24 inc-flow-510.00.pyfrs
-rw-r--r-- 1 root root 801683 Feb 20 01:25 inc-flow-515.00.pyfrs
-rw-r--r-- 1 root root 801685 Feb 20 01:25 inc-flow-520.04.pyfrs
-rw-r--r-- 1 root root 801684 Feb 20 01:25 inc-flow-525.09.pyfrs
-rw-r--r-- 1 root root 801684 Feb 20 01:25 inc-flow-530.13.pyfrs
-rw-r--r-- 1 root root 801684 Feb 20 01:25 inc-flow-535.17.pyfrs
-rw-r--r-- 1 root root 801683 Feb 20 01:25 inc-flow-540.21.pyfrs
-rw-r--r-- 1 root root 801684 Feb 20 01:25 inc-flow-545.26.pyfrs
-rw-r--r-- 1 root root 801679 Feb 20 01:11 inc-flow-55.00.pyfrs
-rw-r--r-- 1 root root 801685 Feb 20 01:26 inc-flow-550.30.pyfrs
-rw-r--r-- 1 root root 801684 Feb 20 01:26 inc-flow-555.34.pyfrs
-rw-r--r-- 1 root root 801686 Feb 20 01:26 inc-flow-560.38.pyfrs
-rw-r--r-- 1 root root 801686 Feb 20 01:26 inc-flow-565.43.pyfrs
-rw-r--r-- 1 root root 801685 Feb 20 01:26 inc-flow-570.47.pyfrs
-rw-r--r-- 1 root root 801686 Feb 20 01:26 inc-flow-575.51.pyfrs
-rw-r--r-- 1 root root 801685 Feb 20 01:26 inc-flow-580.56.pyfrs
-rw-r--r-- 1 root root 801684 Feb 20 01:27 inc-flow-585.60.pyfrs
-rw-r--r-- 1 root root 801687 Feb 20 01:27 inc-flow-590.64.pyfrs
-rw-r--r-- 1 root root 801686 Feb 20 01:27 inc-flow-595.68.pyfrs
PyFR information
- PyFR version: 2.1
- OS: Ubuntu 22.04
- Compiler and version: GNU Make 4.3
- Backend (if applicable): CUDA 12.2