fixed typo in upwinding equation

This commit is contained in:
NT 2022-06-02 20:24:21 +02:00
parent 2f0176968e
commit 266cbb6be2

View File

@ -287,9 +287,9 @@ $d_i(t+\Delta t) = \mathcal P ( d_i(t), \mathbf{u}(t), t + \Delta t)$, which
gives the following: gives the following:
$$ \begin{aligned} $$ \begin{aligned}
& d_i(t+\Delta t) = d_i - u_i^+ (d_{i+1} - d_{i}) + u_i^- (d_{i} - d_{i-1}) \text{ with } \\ & d_i(t+\Delta t) = d_i - \Delta t \big[ u_i^+ (d_{i+1} - d_{i}) + u_i^- (d_{i} - d_{i-1}) \big] \text{ with } \\
& u_i^+ = \text{min}(u_i \Delta t / \Delta x,0) \\ & u_i^+ = \text{min}(u_i / \Delta x,0) \\
& u_i^- = \text{max}(u_i \Delta t / \Delta x,0) & u_i^- = \text{max}(u_i / \Delta x,0)
\end{aligned} $$ \end{aligned} $$
```{figure} resources/diffphys-advect1d.jpg ```{figure} resources/diffphys-advect1d.jpg