dougshidong / PHiLiP

Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
Other
45 stars 36 forks source link

Strong DG is producing nonphysical results with NACA airfoil test case #249

Closed cpethrick closed 7 months ago

cpethrick commented 9 months ago

I've been running into issues with strong DG on grids which are more complicated than just a periodic cube. To illustrate this as a minimal working example, I've reproduced the issue using a NACA0012 airfoil which is generated using deal.ii (to eliminate any uncertainty about GMSH). Please see a branch on my repository to run these; I have minimally changed the subsonic NACA0012 case to be unsteady and use RK4 such that weak and strong can be compared.

Using weak DG, the result after a small time interval looks reasonable: image

But strong DG results in strange jumps, which are aligned with cell faces: image

These discontinuities appear at the very first time step. I have seen this on a few GMSH meshes, as has Shruthi, and the commonalities seem to be that we have non-periodic BCs and interfaces between "zones" of the mesh where cell shapes or densities change. The issue seems to go away when grids are perfectly cartesian.

I'm happy to hear any input from others, as this could caused by any number of things, including BCs, the face integral, mesh generation, etc.