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

Objective function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2014, 06:01
Default Objective function
  #1
New Member
 
Matteo Pini
Join Date: May 2014
Posts: 2
Rep Power: 0
mpini is on a distinguished road
Hi all,

What is the fastest way to implement a new objective function?

What about the continuous adjoint in this case? How to update it accordingly?

Thanks,
Matteo
mpini is offline   Reply With Quote

Old   June 5, 2014, 15:42
Default
  #2
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road
Hi Matteo,

The derivation of the continuous adjoint equations and suitable boundary conditions (and resulting surface sensitivity) depends on the particular objective function chosen (and not all are mathematically possible). This is a very interesting research topic for us, as it requires some mathematical development for obtaining new continuous adjoint formulations. We are always interested in new objective functions. For example, we're working on temperature-based functionals and off-body functionals for minimizing sonic boom noise.

So, unfortunately, there is no short answer to your question, but you can check out the following subroutine in solver_adjoint_mean.cpp if you want to see how some of the current objective functions are included: void CAdjEulerSolver::SetForceProj_Vector(CGeometry *geometry, CSolver **solver_container, CConfig *config).

Perhaps we can discuss this more in the future (possibly in person). Cheers,
Tom
economon 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
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 06:59
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
Please help about the VTKFoam liugx212 OpenFOAM Running, Solving & CFD 0 November 18, 2005 18:27


All times are GMT -4. The time now is 04:58.