In the MATLAB version of K-wave, I would like to be able to simulate and detect the pressure field generated by an initial pressure distribution within a three-dimensional heterogeneous propagation medium, but I would like to separate the compressional (P) from the shear (S) wave.
I tried to do that by setting:
medium.sound_speed_shear = 0; (P wave)
or
medium.sound_speed_compression = 0; (S wave)
respectively. I wanted to ask if this makes sense from a physical perspective. In terms of results I think I am getting decent P waves, but the S waves are simply arrays full of zeros.