CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   WENO 5th in Generalized Coordinate (Curvilinear Coordinate) (https://www.cfd-online.com/Forums/main/232820-weno-5th-generalized-coordinate-curvilinear-coordinate.html)

MFurufuru January 1, 2021 06:19

WENO 5th in Generalized Coordinate (Curvilinear Coordinate)
 
Hi.

I am developing WENO 5th finite difference method Fortran code because I want to simulate hypersonic flow with bodies.

I developed 2D-rectanglar uniform grid solver as shown in the figure.(Oblique shock wave, AOA=10 deg, Mach number is 2.)
I think this result is reasonable.

So, I decided to add metrics and Jacobian and simulate same problem in Curvilinear Grid.
However, the result is weird.

Did you have same problem like these figure?
It seems my code is correct. (metrics and jacobian are reasonably added, I think...)

I'll appreciate your comments!
Thank you.

WENO 5th:
Flux : Lax-Friedrichs flux splitting (Global)
parameter epsilon=1e-6

Time Discretization:
3rd order TVD Runge-Kutta

https://www.cfd-online.com/Forums/me...eq-metrics.png

Eifoehn4 January 1, 2021 12:10

First step would be to simplify your test problem/mesh.

MFurufuru January 1, 2021 19:54

Thank you so much for your reply.
I thought this problem setting was the most simple case in 2D.

Do you have some suggestions for the problem setting?
What problem and mesh should I use?

Eifoehn4 January 1, 2021 20:41

I suppose you have implemented the Euler or Navier-Stokes equations:
  • Check if your code fulfills the free stream preservation property.
  • Check for conservativity e.g. mass/energy/momentum.
  • Check for symmetries, e.g. simulate a moving contact discontinuity from left to right or from down to top or vice versa.
  • Implement the manufacture solution procedure and check your convergence order.
  • Modify your mesh only in one direction.
  • Start with a more simple equation system e.g. advection/diffusion or burgers equations
  • ...

There are so many things you can try just proceed according to the exclusion procedure.

Regards

MFurufuru January 1, 2021 20:58

Thank you so much!
I will try some simulations along with your suggestions.


All times are GMT -4. The time now is 14:16.