|
[Sponsors] |
Parametric surface deformations for optimization |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 26, 2018, 12:08 |
Parametric surface deformations for optimization
|
#1 |
Member
tom pratt
Join Date: Jan 2016
Posts: 55
Rep Power: 10 |
Hi All,
I am currently trying to set up an adjoint-based optimization using SU2 v6; However, I would like to specify my own parametric design variable for the surface shape; rather than use any of the in-built ffd-style design variables. I have been looking over grid_movement_structure.cpp to find a way of implementing this and have found a couple of possible solutions within my programming skill level. firstly: CSurfaceMovement::SetExternal_Deformation - this looks like it is set up for unsteady mesh movement but could it be used with some external deformation file to perform shape optimization? if so, what format should this file be in and how should i ensure it is used by the cfg file? secondly: CSurfaceMovement::SetParametricCoord - The title seems more promising however this looks like it actually utilises the FFD box definitions which i do not want to do. finally: I have read in https://su2.stanford.edu/papers/AIAA_Paper_ASM_2012.pdf that a software package called pyCAPRI was used to define two parametric design variables for the N+2 supersonic configuration; fuselage width and inboard sweep angle. This is much closer than anything i have seen to the types of parameters i would like to use with SU2. is there any more information available as to how i might be able to define simple geometric design variables such as this (maybe using external software?) for the shape optimization; without necessarily having to add more code to grid_movement_structure.cpp ? (really want to avoid doing this if at all possible) Many thanks, Tom Pratt |
|
January 19, 2024, 06:57 |
Any updates?
|
#2 |
Member
Francois Gallard
Join Date: Mar 2010
Location: Toulouse, France
Posts: 44
Rep Power: 16 |
Hello,
I have the same objective: I have a custom shape parametrization with derivatives and I want to use the existing mesh deformation. Has anyone managed to do it? It seems to me that the code in the driver has to be changed to introduce the surface deformation but it is not clear how. https://github.com/su2code/SU2/blob/...tionDriver.cpp Can anyone please help? Thanks François Gallard |
|
January 19, 2024, 08:27 |
|
#3 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 672
Rep Power: 21 |
So you want to use the output of the adjoint and go with this information to an external geometry modeler and deform the CAD directly (CAD based adjoint optimization)?
It is not something that runs out-of-the-box with the current scripts and interface that we have in SU2, but several groups have implemented this and similar things in their own workflow, usually tailored to specific external packages. For detailed implementation advise, maybe join the su2devteam on slack or join one of the weekly developer meetings online. |
|
January 19, 2024, 10:09 |
|
#4 |
Member
Francois Gallard
Join Date: Mar 2010
Location: Toulouse, France
Posts: 44
Rep Power: 16 |
Yes it is what I want to acheive.
Thank you very much for your answer. Could you please give me the names of the projects / packages that follow such approaches if there are any public communications or papers? Or even better open source implementations. Best Regards François Gallard |
|
January 19, 2024, 10:33 |
|
#5 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 672
Rep Power: 21 |
Hi,
There was a recent presentation on the SU2 conference using parablade. It is still on my list of things to try out. https://su2foundation.org/su2conference2023/ |
|
January 19, 2024, 12:25 |
|
#6 |
Member
Francois Gallard
Join Date: Mar 2010
Location: Toulouse, France
Posts: 44
Rep Power: 16 |
Great thank you.
From the presentations list I also found one example that seems to fit this need from the Python wrapper: https://www.youtube.com/watch?v=tEDP...-OpenSourceCFD 8 min 24 Best Regards François |
|
Tags |
design parameter, design varibles, optimization, parametric |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible | velan | OpenFOAM Meshing & Mesh Conversion | 3 | October 22, 2015 12:05 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
[snappyHexMesh] Snap Precision to a STL Surface | malaboss | OpenFOAM Meshing & Mesh Conversion | 16 | July 26, 2013 02:44 |
Simulation of varying contact angles for a large droplet of water on a surface | cp703 | CFX | 5 | July 20, 2013 07:08 |
Surface reactions | netmaster | STAR-CCM+ | 0 | November 9, 2012 22:41 |