CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   WENO accuracy study, a 2D test case? (https://www.cfd-online.com/Forums/main/120015-weno-accuracy-study-2d-test-case.html)

 Faraz June 28, 2013 07:16

WENO accuracy study, a 2D test case?

Hi,

Is there a standard 2D test case to perform accuracy study of WENO without using periodic boundary conditions?

I know that people do tests with periodic BC, but I would like to understand if the boundary effects could decrease convergence rate significantly.

Say, for example in a scalar convection case?
Is there a paper or a reference to check with that?

Thanks

 crazyshock October 16, 2017 16:45

Try with 2D Reimann problems.

A large list can be found in the paper "Solution of 2d Reimann problems for Gas Dynamics without Reimann Problem Solvers" -A. Kurganov, E. Tadmor

 naffrancois October 17, 2017 03:01

Hello,

The advantage of periodic bc is that you can simulate a long time/distance advection case and then more easily show the less diffusive properties of high order schemes. Without periodic bc, you would need a much wider grid and computational time would be much higher.

If you do not want to work with such a bc, you can still perform accuracy test with advection equation to check the formal order of accuracy of your scheme. But you have to be very careful on the treatment of the limit as indeed it will spoil the observed order of accuracy for finer grids. What I am used to do is to prescribe the exact Riemann state (from the exact solution) at the face gauss nodes and let the Riemann solver do the job.

François

 crazyshock October 24, 2017 15:32

More test cases for viscous flows

Hi,

I have a 2d WENO code for compressible viscous flows and looking for test cases to run it on. I tried running on the lid driven cavity problem but couldnt get it to converge. Can you suggest some other test cases which are simple to set up like the Reimann problems but for viscous flows?

 FMDenaro October 24, 2017 16:10

Quote:
 Originally Posted by crazyshock (Post 669045) Hi, I have a 2d WENO code for compressible viscous flows and looking for test cases to run it on. I tried running on the lid driven cavity problem but couldnt get it to converge. Can you suggest some other test cases which are simple to set up like the Reimann problems but for viscous flows?
If you are looking for a test of the Navier-Stokes solver that is a different issue. Furthermore, a code for compressible flows can also not work properly for the lid driven incompressible flow.
Start first with a classical test on the Euler equations, you can also have a look to the book of LeVeque.

 crazyshock October 24, 2017 16:28

Quote:
 Originally Posted by FMDenaro (Post 669052) If you are looking for a test of the Navier-Stokes solver that is a different issue. Furthermore, a code for compressible flows can also not work properly for the lid driven incompressible flow. Start first with a classical test on the Euler equations, you can also have a look to the book of LeVeque.

I have ran tests with inviscid flow on 2d reimann problems and have got acceptable results. I just wanted to check my results after adding the viscous terms, thereby making it a full Navier Stokes solution. So yes, i need some simple test cases for the NS equations. 0012 is a widely used test case which i dont want to attempt as it would take a lot of time to just set up the grid and transformations. I will have a look at the book you mentioned but please do tell me if you know of any easy test cases for NS solver.

Thanks.

 FMDenaro October 24, 2017 16:39

Quote:
 Originally Posted by crazyshock (Post 669054) I have ran tests with inviscid flow on 2d reimann problems and have got acceptable results. I just wanted to check my results after adding the viscous terms, thereby making it a full Navier Stokes solution. So yes, i need some simple test cases for the NS equations. 0012 is a widely used test case which i dont want to attempt as it would take a lot of time to just set up the grid and transformations. I will have a look at the book you mentioned but please do tell me if you know of any easy test cases for NS solver. Thanks.

That strongly depends if you are interested in testing the capability of your code in solving flows with relevant compressibility effects or not. If your code can solve low Mach flows, you can use standard test-cases for incompressible flows (Taylor solution, backward facing step flow, etc).

 crazyshock October 24, 2017 16:50

Quote:
 Originally Posted by FMDenaro (Post 669056) That strongly depends if you are interested in testing the capability of your code in solving flows with relevant compressibility effects or not. If your code can solve low Mach flows, you can use standard test-cases for incompressible flows (Taylor solution, backward facing step flow, etc).
I would definitely look into that. Is there any benchmark solutions for simple flow configurations like turbulent boundary layer over flat plates or 2d channel flows? That would be really helpful and would be an excellent test case.
Also, I am using rho_inf*u_inf^2 to non dimensionalise the pressure, so Mach number doesnt explicitly show up in the equations I am solving. Would that cause any problems or should I go for the conventional 1/(gamma*M_inf^2) which is typically followed in high-speed flow literature? My final aim is to study shock wave boundary layer interactions so I would be running the final code at high Mach numbers.

 FMDenaro October 24, 2017 17:07

Mach number appears intrinsically as a response between the density and pressure variation. For a low Mach number flow, some codes use pre-conditioning techniques. But I see some codes working without that.
Try first a steady laminar flow in a channel, for example as described here http://acoustics.ae.illinois.edu/pdf...-lele-1992.pdf

 FMDenaro October 24, 2017 17:15

try also searching here https://www.cfd-online.com/Wiki/Vali...2-D_test_cases

 crazyshock October 25, 2017 17:12

Quote:
 Originally Posted by FMDenaro (Post 669060) Mach number appears intrinsically as a response between the density and pressure variation. For a low Mach number flow, some codes use pre-conditioning techniques. But I see some codes working without that. Try first a steady laminar flow in a channel, for example as described here http://acoustics.ae.illinois.edu/pdf...-lele-1992.pdf

How good would be a Taylor Green Vortex (2d) as a test case? With periodic boundary conditions i am getting a drift of the vortex and it doesnt match at all with the theoretical (exponential decay) solution. So i am confused as some test case (2d Reimann inviscid gives good results while others (Taylor vortex) isnt even near to what i expect.

 FMDenaro October 25, 2017 17:20

Quote:
 Originally Posted by crazyshock (Post 669200) How good would be a Taylor Green Vortex (2d) as a test case? With periodic boundary conditions i am getting a drift of the vortex and it doesnt match at all with the theoretical (exponential decay) solution. So i am confused as some test case (2d Reimann inviscid gives good results while others (Taylor vortex) isnt even near to what i expect.
Taylor solution is time-dependent and has a divergence-free velocity field. Try first a steady case, the 2D Poiseuille flow is a good bechmark to assess if your code can approach low-Mach flows.

 selig5576 October 26, 2017 10:45

Weno

I don't mean to be off topic, but when using WENO for incompressible NS. If I want to discretize the nonlinear advection term, do I need to use a hyperbolic scheme on top of WENO or can I just perform WENO on the nonlinear terms? In compressible cases you see Local Lax Friedrichs + WENO (for example.)

 All times are GMT -4. The time now is 22:05.