CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Python wrapper set up

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2022, 04:39
Default Python wrapper set up
  #1
New Member
 
claudio conti
Join Date: Mar 2021
Posts: 1
Rep Power: 0
clacon21 is on a distinguished road
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!
clacon21 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:47.