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

Calculating Area/Volume of airfoil/wing in SU2_CFD

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2014, 03:08
Default Calculating Area/Volume of airfoil/wing in SU2_CFD
  #1
Member
 
Anant Diwakar
Join Date: Jan 2013
Posts: 68
Rep Power: 13
diwakaranant is on a distinguished road
Hi

I am trying gradient free optimization using SU2 as functional evaluation
solver for Cl, Cd etc and optimization algorithms like PSO etc.

I need to calculate area/volume of airfoil/wing for imposing
volume constraint at each design iteration during optimization.

How can I get area/volume as output in SU2_CFD ?

Thanks
Anant
diwakaranant is offline   Reply With Quote

Old   February 14, 2014, 03:44
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Quote:
Originally Posted by diwakaranant View Post
Hi

I am trying gradient free optimization using SU2 as functional evaluation
solver for Cl, Cd etc and optimization algorithms like PSO etc.

I need to calculate area/volume of airfoil/wing for imposing
volume constraint at each design iteration during optimization.

How can I get area/volume as output in SU2_CFD ?

Thanks
Anant
Hi,
To compute geometrical quantities you should use SU2_GDC. We are precisely updating this functionality so... first pull the latest version of SU2 in GitHub. To calculate airfoil thickness, area, angle of attack of an Onera M6 you should add the following to the config file

% ----------------------- GEOMETRY EVALUATION PARAMETERS ----------------------%
%
% Geometrical evaluation mode (FUNCTION, GRADIENT)
GEO_MODE= FUNCTION
%
% Marker(s) of the surface where geometrical based func. will be evaluated
GEO_MARKER= ( UPPER_SIDE, LOWER_SIDE, TIP )
%
% Number of airfoil sections
GEO_NUMBER_SECTIONS= 10
%
% Orientation of airfoil sections (X_AXIS, Y_AXIS, Z_AXIS)
GEO_ORIENTATION_SECTIONS= Y_AXIS
%
% Location (coordinate) of the airfoil sections (MinValue, MaxValue)
GEO_LOCATION_SECTIONS= (0.01, 20.0)

and run SU2_GDC. The results will be in of_func.dat and Airfoil_Sections.plt. If it is just an airfoil, the following would be enough.

% ----------------------- GEOMETRY EVALUATION PARAMETERS ----------------------%
%
% Geometrical evaluation mode (FUNCTION, GRADIENT)
GEO_MODE= FUNCTION
%
% Marker(s) of the surface where geometrical based func. will be evaluated
GEO_MARKER= ( airfoil )

Best,
Francisco
fpalacios is offline   Reply With Quote

Old   March 5, 2014, 10:49
Default
  #3
Member
 
Anant Diwakar
Join Date: Jan 2013
Posts: 68
Rep Power: 13
diwakaranant is on a distinguished road
Hi Francisco

Is it possible to calculate volume of Onera wing using SU2_GDC ?

When I ran, it gave areas of cross section airfoils at different locations.

Thanks
Anant
diwakaranant is offline   Reply With Quote

Old   March 10, 2014, 17:26
Default
  #4
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Quote:
Originally Posted by diwakaranant View Post
Hi Francisco

Is it possible to calculate volume of Onera wing using SU2_GDC ?

When I ran, it gave areas of cross section airfoils at different locations.

Thanks
Anant
No, at this moment it is not possible to compute the total 3D volume… but we are working in that capability.

Cheers,
Francisco
fpalacios is offline   Reply With Quote

Old   March 26, 2014, 12:18
Default
  #5
Member
 
Anant Diwakar
Join Date: Jan 2013
Posts: 68
Rep Power: 13
diwakaranant is on a distinguished road
Hi Francisco

Is there any update on the calculation of volume of 3D wings etc using
SU2 GDC ?
I wanted to impose volume constraint during 3D optimization, hence this
requirement.

Thanks
Anant
diwakaranant is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Questions on dynamicTopoFvMesh danvica OpenFOAM Running, Solving & CFD 80 April 16, 2019 17:58
[OpenFOAM] Take derivative of mean velocity in paraFoam hiuluom ParaView 13 April 26, 2016 07:44
Derivative of velocity and mean velocity hiuluom OpenFOAM Post-Processing 1 May 30, 2015 00:42
Problems in calculating the fluid traction on the current structure frame in 3D models fw407 OpenFOAM Running, Solving & CFD 0 August 6, 2008 13:04
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


All times are GMT -4. The time now is 11:07.