|
[Sponsors] |
January 19, 2022, 04:39 |
Python wrapper set up
|
#1 |
New Member
claudio conti
Join Date: Mar 2021
Posts: 1
Rep Power: 0 |
Hello everyone,
I'm currently trying to customize SU2_DOT module to project the gradient along custom design variables, which I'm trying to achieve by wrapping SU2_DOT.cpp in python (I need to interface it with my shape morphing code). I found out that whenever I change the pySU2.i interface file, the ninja compiler won't update the python wrappers (I get error messages addressing unreferenced function calls in the .cxx files). I worked around this issue by deleting the whole SU2 code, downloading and compiling again (with pywrapper flag activated) with the updated pySU2.i file, which seems to suggest that the wrapper interface code can only be modified at the first set up of SU2. As this makes any debugging very slow, I was wondering if there was a quicker solution, because I don't see anything suggested on the SU2 build and installation webpage. Thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenVSP: Python API call to set RPM of a disk | Brunomrm | Main CFD Forum | 0 | July 30, 2018 14:20 |
[General] Python Scripting - Set Legend Label Color | MTMILLS87 | ParaView | 0 | February 22, 2018 14:20 |
Ansys Licence Serve on Ubuntu 16.04 LTS | david.pasquale | ANSYS | 2 | January 20, 2017 12:52 |
[OpenFOAM.org] set up python path for python in paraview compiled with openfoam | seanread | OpenFOAM Installation | 7 | October 31, 2015 21:20 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 15:06 |