SU2
SU2 copied to clipboard
Dynamic Fluid-Structure Interaction Tutorial Bug
I am trying to get the Dynamic FSI tutorial to work and have rebuilt SU2 for the python wrapper, as well as install all dependencies, including mpi4py, petsc and petsc4py. I am getting the following error and the fsi_computation.py file is showing that the allMarkersID variable has no attribute for keys. I am running the case with Ubuntu 20.04 with openmpi and python 3.8. Can someone please let me know what is causing this issue/ bug?
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/mpi4py/main.py", line 7, in
@Nicola-Fonzi is this something you've seen before?
Dear @himakarganti, sorry for the very late reply, I completely missed your question. May I ask you which version are you using?
Hi everyone,
I'm facing the same problem too. I'm using the latest master version built with the python wrapper.
Seems like allMarkersID is a tuple and not a dictionary.
Thank you, Alice
Dear @himakarganti, sorry for the very late reply, I completely missed your question. May I ask you which version are you using?
Hi, I can explain the issue. It is about conducting unsteady fsi computation using Python. In the FSIInterface.connect(), the dictionary should be used. But after https://github.com/su2code/SU2/pull/1300 , the function returning dictionary was modified and return a list. Actually, I encounter this problem in 8.0.0 too.