Nasser M. Abbasi
The following is my solution report in HTML and PDF
The following are animated GIFs showing the finite difference numerical solution to problem 1 as described in the above HW. The scheme used is Lax-Wendroff.
Clicking on an image will start the animation in a new window.
These simulations only show the pressure wave,
and not the
acoustic perturbation velocity
.
This solution was run with boundary conditions which caused the sound wave to reflect from both boundaries. This is what would happen inside a room with reflective walls such as concerete or wood.
This solution was run with boundary conditions which caused the sound wave to reflect from only the left boundary but absorbed into the right boundary. This is what would happen inside a room with one wall treated with material to absorbe the sound waves reaching it.
The following are animations of the numerical solution to
. The solution used
the finite volume method using 7 different numerical flux limiter functions to compare
performance.
These 7 methods are defined in the problem statement in the report above.
The methods are
The following tables show the results of the simulations. 4 tables are given. Each
table is for a different initial conditions. In all of these results, the maximum
run time was
seconds. In order to reduce the size of the animation file, not every
frame was captured from the simulation run.
Courant number used was
, the advection speed was set at
and grid spacing was
meters. The domain is
using cell centered grid.
These animations will run only once and stop at 5 seconds. To run it again, simply reload the web page using the browser reload button, this will cause the animation to start from the beginning again.
This test just combines the step function with the low frequency smooth test done above. Hence, the same comments will apply as above.
me 2012-04-27