Skip to content

Issue on page /fvm/advection_1.html

For the vector/matrix form of the solution, it says we are using a forward Euler scheme but I think on the right hand side the first term should be \phi_i^{n} and not \phi_i^{n-1}. Like this: \phi_i^{n+1} = \phi_i^{n} - \frac{c \, \Delta t}{\Delta x} \left[ -\frac{1}{2} \quad 0 \quad \frac{1}{2} \right] \begin{bmatrix} \phi_{i-1} \\ \phi_i \\ \phi_{i+1} \end{bmatrix}^n

Is this a mistake or maybe I understood something wrong?

Edited by Rittika Saha
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information