On a method for direct numerical simulation of shear layer/compression wave interaction for aeroacoustic investigations