Introduction

Produced water in gas fields is one of the by-products of natural gas production. Since the produced water contains a variety of ions, especially calcium, the formation of water-insoluble compounds is common via various chemical reactions. The most common compound is CaCO3, forming undesirable scale. Since the produced water is usually separated from the gas in the separator and then passed through the sewage pipe into other equipment, the sewage pipe is the most severely scaled area. The main target of scale inhibition in gas fields is also the sewage in sewage pipes.

For four common non-phosphorus scale inhibitors, including polyacrylic acid (PAA), hydrolyzed polymaleic anhydride (HPMA), polyepoxysuccinic acid (PESA) and polyaspartic acid (PASP), the scale inhibition effects on CaCO3 in solution mainly include two aspects. One aspect is to inhibit the formation of CaCO3. When the scale inhibitor is present in the solution, the Ca2+ concentration increases with the increase of the concentration of the scale inhibitor. Therefore, the amount of formed CaCO3 decreases1,2,3,4,5,6. The other aspect is to inhibit the growth of CaCO3 crystals. Calcite is the most stable crystal structure of CaCO3 in general, and the most common solid in scale. PAA, HPMA, PESA and PASP can all be adsorbed to the main growth surface of the calcite crystal, therefore inhibiting the growth of crystals and resulting in the destruction of the regular shape of the calcite crystal2,3,4,5,6,7,8,9,10. This leads to the weakening of the crystal stability. The scale inhibition effect mechanisms among these scale inhibitors were also compared. HPMA has higher scale inhibition effect than PAA3, and PESA has better scale inhibition effect than PAA, HPMA and PASP11,12.

The previously reported research focused on describing the inhibitory effects from experimental results and lacked research on the mechanisms of inhibition. In this paper, we first evaluated the scale inhibition effect of four scale inhibitors based on the experimental results. We then established a molecular dynamics simulation model to calculate the interaction energies between the scale inhibitor molecules and Ca2+, as well as the scale inhibitor molecules and the calcite surface, which can illustrate the reason for the scale effects of scale inhibition. Finally, we implemented a DFT calculation for the model, included the number of bonds, and the Mulliken Population value of the bonds to explain the reason for the difference in adsorption energy.

Experiment Methods

Materials

The research inspiration in this paper is a gas field sewage station in Shandong, China. The main scaled ions in the sewage are Ca2+ and HCO3, and the main component of the scale is CaCO3. Therefore, CaCl2 and NaHCO3 are used to form CaCO3. The experiment used CaCl2 and NaHCO3 that were analytically pure with the content of >96%, purchased from Sichuan Kelong Company. The concentrations of Ca2+ and HCO3 in the sewage were 0.336 g/L and 0.696 g/L, respectively. The concentrations of CaCl2 and NaHCO3 in the solution were 0.933 g/L and 0.959 g/L after conversion, respectively.

The mass concentrations of four scale inhibitors including PAA, HPMA, PESA and PASP were all 50%. They were purchased from Kairui Company in Shandong, China. Each scale inhibitor was pre-diluted to 1 g/L with ultra pure water. In each group of the experiment, 10 mL inhibitor solution was poured into the ultra pure water (i.e., the concentration of the scale inhibitor in the test solution was 10 mg/L).

Experimental procedures

The scale inhibition effects of the scale inhibitor on CaCO3 include the inhibition of formation and crystal growth of CaCO3. Therefore, the experiment was divided into two groups. The experimental temperature was set at 51 °C and the pH was 6.6–6.8. (The temperature and pH were the same operational conditions as the as at the sewage station).

Experiment 1: inhibiting the formation of CaCO3

