Computer simulations of acoustics
Posted: Tue Aug 08, 2006 1:03 am
Hi all!
My first post here - It's been a pleasure lurking up until now
.
I am trying to gain better understanding of acoustics by writing a computer program to simulate the wave equation - so far in just one dimension using a simple Finite Differences scheme. I'd appreciate some help with a few points I'm stuck with.
1. Is it possible to model a "speaker" with the 1D wave equation? What sort of source does it correspond to?
2. I understand p=0 (zero pressure) at the boundaries equal to completely reflective walls, but how do I model absorption? What sort of boundary conditions do I need?
If you know of a good paper on the subject I'd also appreciate it a lot.
Thanks for the help!
My first post here - It's been a pleasure lurking up until now
I am trying to gain better understanding of acoustics by writing a computer program to simulate the wave equation - so far in just one dimension using a simple Finite Differences scheme. I'd appreciate some help with a few points I'm stuck with.
1. Is it possible to model a "speaker" with the 1D wave equation? What sort of source does it correspond to?
2. I understand p=0 (zero pressure) at the boundaries equal to completely reflective walls, but how do I model absorption? What sort of boundary conditions do I need?
If you know of a good paper on the subject I'd also appreciate it a lot.
Thanks for the help!