This is the Australian Submarine Navy doing a live torpedo practice shot on one of their decommissioned ships.
They used a Mk 48 torpedo developed in the USA . It is non nuclear and not a contact weapon.
It is designed to go off directly underneath the ship at about 50 feet under the keel.
The effect is devastating as you can see from the video.