To begin, 1 L UP water (without scale inhibitor) and 0.99 L UP water with added scale inhibitor were added to each beaker. Additionally, 30 mL mixed solution (contains HCl, ammonia-ammonium chloride buffer solution and UP water) was added to each beaker during the experiment to control the pH of solution and compensate for the evaporation loss. The beakers were placed on a magnetic stirrer and heat to 51 °C. 0.959 g NaHCO3 and 10 mL scale inhibitor were added to the solution. After stirring for 30 min, 0.933 g CaCl2 was added into solution and start the experiment. The experiment duration was 24 h. After the experiment was completed, wait time of 6 h was needed to allow the CaCO3 solid precipitate. The supernatant was poured into a Buchner funnel with double-layer filter paper for filtration. Each set of clear liquids was repeatedly filtered 3 times. The clear liquid after the third filtration was stored for examination. The experiment of inhibiting the formation of CaCO3 was repeat three times.

Experiment 2: inhibiting crystal growth of CaCO3

To begin, 1 L UP water (without scale inhibitor) and 0.99 L UP water with added scale inhibitor were added to each beaker. Additionally, 30 mL mixed solution (contains HCl, ammonia-ammonium chloride buffer solution and UP water) was added to each beaker during the experiment to control the pH of solution and compensate for the evaporation loss. The beakers were placed on a magnetic stirrer and brought to 51 °C. NaHCO3 and CaCl2 were added to the solution. After stirring for 30 min, the scale inhibitor was added to start the experiment. The experiment was left to react for 24 h. After the experiment completed, the turbid liquid was poured into a Buchner funnel with single-layer filter paper for filtration. After filtration, the filter paper containing the slurry of CaCO3 was placed in an oven (105 °C) for 6 h. Then the dry CaCO3 powder was stored for examination. The experiment of inhibiting crystal growth of CaCO3 was repeat three times.

Molecular Models and Simulation Details

Software and force field

In this study, the amorphous cell, Discover, Forcite, and Castep modules in Materials Studio 7.0 software were used. The amorphous cell module was used to create a mixed layer of water molecules and scale inhibitor molecules. The Discover module was used to minimize energy, while the Forcite module was used to run molecular dynamics simulation programs using the COMPASS force field13,14,15. The Castep module was used to calculate the bond number and the Mulliken population value between the scale inhibitor molecule and the surface. The functional used for these calculations is the GGA of Perdew, Burke, and Enzerhof (PBE)16,17.

Molecular models

The four scale inhibitor molecules are drawn manually, as shown in Fig. 1.

Figure 1
figure 1

PAA (a), HPMA (b), PESA (c) and PASP (d) scale inhibitor models (red - O atom; white - H atom; gray - C atom; dark blue -N atom).

Model for inhibiting formation of CaCO3

Since the scale inhibitors prevent the formation of CaCO3 based on the Ca2+ concentration, the interaction between the inhibitor molecules and Ca2+ can be used to evaluate the scale inhibition effect2,18,19,20. The model used to examine the inhibition of the formation of CaCO3 contained 1 scale inhibitor molecule, 1 Ca2+, and 20 water molecules and was built using the amorphous cell module in Materials Studio. The initial configuration of this model is shown in Fig. 2. In order to ensure the ionization of Ca in this model, its charge and force field were the same as those used for the Ca2+ in the CaCO3 molecule.

Figure 2
figure 2

Initial models of interaction between Ca2+ and (a) PAA, (b) HPMA, (c) PESA, and (d) PASP. (Red - O atom; white - H atom; gray - C atom; dark blue - N atom; green: Ca atom).

Model for inhibiting crystal growth of CaCO3

As shown in Fig. 3, the X-ray diffraction (XRD) spectrum of CaCO3 shows that the peak corresponding to the (104) surface was significantly higher than that of the other surfaces, in the absence of scale inhibitors. Hence, the (104) surface is used as the surface of the CaCO3 crystal. The initial molecular models of the CaCO3 crystals were imported from a software database. The designated surface was cut to obtain the required adsorption surface. The a, b and c values of the (104) surface model of the established CaCO3 crystal were 8.09 Å, 9.98 Å and 37.91 Å, respectively. Since the rotation of CO32− had a large influence on the adsorption process, the Ca and C atoms in the crystal surface were set to the fixed state, and the O atom was set to the free state21. A mixed layer, using one scale inhibitor molecule and 20 water molecules, was created in the amorphous cell module and the a and b values were chosen to be identical to the surface model values. The surface model was combined with the mixed layer by using thebuild layers program in Materials Studio software. The Finitial model for inhibiting the CaCO3 crystal growth is shown in Fig. 4.

