Hi PyFR Forum!
I was running a simple case of NACA0012 Airfoil at M = 0.2 Re = 1e6 and different angles of attack. Although my simulation is completed, something strange happens near the leading edge of the profile and the problem persists even if I change my mesh. Can this be linked to some Paraview’s settings or to the configuration of my simulation?
In Paraview I already tried different filters suggested by this forum and paraview forum in related topic. I also exported using the two different options -k and -d but the problem is still there.
I also tried different order for the simulation and double precision but nothing changes.
This is the .ini file that I used.
I tried also rk45 method with lower values but results are the same. Then I used euler which required an higher value to have stability. Why ldg-beta or ldg-tau should be associated to this problem? Moreover, I simulated on a different mesh and with lower Re and the problem is still here, for this reason i thought it was linked to the mesh or to the first cell height.
I don’t know how to answer this question (I wish it had been curved), because it seems like the nodes follow the geometry only on the airfoil, but not in the first cells. Do you know how to generate a curved mesh in GMSH? I I haven’t found anything online regarding this, and any help would be greatly appreciated.
It does appear to be a high-order mesh. I would first try Freddie’s suggestion and change the LDG parameters to the defaults
ldg-beta = 0.5
ldg-tau = 0.1
Then, I would also try refining in the wall-normal direction (decreasing the wall-normal spacing of the first element). It appears your mesh is a bit coarse so this effect could be due to under-resolution.
Looking at it qualitatively it looks like it’s primarily at the first wall-normal elements’ boundaries. Two things I recommend trying: 1) this could be a visualization quirk, can you check that you’re doing high-order visualization in Paraview (Nonlinear Subdivision Level > 1)? I would also assume a CleanToGrid filter would help here but that’s just dealing with the symptoms and not the cause. 2) if (1) doesn’t change anything, can you try enabling anti-aliasing (flux and surf-flux) in the solver options?
I agree also sharing the config/mesh files would be helpful.