Patent ID: 7510009

Claim:
A method of stimulating a subterranean formation penetrated by a well with a diverting agent, the method comprising: (A) introducing into a high permeability zone of the formation a fluid comprising (i) an amidoamine oxide gelling agent and (ii) hydrochloric acid which, subsequent to introduction into the formation, forms a gelled diverting agent in-situ in the formation, wherein the strength of the hydrochloric acid is between from about 20 to about 28% and further wherein the amidoamine oxide gelling agent is of the formula: wherein R 1 is a saturated or unsaturated, straight or branched chain aliphatic group of from about 7 to about 30 carbon atoms, R 2 is a straight chain or branched, substituted or unsubstituted divalent alkylene group of from 2 to about 6 carbon atoms, R 3 and R 4 are independently selected from alkyl or hydroxyalkyl groups of from 1 to about 4 carbon atoms or R 3 and R 4 together with the nitrogen atom to which these groups are bonded form a heterocyclic ring of up to 6 members; and R 5 is hydrogen or a C 1 -C 4 alkyl or hydroxyalkyl group; (B) increasing the viscosity of the fluid in the formation by spending the acid; and (C) subsequently introducing acid into the well, the flow of the subsequently introduced acid being diverted to a low permeability portion of the formation.