Next: The Difference Equations
Up: Partial Differential Equations
Previous: Problems
Project -- Lagrangian Fluid Code
Small amplitude sound waves travel at speed
without changing shape (so that a sine wave remains a sine wave).
However, when the amplitude is large, the sound speed differs between
the peaks and the troughs of the wave and the wave changes shape as it
propagates. This project is to simulate this effect in one-dimension. A
difference method is used in which the system is split up into cells and
the cell boundaries are allowed to move with the local fluid velocity (a
so-called Lagrangian
method). You should not require any library routines to
complete this project.
Subsections