I would consider starting with just a model of a pipe with an exit to ambient (like in the video). Tricky part may be how to properly model the uncorking. The pressure behind the pellet may be high enough to set up a brief choked condition and that's where what appear to be shock waves are generated.