26 September 2015 2 8K Report

Hi,

I want to implement WENO reconstruction on characteristic variables.

Therefore, the following transformation between primitve and characteristic variables has to be defined:

W= P-1 V

where W is the characteristic variable vector,

V is the primitive variable vector

and P is the Jacobian matrix.

In the literature I saw it is common to write the above transformation as follows:

Wi= (Pi+1/2)-1 Vi

Pi+1/2  is to be evaluated at Vi+1/2 through arithmetic or Roe's average.

For this example, we choose fifth-order spatial accurate reconstruction and therefore the three stencils are being used:

S0=(i,i+1,i+2), S1=(i-1,i,i+1),S2=(i-2,i-1,i)

Then, one has to apply WENO reconstruction on Wi (characteristic vector) with the stencils indicated above and to get 

WL,i+1/2  and WR,i-1/2  . 

I encountered some difficulties in doing so and I got oscillations in the vicinity of discontinuities. 

  • Why the projection matrix is "freezed" at Vi+1/2 ? Wht not just Vi
  • Wi was calculated throught Pi+1/2, and then being used to reconstruct WR,i-1/2.  Isn't it wrong to use state variables data from the right neighnour in order to reconstruct the left side of a given computational cell? 
  • In the matrix P there are terms involving the speed of sound c. How should this speed be calculated? The first option is to calculate the speed at each cell and average as: ci+1/2 = 0.5(ci+ci+1). The second option is to calculate c at the cell face with the use of the primitive variables at the cell face,although then one has to average e.o.s parameters at the cell face as well. 
  • Is there any simple numerical code (FORTRAN,C,MATLAB) that one can learn the use of characteristic WENO reconstruction ?
  • More Ory Haimovich's questions See All
    Similar questions and discussions