|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: May 2013
Posts: 1
Rep Power: 0 ![]() |
Through a cursory glance at the code, I can see that objective functions go into the adjoint implementation in adjoint_solution_mean. Is that the only place where objective functions go/
I wanted to implement a custom objective function for pressure recovery for internal flows. How would I go about doing that? |
|
|
|
|
|
|
|
|
#2 | |
|
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Stanford, CA
Posts: 65
Rep Power: 2 ![]() |
Quote:
As you know, SU2 design uses the continuous adjoint methodology, more details in: http://www.stanford.edu/~fasispg/art...-2013-0287.pdf http://adl.stanford.edu/papers/AIAA-2012-3018.pdf http://www.stanford.edu/~fasispg/art..._March2012.pdf http://www.stanford.edu/~fasispg/art...urnal_2009.pdf http://www.stanford.edu/~fasispg/art...urnal_2007.pdf A new objective function will require changes in the adjoint boundary conditions: void CAdjEulerSolution::SetForceProj_Vector(CGeometry *geometry, CSolution **solution_container, CConfig *config) and in the formula for computing the surface sensitivity. void CAdjEulerSolution::Inviscid_Sensitivity(CGeometry *geometry, CSolution **solution_container, CNumerics *solver, CConfig *config) Currently we are working on a discrete and a hybrid adjoint (it will be finished at the end of the year). Thank you for you interest in SU2, Best, Francisco |
||
|
|
|
||
![]() |
| Tags |
| adjoint, objective function |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| swak4Foam installation problem | Claudio87 | OpenFOAM | 9 | May 8, 2013 10:20 |
| mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 12 | December 12, 2011 04:16 |
| channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
| Force Report help~ or maybe Custom Field Function | sailor | FLUENT | 0 | April 13, 2011 03:45 |
| Compilation errors in ThirdPartymallochoard | feng_w | OpenFOAM Installation | 1 | January 25, 2009 06:59 |