Fig. (9) Effect of formation fluid on total hardness and Ca2+ and Mg2+ contents.