Figure 3
figure 3

XRD of CaCO3 crystal formed in absence of scale inhibitors in three groups of experiment.

Figure 4
figure 4

Initial models of interaction between CaCO3 (104) surface and (a) PAA, (b) HPMA, (c) PESA and (d) PASP (red - O atom; white - H atom; gray - C atom; dark blue - N atom; green: Ca atom).

Simulation conditions

Once the models were created, the energy of each was minimized using the smart minimizer, which includes steepest descent, conjugate gradient and Newton methods. The convergence of all methods was set at 10−7. The Forcite module was used to perform molecular dynamics simulations. The temperature was set to 324 K (i.e., 51 °C), and 20 million steps in the NVT ensemble were performed using a Berendsen thermostat. After the molecular dynamics simulations completed, the final state of the model is shown in Fig. 5. Finally, the Castep module of Materials Studio was used to perform DFT calculations. In this module, the PBE functional was chosen, and Fine was selected as Quality.

Figure 5
figure 5

Final models of interaction between Ca2+ (a–d) and between CaCO3 (104) surface (e–h) and (a) PAA, (b) HPMA, (c) PESA and (d) PASP (red - O atom; white - H atom; gray - C atom; dark blue - N atom; green: Ca atom).

Results and Discussion

Scale inhibitor and Ca2+

The clear liquid was placed in an ion chromatograph (ICS-5000, Thermofisher Scientific CO., USA) for detection, and the obtained Ca2+ concentration is shown in Table 1.

Table 1 Concentration of Ca2+ (mg/L) in different solutions.

As shown in Table 1, the concentration of Ca2+ in the solution containing no scale inhibitor was significantly lower than that in the solution containing scale inhibitors, indicating that most of the Ca2+ was formed as a precipitate of CaCO3 in absence of scale inhibitors. Most Ca2+ remained in a free state in presence of scale inhibitors. The sequence of Ca2+ concentration in solutions containing different scale inhibitors was PESA > PASP > HPMA > PAA. Therefore, the sequence of effects of inhibiting the formation of CaCO3 was PESA > PASP > HPMA > PAA.

Scale inhibitor inhibiting crystal growth of CaCO3

The experimentally obtained powders were examined by SEM (Quanta 250, FEI Co., USA), XRD (D8 ADVANCE, Bruker AXS CO., Germany) and laser particle analyzer (HYDRO2000 (APA2000), Malvern CO. UK), respectively. The CaCO3 crystal morphology are shown in Figs 68. The XRD peak of the CaCO3 (104) surface and the average volume of particle size of CaCO3 crystal are shown in Figs 9 and 10 and Table 2, respectively.

Figure 6
figure 6

Morphologies of CaCO3 crystals with various added scale inhibitor solutions in first group of experiment. (a) No scale inhibitor; (b) containing PAA; (c) containing HPMA; (d) containing PESA; (e) containing PASP.

Figure 7
figure 7

Morphologies of CaCO3 crystals with various added scale inhibitor solutions in second group of experiment. (a) No scale inhibitor; (b) containing PAA; (c) containing HPMA; (d) containing PESA; (e) containing PASP.

Figure 8
figure 8

Morphologies of CaCO3 crystals with various added scale inhibitor solutions in third group of experiment. (a) No scale inhibitor; (b) containing PAA; (c) containing HPMA; (d) containing PESA; (e) containing PASP.

Figure 9
figure 9

Comparison of average XRD peaks of (104) surface in CaCO3 crystal.

Figure 10
figure 10

Comparison of average volume of particle sizes in CaCO3 crystals.

Table 2 The XRD peaks of (104) surface and volume of particle sizes of CaCO3 crystals.

