CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Automatic mesh for airfoil coordinates? (https://www.cfd-online.com/Forums/su2/153511-automatic-mesh-airfoil-coordinates.html)

Ry10 May 27, 2015 12:46

Automatic mesh for airfoil coordinates?
 
Hi,

I'm attempting to use SU2 to do a free-form airfoil shape optimization for a wind turbine blade using Kulfan parameters. The problem that I am having is that I need a method to automatically generate the .su2 mesh file based on the airfoil coordinates that I obtain from the input of my Kulfan parameters. I know this is possible because this is what appears to be done in the educational version (SU2_EDU). I am currently using a third-party software called Construct2D to automatically generate the meshes in .p3d and then convert to .su2. The problem is that when I compute the adjoint gradients with this mesh it always gives me a gradient of 0 for all the design variables. Basically, is there a code that I could use to automatically generate the .su2 mesh with the input of an airfoil coordinate file? Thank you very much for your time.

shirazbj June 3, 2015 00:04

maybe use gmsh

PawHewitt June 4, 2015 12:09

Could use gmsh seeing as there's a script to convert the mesh format to su2. It's in the Meshtools/Fortran folder on github. Haven't used it myself though.

Or you could try to use one of the ready made su2 aerofoil meshes and deform it to match your aerofoil using SU2_DEF/MDC. You have to supply the surface deformations which you could get from the kulfan parameterisation. Requires some tinkering of the code however


All times are GMT -4. The time now is 06:32.