Sometimes it is convenient to run a faster simulation with linear and homogeneous conditions with the same array that one might use later with the added complexities. What's the best way to do this? One could, of course, use Field II but that introduces other concerns.
k-Wave
A MATLAB toolbox for the time-domain
simulation of acoustic wave fields
Using k-Wave for linear homogeneous cases
(2 posts) (2 voices)-
Posted 9 years ago #
-
Hi kaius,
For the case of linear propagation in a lossless and homogeneous medium, the formulation used in k-Wave is exact. So one way to speed up the simulations would be to increase the time step (or CFL). For initial value problems you could also use the function
kspaceSecondOrder
which is faster than the equivalent first order functions. Alternatively you could use other numerical approaches such as that used in focus, which will be much faster.Brad.
Posted 9 years ago #
Reply
You must log in to post.