As shown in Figs 68, in absence of scale inhibitors, the CaCO3 crystal mainly exhibited long needle-like and hexahedral shapes. In presence of scale inhibitors, the particle size of the CaCO3 crystal reduced significantly, and the CaCO3 crystal exhibited short needle-like and irregular polyhedron shapes. As shown in Figs 9 and 10 and Table 2, the XRD peak of the (104) surface and the CaCO3 crystal average volume particle size in presence of scale inhibitors were significantly smaller than those in absence of scale inhibitors.

Also as shown in Figs 610 and Table 2, in presence of scale inhibitors, the crystal growth of the (104) surface of CaCO3 was suppressed, the overall growth rate of the crystal was decelerated, and the average volume particle size was reduced. The sequences of both XRD peak and the volume average particle size in solutions containing different scale inhibitors were PESA < HPMA < PASP < PAA. Hence, the sequence of effects of inhibiting the CaCO3 growth was PESA > HPMA > PASP > PAA.

Interaction energy calculations

According to the experimental results, the interaction between the scale inhibitor molecule and Ca2+ and the adsorption of the scale inhibitor molecule on the CaCO3 (104) surface were the main factors inhibiting formation and crystal growth of CaCO3, respectively. The equations used to calculate the interaction energy between the scale inhibitor molecules and the Ca2+, as well as the CaCO3(104) surface are expressed as22,23:

$$\Delta {E}_{1}={E}_{{\rm{Ca}}+{\rm{inhi}}}-({E}_{{\rm{Ca}}}+{E}_{{\rm{inhi}}})$$
(1)
$$\Delta {E}_{2}={E}_{{\rm{surf}}+{\rm{inhi}}}-({E}_{{\rm{surf}}}+{E}_{{\rm{inhi}}})$$
(2)

where ΔE1 refers to the interaction energy between Ca2+ and the scale inhibitor molecule, ΔE2 refers to the interaction energy between the CaCO3 (104) surface and the scale inhibitor molecule, Eca+inhi refers to the energy in the model in presence of both Ca2+ and scale inhibitor molecules, Esurf+inhi refers to the energy in the model in presence of both the CaCO3 (104) surface and scale inhibitor molecules, Eca, Einhi, and Esurf refer to the energy in the model in presence of Ca2+, scale inhibitors and the CaCO3 (104) surface, respectively. The interaction energies between Ca2+ and the CaCO3 (104) surface with the scale inhibitor molecules are shown in Tables 2 and 3, respectively.

Table 3 Interaction energies between the four inhibitor molecules and Ca2+. All values are in kcal/mol.

All of the ΔE1 and ΔE2 values in Tables 3 and 4 are negative, indicating that the interactions between the inhibitors and Ca2+ and CaCO3 (104) are spontaneous. Comparing the values of ΔE1 and ΔE2, the sequences of interaction energies between Ca2+ and scale inhibitor molecules and the CaCO3 (104) surface are PESA < PASP < HPMA < PAA and PESA < HPMA < PASP < PAA, respectively.

Table 4 Interaction energy between the four inhibitor molecules and the CaCO3 (104) surface. All values are in kcal/mol.

When the value of the interaction energy is more negative, the interaction modeled is more stable and the intensity of the action was higher. Therefore, the sequence of interaction strengths between Ca2+ and the scale inhibitor molecules is PESA > PASP > HPMA > PAA. The interaction between Ca2+ and scale inhibitor molecules was the main reason for Ca2+ to be in a free state. The inhibition of CaCO3 formation by each scale inhibitor seen experimentally correlates with the sequence of interaction strengths between Ca2+ and the scale inhibitor molecules.

The sequence of interaction strengths between the CaCO3 (104) surface and the scale inhibitor molecules is PESA > HPMA > PASP > PAA. If the bonding strength between the scale inhibitor and CaCO3 (104) surface was higher, the active growth point of the surface was occupied by the scale inhibitor molecule instead of the CaCO3 molecule, which resulted in the surface growth rate decreasing and further resulted in the growth rate of CaCO3 crystal decreasing. Therefore, the inhibition of CaCO3 crystal growth by each scale inhibitor seems to follow the sequence of interaction strengths between the CaCO3 (104) surface and the scale inhibitor molecules.

