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.