Running SU2 in python
I'm a beginner to SU2 and just get started with its tutorials.
I've seen that there're some python files in SU2, I wounder if there's some python functions wrappers that could be called to run SU2 in python. like passing a CGNS mesh and some configuration options to a function like 'run_SU2' to automatically generate a relative .cfg file and run the code. Is there any way to do this? |
SU2 has been wrapped in python and it is possible to call the most important C++ subroutines from Python. This implementation was done to be sure that the CFD software can communicate with other software using memory and not hard-drive. In other to do so you need to activate --enable-PY_WRAPPER in the compiling process.
You can also take a look at https://github.com/su2code/SU2/wiki/Execution Best, Francisco |
All times are GMT -4. The time now is 19:52. |