cpraveen / dflo

Discontinuous Galerkin solver for compressible flows
54 stars 34 forks source link

Can this solver solve problems on non-cartesian mesh? #25

Open 2012ZGZYY opened 6 years ago

2012ZGZYY commented 6 years ago

I tested with the naca0012 mesh but found the solution not satisfactory. Is it because this code can not apply to non-cartesian mesh yet ? If I want to add this feature, which part of the code should I modify?

cpraveen commented 6 years ago

DG requires high order meshes atleast on curved boundaries. I.e., one has to use isoparametric elements. For general shapes like airfoils, this is not so easy. If you have an equation of boundary like y = f(x), then you can implement curved boundary by projecting the boundary edge onto the true boundary.