Error occurs when applying tavg for w

Hi, i’m sukyung yoon

I am performing a plate analysis using the attached ini file.
The analysis runs successfully, but when I apply tavg for w, an error occurs, and the calculation does not proceed. How can I resolve this? My mesh is indeed 3-dimensional.

I encountered the same issue before but was unable to resolve it.
https://pyfr.discourse.group/t/numpy-error-when-using-time-average-plugin/751

$ mpirun -n 4 pyfr run -b cuda plate_p4.pyfrm Re15000_M05_p4.ini
Traceback (most recent call last):
  File "/home/sk/python3.11/pyfr/bin/pyfr", line 33, in <module>
    sys.exit(load_entry_point('pyfr==1.15.0', 'console_scripts', 'pyfr')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 125, in main
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 269, in process_run
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 265, in _process_common
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/integrators/base.py", line 139, in run
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/integrators/std/controllers.py", line 81, in advance_to
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/integrators/std/controllers.py", line 45, in _accept_step
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/integrators/base.py", line 99, in _run_plugins
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/plugins/tavg.py", line 325, in __call__
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/plugins/tavg.py", line 121, in _init_accumex
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/plugins/tavg.py", line 159, in _eval_acc_exprs
Traceback (most recent call last):
  File "/home/sk/python3.11/pyfr/bin/pyfr", line 33, in <module>
Traceback (most recent call last):
  File "/home/sk/python3.11/pyfr/bin/pyfr", line 33, in <module>
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.
Traceback (most recent call last):
  File "/home/sk/python3.11/pyfr/bin/pyfr", line 33, in <module>
    sys.exit(load_entry_point('pyfr==1.15.0', 'console_scripts', 'pyfr')())
    sys.exit(load_entry_point('pyfr==1.15.0', 'console_scripts', 'pyfr')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 125, in main
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 125, in main
    sys.exit(load_entry_point('pyfr==1.15.0', 'console_scripts', 'pyfr')())
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 269, in process_run
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 269, in process_run
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 125, in main
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 265, in _process_common
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 265, in _process_common
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 269, in process_run
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/integrators/base.py", line 139, in run
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/integrators/base.py", line 139, in run
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/__main__.py", line 265, in _process_common
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/integrators/std/controllers.py", line 81, in advance_to
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/integrators/std/controllers.py", line 81, in advance_to
  File "/home/sk/python3.11/pyfr/lib/python3.11/site-packages/pyfr-1.15.0-py3.11.egg/pyfr/integrators/base.py", line 139, in run
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.

inifile

Looking at your ini file you have

[constants]
gamma = 1.2941
Pr = 0.72
Uin= 117.6730
Vin= 0.0000
w = 0.0 # <- Here
Pc = 61.650773
rhoc= 0.001440
mu = 1.370e-5
cpTref =230401
cpTs = 187359.12

You never use this, but its name clashes with that of a primitive variable. Remove it and everything will be fine.

Regards, Freddie.