dx value (0 to 0.5 m):

Boundary at x =0 m (1 to 4):

dt value (0 to 1s):

One of the best ways to demonstrate how numerical simulation works is to
apply it on a non-linear convection 1D differential equation:

Once you discretise the equation, it looks like:

1. Select a dt ( time step) value between 0 & 1s

2. Select a dx (spatial step) value between 0&0.5m

3. Provide a boundary value at x =0 ( 1 to 4)

4. Click Simulate and enjoy the simulation