kill(all)$

maxima:appendix:fvm,upwind scheme Φ[w],version 1.0 when(u>0,u<0),version 1.0
peter.vlasschaert@gmail.com,04/11/2022

ref :
new:31/10/2022:maxima :  appendix : fvm : Grid generation for CV in 1D,version 1.0

principal (Upwind-scheme)
------------------------------
- one nodal value   : Upstream 

( )   = nodal values
[w]  = interface of CV 
---------------------------
CV = Control Volume

→ Φ[w]  (x-direction,u>0)
------------------------------
u = velocity x-direction

→ → u-flow → → : "pos-direction"

grid : (W)→[w]→ (p) →e→( E) 

one nodal value   : W

p1a:Φ[w] =Φ[W]

→ Φ[w]  (x-direction,u<0)
------------------------------
u = velocity x-direction

<- <- u-flow <- <- : "neg-direction"

grid : W→[w]→ (p) →e→( E)

one nodal value   : p

p1b:Φ[w] =Φ[p]