starting from raw materials , the nuclear submarine manufacturing plant and the military liaison at the plant conducted ultrasonic and x-ray flaw detection for the weld seams of the submarine hull and for the valve and tank systems .