|
[Sponsors] |
May 7, 2014, 15:18 |
2D FFD Optimization
|
#1 |
New Member
Join Date: May 2014
Posts: 4
Rep Power: 12 |
Has anyone managed to get tge recently announced 2D FFD optimization running yet? Is there an example problem (2d_mesh.su2, 2d_FFD.su2, .cfg) for the recently announced 2D FFD optimization capability? I've managed to get 3D FFD and 2D Hicks-Henne working correctly put after watching the latest Pointwise/SU2 workshop I'm struggling to get the 2D FFD running on an airfoil.
|
|
May 18, 2014, 21:52 |
|
#2 | |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Quote:
In principle, the procedure is analogous to the 3D case... 1) Add to the end of the .su2 file the following FFD_NBOX= 1 FFD_NLEVEL= 1 FFD_TAG= 0 FFD_LEVEL= 0 FFD_DEGREE_I= 25 FFD_DEGREE_J= 1 FFD_PARENTS= 0 FFD_CHILDREN= 0 FFD_CORNER_POINTS= 4 1.1 -0.1 -0.1 -0.1 -0.1 0.1 1.1 0.1 2) Run SU2_MDC with DV_KIND= FFD_SETTING DV_MARKER= ( airfoil ) to generate a new .su2 (the one that you will use in the future with the complete FFD information - including parametric coordinates-) 3) add the FFD design variables to the .cfg file e.g. DEFINITION_DV= ( 15, 1.0 | airfoil | 0, 0, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 1, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 2, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 3, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 4, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 5, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 6, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 7, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 8, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 9, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 10, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 11, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 12, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 13, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 14, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 15, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 16, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 17, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 18, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 19, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 20, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 21, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 22, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 23, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 24, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 25, 0, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 0, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 1, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 2, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 3, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 4, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 5, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 6, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 7, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 8, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 9, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 10, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 11, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 12, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 13, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 14, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 15, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 16, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 17, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 18, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 19, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 20, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 21, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 22, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 23, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 24, 1, 0, 1.0 ); ( 15, 1.0 | airfoil | 0, 25, 1, 0, 1.0 ) 4) run the optimization I hope this help, Best Regards, Francisco |
||
August 5, 2014, 09:48 |
|
#3 | |
New Member
XingYu
Join Date: May 2014
Posts: 25
Rep Power: 12 |
Quote:
'DV_PARAM: a design variable in the configuration file has the wrong number of parameters' the .cfg is inv_NACA0015.zip |
||
Tags |
2d ffd su2 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple FFD box definition for shape optimization study | diwakaranant | SU2 | 1 | November 5, 2013 17:46 |
Problem with FFD-based shape optimization: all gradients are zero | praveen | SU2 Shape Design | 10 | October 7, 2013 21:21 |
Total force optimization or pressure force optimization? | robyTKD | SU2 Shape Design | 1 | August 19, 2013 15:54 |
COMSOL: optimization applied to a laminar flow | tdh89 | COMSOL | 0 | April 30, 2012 08:57 |
BOOK ON OPTIMIZATION OF FORTRAN CODES | Alberto | Main CFD Forum | 3 | November 10, 2008 06:07 |