As given in the documentation, the transport equation solved is given by
In order to solve the advection term using WENO scheme on 5 point stencil, to my understanding explicit weno5Z_upwind is present in the code.
I would like to know how this term is discetized? The advection term which reads as :
V.grad(Sj) can be re-formulated as
div ( V Sj) - Sj div (V)
Ques 1: As the code is incompressible, is te last term neglected in the code?
Ques 2: Does the explicit WENO upwind formulation refers to WENO dsicretization of Sj but upwind velocity?
Ques 3: If I wish to add more terms on RHS of equation which are dependent of Sj in addition to already present diffusion term, say grad(Sj) and add the discretization implicitly, then as per my understanding, the coefficients of the matrix needs to be modified. May I know which one for transport equation.