DFT calculations

The interaction between the two components was proportional to the number of chemical bonds formed between the two interacting components and the Mulliken population value of the bonds. The interaction energy was inversely proportional to the number of chemical bonds and the Mulliken population value of the bonds. The chemical bonds formed, bond lengths, and Mulliken populations for the interaction between the scale inhibitor molecule and the Ca2+ and the CaCO3 (104) surface are shown in Tables 5 and 6, respectively.

Table 5 Chemical bonds, Mulliken population values of bonds, and bond lengths between Ca2+ and scale inhibitor molecules.
Table 6 Chemical bonds, Mulliken population values of bonds, and bond lengths formed between the CaCO3 (104) surface and scale inhibitor molecules.

As shown in Table 5, the bonds formed between the Ca2+ and the scale inhibitor molecules were formed by Ca2+ and O atoms in the scale inhibitor molecules24. PESA and Ca2+ formed four Ca-O bonds, the most bonds formed compared to the other three inhibitors. The interaction energy value between PESA and Ca2+ was the lowest of any inhibitor, therefore, the interaction was the strongest. The other three scale inhibitors only formed one Ca-O bond with Ca2+. The sequences of the Mulliken population values of the bonds and interaction intensities for the other three inhibitors are both PASP > HPMA > PAA. The sequence of interaction energy values is PASP < HPMA < PAA. According to the number of bonds formed and the Mulliken population values of the bond(s), the sequence of interaction strengths between the scale inhibitors and Ca2+ was PESA > PASP > HPMA > PAA, and the sequence of interaction energy values was PESA < PASP < HPMA < PAA.

As shown in Table 6, two types of chemical bonds are formed between the scale inhibitor molecules and the CaCO3 (104) surface. One bond formed is an O-H bond, formed by a H atom in the scale inhibitor and an O atom on the surface, while the other is a Ca-O bond, formed by an O atom in the scale inhibitor and a Ca atom on the surface of the crystal. PESA formed five bonds (two H-O bonds, three Ca-O bonds) with the surface, and HPMA formed four bonds (one H-O bond and three Ca-O bonds) with the surface. Since the number of O-H bonds and the Mulliken population values of Ca-O bonds formed by PESA and the surface were higher than those formed by HPMA and the surface, the interaction strength between PESA and the surface is higher than between HPMA and the surface. Both PASP and PAA formed only two bonds (1 H-O bond, 1 Ca-O bond) with the surface. Therefore, the interaction strengths between PASP and PAA with the surface are weaker than those between PESA and HPMA with the surface. By comparing the Mulliken population values of the same type of chemical bonds, it can be concluded that the strength between PASP and the surface is higher than that between PAA and the surface. According to the number of bonds formed and the Mulliken population values of the bonds, the sequence of interaction strengths between the scale inhibitors and the CaCO3 (104) surface is PESA > HPMA > PASP > PAA, while the sequence of interaction energy values is PESA < HPMA < PASP < PAA.

Conclusions

In this study, the mechanism of inhibition effects of PAA, HPMA, PESA and PASP on the formation and crystal growth of CaCO3 in the solution were studied. According to the experimental results, the sequence of inhibition effects of scale inhibitor on formation of CaCO3 is PESA > PASP > HPMA > PAA, while the sequence of inhibitory effects on crystal growth of CaCO3 is PESA > HPMA > PASP > PAA. Calculating the interaction energies between the scale inhibitor molecules and Ca2+ as well as the CaCO3 (104) surface shows that the higher inhibition effect is derived from lower interaction energy values. DFT calculations indicate that lower interaction energy values are derived from the formation of a larger number of chemical bonds with higher Mulliken population values between the scale inhibitor and the Ca2+, as well as between scale inhibitor molecules and the CaCO3 (104) surface. According to the mechanism of the four common inhibitors, the inhibition effects of other inhibitors could be evaluated by similar means in the future.