The sensor matrix has non-NaN values when run for less than 100 timesteps, however for more than 100 timesteps (i.e. t_end/dt > 100) then the sensor matrix only has NaN values. Even with checking the dt using the builtin k-wave function (checkStability), it returns Inf, suggesting that all timesteps should be stable. Could someone help with this issue?
k-Wave
A MATLAB toolbox for the time-domain
simulation of acoustic wave fields
Sensor matrix NaN for 3D simulation
(2 posts) (2 voices)-
Posted 2 years ago #
-
Hi Nitish,
This does sound like an instability. Is it solved by making the time step (or equivalently the CFL) smaller?
Note, the function
checkStability
only gives an approximate answer in some circumstances (see documentation).Brad.
Posted 2 years ago #
Reply
You must log in to post.