Corrosion of metallic tubulars in an oil, gas or geothermal well may be inhibited by introducing into the well a dithiazine or dithiazine of the formula:
wherein R is selected from the group consisting of a C
1
to C
12
saturated or unsaturated hydrocarbyl group or a C
1
to C
10
ω-hydroxy saturated or unsaturated hydrocarbyl group; R
1
is selected from the group consisting of a C
1
-C
24
straight chain or branched alkyl group or a C
1
-C
24
arylalkyl; R
2
is selected from the group consisting of X-R
4
-X, R
4
being a C
1
-C
6
alkyl group; and X is chlorine, bromine or iodine. The dithiazine may he isolated from a whole spent fluid formed by reaction of hydrogen sulfide and a triazine. Alternately, the whole spent fluid containing the dithiazine may be introduced into the well. The dithiazines of formulae (II) and (III) are quaternized derivatives of the dithiazine of formula (I). In addition, the dithiazine or whole spent fluid or quaternized dithiazine may be formulated with at least one component selected from alkyl, alkylaryl arylalkyl or arylamine quaternary salts; mono or polycyclic aromatic amine salts; imidazoline derivative or a quaternary salt thereof; a mono-, di- or trialkyl or alkylaryl phosphate ester; or a monomeric or oligomeric fatty acid.
金属管道在油井、天然气井或地热井中的腐蚀可能通过向井中引入以下式中的二
硫氮杂环烷或二
硫氮杂环烷来抑制:其中R选自由C1至C12饱和或不饱和烃基或C1至C10ω-羟基饱和或不饱和烃基的群;R1选自由C1-C24直链或支链烷基或C1-C24芳基烷基的群;R2选自由X-R4-X的群,其中R4为C1-C6烷基;X为
氯、
溴或
碘。该二
硫氮杂环烷可从氢
硫和三嗪反应形成的完整废液中分离出来。或者,含有该二
硫氮杂环烷的完整废液可以被引入井中。式(II)和(III)的二
硫氮杂环烷是式(I)的季
铵化衍
生物。此外,该二
硫氮杂环烷或完整废液或季
铵化二
硫氮杂环烷可以与至少选自烷基、烷基芳基、芳基烷基或芳胺季
铵盐;单环或多环芳胺盐;
咪唑啉衍
生物或其季
铵盐之一;单烷基、二烷基或三烷基或烷基芳基
磷酸酯;或单体或寡聚
脂肪酸的组分配制而成。