I'm trying to simulate sound propegation inside a metal tube filled with air, with a rectangle source, and a point source (speaker and a microphone). I know that boundery conditions are not possible in K-wave, so I created a series of spherical sections that makes the tube, then placed the source and sensor in the tube.
In the slit example provided in the package, you have created an object with higher density and speed of sound (times 20), to simulate the slit.
I try to use the same method to simulate the increased density of the tube, and the speed of sound in it. A few question that I have regarding that topic:
1)Is this the best way to simulate the conditions mentioned above using k-wave?
2)If so, taking into account that sound speed is ~ 18 time in steel than in air, the calculation time length will be multipled by ~ 18 (since dt is propertional to max speed of sound). Since i'm not intrested in the way the sound propegated through the tube, I only care that the refrections and absorption stay the same, is there a way to go around this?
3)in a later stage I would like to include the harmonic of my frequency. can I do this simply by setting sensor.p =sin(w_1*t_grid) +sin(2w*t_grid)?
4) To make the spectral analysis I'm using FFT. is the rate of sample for the detector 1/dt?