A diverter is a wellhead device used before the surface casing has been cemented, while the wellhead cannot yet withstand shut-in pressure. When shallow gas is encountered and the well kicks, the diverter does not seal off the wellhead, but diverts the gas and drilling fluid away from the rig and vents them. In one arrangement, a large-bore annular BOP forms the main body, with two vent lines of up to 12 in diameter led off below it: when shallow gas flows, the vent lines are opened first and the annular BOP is then closed, so that the gas stream leaves the rig through the side outlets and is vented downwind.
Diverting and venting buys time for the rig floor crew to evacuate; when the gas volume is very large, rock fragments carried out with the gas stream may plug the flow path and damage the rig. GB/T 31033-2014 requires that a BOP or a diverter shall be installed for drilling, with the stack arrangements given in an appendix to that standard; during installation, the wellhead, the rotary table, and the crown block are to be aligned on center before the equipment is secured. The specific arrangements for diverting and evacuation are set out in the well design and the detailed well control implementation rules; see shallow gas.