Numerical viscosity & shock capturing
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 
Re: Numerical viscosity & shock capturing
It stabilizes the scheme, and keeps it from blowing up at the shock.

Re: Numerical viscosity & shock capturing
why numerical schemes blowing up at the shock?

Re: Numerical viscosity & shock capturing
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.

Re: Numerical viscosity & shock capturing
Am getting this even for first order upwind scheme. Is it something related to the physical background of the model equations  incompressible nonviscous model?

Re: Numerical viscosity & shock capturing
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.

Re: Numerical viscosity & shock capturing
No it is not for Euler equations, these are fine for me.
What is the best incompressible algorithm for shock capturing then. 
Re: Numerical viscosity & shock capturing
Why are you trying to capture shocks in an incompressible flow?

Re: Numerical viscosity & shock capturing
Because of sharp discontinuities in my liquidliquid twophase flow model. In fact it is a stationary discontinuity any ideas please!

Re: Numerical viscosity & shock capturing
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.

Re: Numerical viscosity & shock capturing
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. 
Re: Numerical viscosity & shock capturing
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?

Re: Numerical viscosity & shock capturing
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. 
Re: Numerical viscosity & shock capturing
Are you dealing with an incompressible flow?

Re: Numerical viscosity & shock capturing
yes it is incompressible flow

Re: Numerical viscosity & shock capturing
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?

Re: Numerical viscosity & shock capturing
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? 
Re: Numerical viscosity & shock capturing
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?

Re: Numerical viscosity & shock capturing
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.

Re: Numerical viscosity & shock capturing
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.

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