hi, can i simulate this example with Heterogeneous Propagation Medium?
k-Wave
A MATLAB toolbox for the time-domain
simulation of acoustic wave fields
Setting An Initial Pressure Gradient Example
(2 posts) (2 voices)-
Posted 12 years ago #
-
Hi Mosina,
The function kspaceSecondOrder which is used in this example is based on an exact Green's function solution to the homogeneous wave equation. Unfortunately this means the medium cannot be heterogeneous.
Similarly, at this stage, we have not implemented initial velocity sources into the first-order simulation functions (kspaceFirstOrder2D, etc). An alternative would be to use a time varying velocity source with a short (but smooth) temporal pulse (e.g., a Gaussian), and then use
source.u_mask
to define your source distribution.Brad.
Posted 12 years ago #
Reply
You must log in to post.