|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Jesús Ramírez
Join Date: Dec 2022
Posts: 2
Rep Power: 0 ![]() |
Hello! I'm new into SU2 and CFD in general and I'm trying to simulate flow over airfoils using SU2, I tried to use the incompressible inviscid hydrofoil .cfg file in tutorials to simulate air over a shape I modeled in GMSH (It's a first approach so it's not a great model), I only changed in the .cfg the density of the fluid, the speed, and the .su2 mesh name so it could use the mesh file I generated, I named my physical curves as they were in the .cgf file, inlet, outlet, airfoil, etc. But when I run the simulation the coefficientes, CD and CL are zero, when I reach the 200 iterations and I see the result in paraview I notice that the simulation is simply not doing what I want, I don't know what I'm doing wrong. The same happened when I tried to use the turbulent example of the naca0012 with spallart almaraz.
I'll attach my .cfg and .geo, as well as some screenshots of the geometry and the results in paraview. Thanks in advance for any reply! I'm sure that maybe I'm doing a lot of mistakes (And sorry for that) but I'll use them to learn. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
Your setup is not converging on this mesh, you can see this by looking at the pressure and velocity residuals. Try for instance a much smaller inlet velocity (U=0.1 m/s) and a smaller initial velocity, using only a velocity in the x-direction. Also try a much smaller value for your CFL number (CFL_NUMBER=1).
You will need much more iterations for such a small CFL number, but at least it will converge (a bit). In this case, the lift will be 0 of course. Since your airfoil is in a very small domain, the inlet and outlet, and walls will severely influence your results. The boundaries are actually so close to the airfoil that it will probably be difficult to get a fully converged solution unless the velocity is very low. If you want to investigate lift and drag for different angles of attack, have a look at the mesh size of the naca0012 - the distance from the airfoil to the edge of the domain is quite large. Also notice the use of a circular domain using free-stream conditions on the edge. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Jesús Ramírez
Join Date: Dec 2022
Posts: 2
Rep Power: 0 ![]() |
Thank you for your reply! I did what you recommended, I created a way bigger mesh, decreased courant number and tried to run the simulation, but anyway the coefficients are zero. I'm not reaching convergence yet, so maybe working with the mesh could fix the problem.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculating source term total cell-zone volume parallel computation | RobV | Fluent UDF and Scheme Programming | 2 | May 30, 2022 03:46 |
Introducing SU2 International Developers Society (IDS) | fpalacios | SU2 News & Announcements | 1 | June 17, 2019 22:38 |
Long output in terminal. | ssa_cfd | OpenFOAM Running, Solving & CFD | 1 | March 18, 2019 05:25 |
Incorrect calculation of forces/moments coefficients with older versions of SU2 | diwakaranant | SU2 | 2 | August 16, 2013 04:17 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 17:27 |