
[Sponsors] 
August 6, 2008, 08:27 
Numerical viscosity & shock capturing

#1 
Guest
Posts: n/a

Hi guys, I'm having a bash at the Murman & Cole method for solving transonic flow. It's relatively straightforward and I think I've got it working correctly. I've read that the reason their scheme works is that the transition from central to upwind differencing (as the flow accelerates from sub to supersonic) introduces an artificial viscosity  which allows the shock to be captured. I understand why this happens  by expanding the finite difference operators using taylor series.
What I don't understand is why this artificial viscosity is important? Is artificial viscosity needed to correctly capture a shock or does it have some effect on the stability of the scheme? I'd really appreciate any advice you guys could offer. D 

August 6, 2008, 08:58 
Re: Numerical viscosity & shock capturing

#2 
Guest
Posts: n/a

It stabilizes the scheme, and keeps it from blowing up at the shock.


August 6, 2008, 09:15 
Re: Numerical viscosity & shock capturing

#3 
Guest
Posts: n/a

why numerical schemes blowing up at the shock?


August 6, 2008, 12:25 
Re: Numerical viscosity & shock capturing

#4 
Guest
Posts: n/a

because of the thing called Gibbs Phenomena. it occurs as a consequence of using fixed stencils (second or higherorder) across a discontinuity. while fixed stencil tries to reconstruct the polynomial it fails to obtain a nonoscillatory solution. these oscillations do not decay in magnitude even if the mesh is refined around that region. applying artificial viscosity or limiters, or enoweno type candidate stencil based methods can reduce or eliminate these oscillations.


August 6, 2008, 12:37 
Re: Numerical viscosity & shock capturing

#5 
Guest
Posts: n/a

Am getting this even for first order upwind scheme. Is it something related to the physical background of the model equations  incompressible nonviscous model?


August 7, 2008, 09:36 
Re: Numerical viscosity & shock capturing

#6 
Guest
Posts: n/a

are you getting oscillations for Euler equations? perhaps it would be good to implement the scheme for 1D or 2D scalar equations, like advection or Burger's equations. by this way capturing the flaws of impelementations could be easier. in addition, incompressible algorithm for shock capturing seems not the right case.


August 7, 2008, 10:11 
Re: Numerical viscosity & shock capturing

#7 
Guest
Posts: n/a

No it is not for Euler equations, these are fine for me.
What is the best incompressible algorithm for shock capturing then. 

August 7, 2008, 10:37 
Re: Numerical viscosity & shock capturing

#8 
Guest
Posts: n/a

Why are you trying to capture shocks in an incompressible flow?


August 7, 2008, 12:27 
Re: Numerical viscosity & shock capturing

#9 
Guest
Posts: n/a

Because of sharp discontinuities in my liquidliquid twophase flow model. In fact it is a stationary discontinuity any ideas please!


August 7, 2008, 13:00 
Re: Numerical viscosity & shock capturing

#10 
Guest
Posts: n/a

Shock capturing is not the same thing as handling interface discontinuities between phases. You need to go back and take a look at multiphase algorithms such as VOF, fronttracking, levelset, etc. coupled to a good pressurebased incompressible flow solver.


August 7, 2008, 16:29 
Re: Numerical viscosity & shock capturing

#11 
Guest
Posts: n/a

What about if I have a point source terms then?
shock capturing is the only choice for me as I can not use other methods. 

August 8, 2008, 08:54 
Re: Numerical viscosity & shock capturing

#12 
Guest
Posts: n/a

If you don't have shocks (which you won't in an incompressible fluid) then shock capturing can't be your only choice because it isn't a choice to begin with. Why can you not use other methods that are actually designed to work with the problem you have described?


August 9, 2008, 07:00 
Re: Numerical viscosity & shock capturing

#13 
Guest
Posts: n/a

I have a stationary discontinuity i.e. one contact wave corresponding to one eigenvalue which is a linearly degenerate, and two injected discontinuities these are just point source terms. So sharp discontinuities will appear. The numerical solutions are mesh (grid) dependent. Problems starts with fine mesh.
Is it because of the linearly degenerate? Or the mathematical model or the point source terms effect the hyperbolicity of the model? Your views very much appreciated. 

August 10, 2008, 21:59 
Re: Numerical viscosity & shock capturing

#14 
Guest
Posts: n/a

Are you dealing with an incompressible flow?


August 11, 2008, 00:48 
Re: Numerical viscosity & shock capturing

#15 
Guest
Posts: n/a

yes it is incompressible flow


August 11, 2008, 08:47 
Re: Numerical viscosity & shock capturing

#16 
Guest
Posts: n/a

Then how are you handling the infinite eigenvalues that correspond to the acoustic waves? Are you using a densitybased algorithm or a pressurebased, segregated algorithm?


August 11, 2008, 09:33 
Re: Numerical viscosity & shock capturing

#17 
Guest
Posts: n/a

I have one repeated eigenvalue. This eigenvalue corresponds to one phase velocity i.e. u_{dispersed phase} and it is not like the gas dynamics eigenvalues, no speed of sound. This eigenvalue is a contact wave â€" as I said before. Am trying to use finite volume methods based on the Riemann problem. What do you think then?
What are these methods densitybased algorithm or a pressurebased, segregated algorithm? How can I start learning them...? Do you know anything about carbuncle phenomena or carbuncle waves if it is correct? 

August 11, 2008, 10:59 
Re: Numerical viscosity & shock capturing

#18 
Guest
Posts: n/a

What equation set are you solving? Are you using the Riemann solver for the fluid equations? Are you treating the dispersed phase in a Lagrangian or Eulerian fashion?


August 11, 2008, 12:04 
Re: Numerical viscosity & shock capturing

#19 
Guest
Posts: n/a

The equations are in Eulerian fashion the usual equations, no energey. It is not possible to use Riemann solvers since the system is linearly degenerate just one repeated wave.


August 12, 2008, 10:59 
Re: Numerical viscosity & shock capturing

#20 
Guest
Posts: n/a

At this point I'm not sure what to suggest. The problem you are trying to solve (interface tracking between two phases) would be best handled by tracking the interface in a Lagrangian fashion, and I'm not sure that the eigenvalue you are left with in an eigenvalue analysis really corresponds to the motion of the interface (could be wrong, but I've never seen any other work to indicate that). Shock capturing is a different animal than interface tracking, and you need to review the approaches used for interface tracking. I don't think that artificial viscosity is going to help you, since the most common forms are driven by strong pressure gradients, which don't enter into the interface problem, since the pressure gradients are not typically large.


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Numerical viscosity due to the MUSCL and HLL coulpled scheme  sonsiest  Main CFD Forum  0  May 23, 2011 15:37 
Numerical Viscosity  Reynolds Number  Ertan Karaismail  Main CFD Forum  0  November 20, 2008 18:02 
Methods to quantify 'numerical viscosity'  diaw  Main CFD Forum  2  October 2, 2005 10:56 
Shock capturing  Dr B.M. Smith (Smith)  OpenFOAM Running, Solving & CFD  1  December 10, 2004 06:40 
Numerical Viscosity?  P. Diao  Main CFD Forum  9  August 21, 1998 07:46 