CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

WENO 5th in Generalized Coordinate (Curvilinear Coordinate)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 1, 2021, 06:19
Default WENO 5th in Generalized Coordinate (Curvilinear Coordinate)
  #1
New Member
 
Join Date: Jan 2021
Posts: 3
Rep Power: 3
MFurufuru is on a distinguished road
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

MFurufuru is offline   Reply With Quote

Old   January 1, 2021, 12:10
Default
  #2
Senior Member
 
Eifoehn4's Avatar
 
-
Join Date: Jul 2012
Location: Germany
Posts: 158
Rep Power: 12
Eifoehn4 is on a distinguished road
First step would be to simplify your test problem/mesh.
__________________
Check out my side project:

A multiphysics discontinuous Galerkin framework: Youtube, Gitlab.
Eifoehn4 is offline   Reply With Quote

Old   January 1, 2021, 19:54
Default
  #3
New Member
 
Join Date: Jan 2021
Posts: 3
Rep Power: 3
MFurufuru is on a distinguished road
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?
MFurufuru is offline   Reply With Quote

Old   January 1, 2021, 20:41
Default
  #4
Senior Member
 
Eifoehn4's Avatar
 
-
Join Date: Jul 2012
Location: Germany
Posts: 158
Rep Power: 12
Eifoehn4 is on a distinguished road
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
__________________
Check out my side project:

A multiphysics discontinuous Galerkin framework: Youtube, Gitlab.
Eifoehn4 is offline   Reply With Quote

Old   January 1, 2021, 20:58
Default
  #5
New Member
 
Join Date: Jan 2021
Posts: 3
Rep Power: 3
MFurufuru is on a distinguished road
Thank you so much!
I will try some simulations along with your suggestions.
MFurufuru is offline   Reply With Quote

Reply

Tags
compressible flow, curvilinear coordinate, finite difference method, weno code, weno5

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
WENO scheme on curvilinear coordinates selig5576 Main CFD Forum 4 July 18, 2019 03:49
WENO 5 extension to curvilinear grids fjavi90 Main CFD Forum 6 November 23, 2017 14:35
weno generalized coordinate system peter2010300009 Main CFD Forum 0 May 1, 2017 00:45
How to convert the Reynolds stress into Curvilinear coordinate? huangxianbei OpenFOAM Post-Processing 0 October 9, 2014 23:07
Generalized Curvilinear Grid Maker wen long Main CFD Forum 1 July 14, 2001 02:56


All times are GMT -4. The time now is 17:39.