# Explanation for the constraint/objective function key words

 Register Blogs Members List Search Today's Posts Mark Forums Read

 April 12, 2014, 11:38 Explanation for the constraint/objective function key words #1 Member   Sreekanth Join Date: Jun 2013 Location: India Posts: 30 Rep Power: 4 Hi, 1. What does the objective functions Nearfield pressure, Equivalent Area, Efficiency.. imply? 2. Also, in the other geometric constraint what does Area imply? 3..How can I impose a constraint on the volume of a shape in 3D or correspondingly area in 2D? 4. How to add a new constraint to the code ? Sreekanth

April 13, 2014, 22:26
#2
Super Moderator

Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 260
Rep Power: 5
Dear Sreekanth,

Quote:
 Originally Posted by shsreekanth 1. What does the objective functions Nearfield pressure, Equivalent Area, Efficiency.. imply?
Nearfield pressure and Equivalent Area are related to boom noise minimization for supersonic aircraft. Efficiency is L/D.

Quote:
 Originally Posted by shsreekanth 2. Also, in the other geometric constraint what does Area imply?
Area in the case of a geometric constraint is the area internal to an airfoil or section cut of a wing.

Quote:
 Originally Posted by shsreekanth 3..How can I impose a constraint on the volume of a shape in 3D or correspondingly area in 2D?
At the moment, we don't have 3D volume constraints (we are working on this), but the Area option for the constraints will work as described in #2.

Quote:
 Originally Posted by shsreekanth 4. How to add a new constraint to the code ?
If you are interested in adding new constraints, the main module is SU2_GDC. Please see the CBoundaryGeometry class in geometry_structure.cpp in order to find the current implementations of the constraints.

Cheers,
Tom

 April 14, 2014, 03:37 #3 Member   Sreekanth Join Date: Jun 2013 Location: India Posts: 30 Rep Power: 4 Thank you, I will try to figure out what is given in SU2_GDC.

April 17, 2014, 06:33
#4
Member

Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 4
Quote:
 Originally Posted by economon If you are interested in adding new constraints, the main module is SU2_GDC. Please see the CBoundaryGeometry class in geometry_structure.cpp in order to find the current implementations of the constraints.
Hi,
Could you tell me something more on how its implemented? I am unable to figure out what is being done in the code.
What should I be looking for?
Which are the functions that I should modify/ add ?

Thank you.
Sreekanth

April 24, 2014, 05:05
#5
Super Moderator

Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 260
Rep Power: 5
Quote:
 Originally Posted by shsreekanth Hi, What should I be looking for? Which are the functions that I should modify/ add ? Sreekanth
You'll want to give the routines such as CBoundaryGeometry::Compute_MaxThickness(), CBoundaryGeometry::Compute_AoA(), CBoundaryGeometry::Compute_Area(), etc. a look. These are where we compute the various geometric quantities that we use as constraints (these are called from main() in SU2_GDC.cpp). It should be straightforward to add more routines like these that can be called from SU2_GDC.cpp in order to compute some new geometric quantities of interest using the boundary geometry.

Hope this helps,
T

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Madeleine P. Vincent OpenFOAM Native Meshers: blockMesh 43 February 18, 2014 03:42 feng_w OpenFOAM Installation 1 January 25, 2009 07:59 norbinou CD-adapco 3 May 21, 2007 02:30 Christian Main CFD Forum 2 February 27, 2007 07:27 brian FLUENT 6 September 11, 2006 08:23

All times are GMT -4. The time now is 23:39.