01 - Euler Advection (1D)
This exercise introduces programming with Julia
and the numerical solution of a partial differential equation.
The main objectives are to understand:
- The discretization of the one-dimensional advection equation,
- The approximation of differential operators using finite differences, and
- The implementation and visualization of the solution in
Julia
.
The equation is solved using the explicit Euler method, and the resulting particle advection is illustrated in Figure 1.
Figure 1. One-dimensional particle advection computed with the Euler method.