Introduction

Anticline structure reservoirs, faulted structure reservoir, and buried hill structure reservoirs take a large proportion of the discovered oil reservoirs. Many of them have large angle and thick oil layer, and some of them have bottom water (Ping et al. 2015; Shuxian et al. 2016). Much oil remains in the top of the reservoirs due to the gravity segregation during the development of these reservoirs. It is a challenge to recover the residual oil which is left in the top of the reservoirs with an economical and efficient method.

The gas-assisted gravity drainage (GAGD) process has been used for improving oil recovery in secondary and tertiary modes for both immiscible and miscible processes (Mahmoud and Rao 2008). The process of GAGD is to place a producing well in the lower position of the producing zone and inject gas through the wells located in the reservoir top. Due to the existence of gravity segregation between oil and gas, the gas gets gathered in the top forming the artificial gas cap, results in gravity drainage, which drives the oil and water into the producing well. It could overcome the limitations of the continuous gas injection and the water-alternating-gas, and increase the oil recovery.

The gravity drainage theory was put forward by Cardwell and Parsons (1949). Sharm (2008) and Akhlaghi et al. (2012) conducted 2D visual experiments to simulate the dimensionless parameters used in field projects. They found that the gravity number, the bond number and dimensionless time had great influences on GAGD performance. Catalan et al. (1994), Mahmoud and Rao (2008) and Paidin and Rao (2007) proved the effect of reservoir wettability on oil and gas recovery by experiments. The results indicated that the oil-wet reservoir had higher recovery than water-wet reservoir.

Rostami (2008) studied the impact of displacement rate on gas/oil relative permeability and remaining oil saturation of GAGD process. He believed that higher gas injection rate gave higher gas relative permeability and lower oil relative permeability. A critical gas displacement is existed to obtain the highest remaining oil saturation. Rao et al. (2004) researched the influence of gas injection rate, injection point, and injection mode on the GAGD process. He found that increasing the gas flow rate could get higher oil recovery. Miscible flooding performed a better result than immiscible flooding and injection location had no effect on the ultimate recovery. Ren et al. (2003) conducted the 2D transparent sandpack micro model gravity-assisted tertiary gas injection experiment to compare with the effect of double displacement (DDP) progress and the second contact water displacement (SCWD) progress and performed pore-level observation to investigate the microscopic mechanisms of the two progress. He proved that in DDP, oil flowing through the oil and water was driven not only by its own weight but also by pressure. And SCWD process was suitable for the situation where the remaining gas saturation was high, because remaining gas can reduce the possibility of the residual oil being trapped in the center of the pores so that the residual oil can be recovered quickly by a second water injection.

Although the GAGD can effectively rebuild the formation energy and improve the recovery of oil, the gas channeling is unavoidable during the producing process, especially in heterogeneous formations (Leng et al. 2013; Hart 2014). Farajzadeh et al. (2012) investigated foam improving the gas–oil gravity drainage progress by a numerical method. They found the injected foam could improve gas–oil gravity in the fracture by reducing the gas mobility. Foam can effectively resist in high permeable layer and control gas flow. At the same time, the surfactant in the foam can reduce oil–water interfacial tension, reduce capillary force and improve oil displacement efficiency (Memon et al. 2017; Gandomkar et al. 2012; Åsmund et al. 2014; Fernø et al. 2015).

So far, most of the previous investigations focus on the mechanisms, simulations and applications result of GAGD, few of them research on the specific operating parameters influencing on the oil recovery. And there is only simulation method to research on the nitrogen foam-assisted gravity drainage. To further study the feasibility of nitrogen foam-assisted gravity drainage, the 2D visualization experiment was established.

In this paper, the effects of gas cap volume, formation dip angle, and pressure drop on the oil recovery of NAGD were investigated by sandpack experiments, and the mechanism back of observation was analyzed. Nitrogen foam-assisted NAGD was also conducted to investigate the ability to inhibit gas channeling and enhance recovery during the NAGD process. In addition, NAGD process followed by nitrogen foam of which the distribution of remaining oil was observed and the oil recovery was calculated and was carried out through the 2D visualization plate model.

Experimental section

Materials

In the NAGD + nitrogen foam experiment, the crude oil was collected from Shengli Oilfield, China, with a viscosity of 2.8 mPa s and a density of 920 kg/m3 at 80 °C. Sodium dodecyl sulfate (SDS) with a purity of > 99.0 wt% was supplied by Sigma (USA).The concentration of SDS used in the experiment was 0.5 wt%. The nitrogen used in this experiment was provided by Tianyuan Inc. (China), with a purity of 99.9 wt%.

In the visualization experiment, the simulated oil was prepared in proportion of 1:4 with the paraffin oil and the dehydrated crude oil. And the size of silica sand which used to simulate the matrix of 2D visual plate model was 120 mesh, 100 mesh, 70 mesh.

Apparatus

The apparatus in this study was shown as Fig. 1. The sandpack model had a length of 60.0 cm and an inner diameter of 2.54 cm. Silica sand with different diameters was used to pack the model to obtain the anticipated permeability and porosities. The crude oil, nitrogen and surfactant solution were placed inside the container. The oil and the surfactant solution were delivered to the sandpack at a constant volumetric flow rate by a piston pump (model 100DX, with flow accuracy < 0.25 µL/min and pressure accuracy < ± 0.5%). A foam generator which was full of silica sand was connected to the upstream of the sandpack. Foam was generated by injecting the surfactant and nitrogen simultaneously through the foam generator. The flow rate of nitrogen was controlled by the gas flow controller (F-221M, Bronkhorst, accuracy of 0.1% fs). The produced oil and gas were separated by the separator, and they were measured by balance (accuracy < 0.001 g) and cylinder (accuracy < 10 ml) separately. Pressure transducers were used to measure the inlet and outlet pressures of the sandpack during the experiment. A back pressure regulator (BPR) was used to control the outlet pressure of the sandpack with a pressure open error of less than 0.01 MPa. The temperature was controlled by an air bath oven to achieve reservoir temperature.

Fig. 1
figure 1

Schematic of the experimental apparatus

In the visualization experiment, the 2D visualization plate model was mainly composed of two tempered glass and a metal frame as shown in Fig. 2. As for the tempered glass, the length, width and thickness were 25 cm, 25 cm, and 2 cm separately. First, put two tempered glass into metal frame and install a ring between them for sealing. A space of 25.0 cm × 25.0 cm × 0.6 cm was left between the two tempered glasses for filling silica sand. The two metal frames with the same size cutting window were then bolted together to fix the glass and a ring was also placed between them to prevent leakage. There had some holes in the edge of metal frame, which connected with the space between two glasses. It can be used to simulate well or sealed with wire plug.

Fig. 2
figure 2

Two-dimension visualization plate model

Experimental procedure

NAGD experiments

The experimental procedures for NAGD were listed as follows: (1) silica sand with the same size distribution was used to make sure sandpacks with similar permeability. Table 1 listed some key parameters of sandpack models. Each was evacuated for 4 h before saturated by distilled water, and the permeability and porosities were measured. (2) Oil was injected into the sandpack with a constant rate of 0.5 ml/min until there was oil produced at the outlet. The initial oil saturation and remaining water saturation were calculated. (3) The sandpack was controlled to have an inclination (15°) to simulate the dip angle, and heated to the reservoir temperature (80 °C) for 24 h. The back pressure was set to 6 MPa which was consistent with the gas cap pressure. The intermediate cylinder filled with nitrogen was used to simulate the gas cap. (4) The back pressure was gradually reduced and the oil and gas productions were recorded until the pressure at the outlet as low as atmospheric pressure.

Table 1 Parameters of sandpack models

NAGD + nitrogen foam experiments

The first three steps were the same as the NAGD experiments. The methods of NAGD + nitrogen foam were as follow: (1) turned on the outlet valve and let the oil produced until gas broke through and almost no oil produced at outlet, and closed the gas switch. (2) The 12.5 ml pre-generated nitrogen foam was injected into the top of the sandpack at the rate of 0.5 ml/min. (3) The outlet valve was opened again, and continued producing until the gas ran out. (4) In addition, a parallel experiment was conducted. The pressure drop rate was the same as that before the nitrogen foam was injected, and the oil production was recorded.

NAGD + nitrogen foam visualization experiments

The procedures for NAGD + nitrogen foam visualization experiment were listed as follows: (1) 2D visualization plate model was cleaned with distilled water and anhydrous ethanol to ensure that there was no dirt. The pipeline was installed at the top and bottom center of the metal frame to simulate the injection wells and installed at the bottom of the right side of the model to simulate the production wells. Ensure that the outlet of production wells should be higher than the model to prevent the flow of simulated oil. And all other holes were sealed. (2) Distilled water was added to the washed and dried silica sand with different size. And the mixture was filled into the model to simulate the matrix which had channels with high permeability. After that, the 2D model was sealed and placed on the bracket perpendicularly for 2 h. (3) Water was injected to saturate model from bottom at a rate of 2 ml/min until the top of the model produced water for 10 min after the top produced water. (4) The simulated oil was saturated at a rate of 3 ml/min from the top of model until the water was no longer produced from the bottom of model. The injection and produced time were recorded to calculate the volume of saturated oil. (5) Nitrogen foam visualization experiment: the intermediate cylinder was injected with nitrogen to simulate the gas cap. The gas cap was controlled to 0.5 MPa and the amount of injection nitrogen was 0.3 PV. The simulated gas cap was connected to the top of plate model. Then turned off the value at the bottom of the model and turned on the production value at the right of the model. The outlet pressure was set to be consistent with atmospheric pressure and kept production until there was almost no oil produced. The gas cap pressure, production time and the corresponding oil production were recorded. (6) NAGD + nitrogen foam visualization experiment: the pre-generated nitrogen foam was injected into the model from the top until the oil production was very low and the injection was stopped. In this experiment, the injection rate of sodium dodecyl sulfate (SDS) was 1 ml/min and the injection rate of nitrogen was 3 ml/min.

Result and discussion

NAGD experiments

Effect of gas cap volume on oil recovery

There is no denying that gas cap volume is a very important factor for NAGD (Mozaffari et al. 2017). In the experiments, the dip angle was controlled to 15° and the gas cap volume was set as 2.5 PV, 2.0 PV, 1.5 PV, 1.0 PV, 0.5 PV, 0.1 PV, and 0.05 PV, respectively. Figure 3 shows the relationship between gas cap volume, oil recovery, and gas production. In the figure, the blue line indicates the change of gas production, the black line indicates the change of oil recovery, and the red short line indicates the error involved in the experiments. The error mainly included the gas measurement error caused by the accuracy of the cylinder and the oil measurement error caused by the balance accuracy. The experiment results indicated that oil recovery first increased, second decreased and then increased further.

Fig. 3
figure 3

The influence of gas cap volume on the oil recovery and gas production (experiment condition: temperature 80 °C, formation dip angle 15°, pressure of gas cap 1 MPa, back pressure 0.5 MPa)

When the volume of gas cap was low (in Fig. 4a), the amount of gas involved in the oil displacement was less. The gas relatively steadied stayed on the top of the sandpack and had less elastic energy. Therefore, the possibility of gas breakthrough was limited, and the oil recovery was small. As the gas cap volume slowly increased from 0.05 to 0.1 PV (in Fig. 4b), the amount of gas participated in the oil displacement was improved, and the gas breakthrough became easier to achieve. Thus the high-permeability channels were formed, exploiting a lot of oil which cannot produce before, and the oil recovery was increased. With the gas cap volume increased more, from 0.1 to 1.5 PV (in Fig. 4c), the high-permeability channels formed a comprehensive breakthrough channel, and gas channeling occurred. The gas was discharged through the breakthrough channel and hardly involved in the oil displacement, resulting in the dramatically decreased oil recovery. Continue to increase the volume of gas cap, from 1.5 to 2.5 PV (in Fig. 4d), the gas channeling was more serious. With the increase of gas flow rate, the pressure between inlet and outlet was increased. Thus, the ability of oil displacement and oil recovery was increased.

Fig. 4
figure 4

The process of oil recovery changes with gas cap volume strength

Therefore, the oil recovery first increased, second decreased and then increased further. The gas production rate increased linearly with the increase of gas cap volume. Considering the economic factors, the volume of the gas cap is preferably 0.1 PV.

Effect of formation dip angle on oil recovery

The formation dip angle was fixed to be 0°, 5°, 8°, 15°, and 20° in the experiments. Figure 5 shows the relationship of oil recovery and gas production with dip angle. The oil recovery increased all the time while the gas production slightly decreased with the increase of dip angle. And the decrease velocity of gas production was reduced, when the dip angle up to 8° and oil recovery at 30–31%.

Fig. 5
figure 5

The influence of formation dip angle on the oil recovery and gas production (experiment condition: temperature 80 °C, gas cap volume 1 PV, pressure of gas cap 1 MPa, back pressure 0.5 MPa)

Due to the gravity separation, the bigger the dip angle, the better the gas cap with low level of gas channeling and the higher oil recovery (Liu et al. 2017). In addition, N2 was easier to overcome the viscous resistance and capillary force to enter a smaller pore throat, which can drive the oil (Darjani et al. 2017). So the oil recovery increased all the time with the increase of dip angle. The reason for the slightly decrease of gas production with the increase of the dip angle is that the larger the dip angle, the greater amount of crude oil was displaced, and the more gas was occupied by pores without producing.

Therefore, to reduce the gas production and increase the oil recovery, the NAGD should be applied to the condition where the dip angle of the formation is greater than 10°.

As shown in Fig. 5, the oil recovery almost linearly increased with the dip angle, and a trend line was added in the Fig. 5. According to the fit linear of the oil recovery with the formation dip angle, the oil recovery at the formation dip angle of 30° and 40° can be predicted as 42.66% and 48.11%.

Effect of back pressure on oil recovery

The back pressure was, respectively, governed to be 5.7 MPa, 5.5 MPa, 5 MPa, 4 MPa, by controlling the back pressure regulator (BPR). And the dip angle was controlled to 15°, which was studied in the experiments. The influence of back pressure on the oil recovery and gas production was shown in Fig. 6.

Fig. 6
figure 6

The influence of back pressure on the oil recovery (experiment condition: temperature 80 °C, gas cap volume 1 PV, pressure of gas cap 1 MPa, formation dip angle 15°)

The result indicated that the back pressure has an obvious influence on the oil recovery, and the oil recovery first increased and second decreased with the increase of back pressure. The reason is that, when the back pressure was small, the capacity of gas displace oil was limited and the oil recovery was low. As the pressure increased, the ability of gas drive oil was improved and the oil recovery gradually increased. As the back pressure continues to increase, the gas breakthrough ability was improved and the oil recovery was decreased by the influence of the gas channeling was more and more serious. Therefore, there is a critical value of back pressure in the process of NAGD progress to obtain the best effect of injection gas on the top to drive oil. The gas production rate increased with the increase of back pressure. This is because when the back pressure was small, the energy was insufficient, so the gas cannot be effectively discharged. With the increase of back pressure, the energy increased and the gas production increased accordingly.

The back pressure represented the bottom hole pressure, and the pressure difference between inlet and outlet increased with the decrease of back pressure (Mozaffari et al. 2015). When the back pressure decreased from 5.5 to 5 MPa, the pressure difference increased and the gas involved in oil displacement increased. Therefore, the decrease of back pressure promoted oil displacement and the oil recovery increased gradually. When the back pressure decreased from 5 to 4 MPa, the pressure difference was too big, which led to serious gas channeling. Therefore, the amount of gas effectively participated in oil displacement was reduced as a result of a decrease on oil recovery. The experiment indicated that there was an optimised back pressure for the maximum recovery during NAGD process.

Effect of NAGD + nitrogen foam on gas migration and oil recovery during gravity drainage

To study whether the foam technology can reduce the gas mobility after gas channeling occurs during gravity drive. The injected gas cap volume was 0.5 PV and the pre-generated foam was injected at a constant rate of 0.5 ml/min for about 25 min in the experiment.

The influence of NAGD and NAGD + nitrogen foam on the pressure drop cure over time was shown in Fig. 7. In the process of NAGD + nitrogen foam experiment, when the production time was 190 s, foam was injected first, nitrogen was injected second and then the oil was produced. The results shown that, before foam injection, the pressure drop velocity of the two experiments was the same. After injecting the nitrogen foam, the pressure drop rate of NAGD + nitrogen foam was obviously reduced. Through calculation, the average pressure drop rate was 0.33 MPa/min of NAGD and 0.26 MPa/min of NAGD + nitrogen foam. The average pressure drop rate decreased significantly after the injection of foam.

Fig. 7
figure 7

Pressure drop curve (Experiment condition: temperature 80 °C, gas cap volume 0.5 PV, pressure of gas cap 1 MPa, formation dip angle 15°, back pressure 0.5 MPa)

Figure 8 reveals the change of the oil recovery after injecting the nitrogen foam plugging and pure NAGD. It can be seen that when NAGD was carried out, the recovery of crude oil increased rapidly. With the beginning of gas channeling, the increased rate of oil recovery after NAGD injection quickly dropped down, and the final recovery was 35.51%. As for the nitrogen foam, the foam was injected to the sandpack at 190 s. From then on, the oil recovery was obviously increased, and finally reached to 44.58%, which increased about 9.07% compared with NAGD. This is because when the gas was injected, the gas mainly moved along the fracture with high permeability, and the sweep efficient of the matrix part was small, so it is hard to collect more oil. When the foam was injected, it mainly gathered in the high-permeability channels and enhanced the flow resistance of it. When nitrogen was injected again, it was forced to diffuse around the sandpack so as to increase the sweep coefficient and the oil recovery was increased.

Fig. 8
figure 8

The different oil recovery between NAGD + NAGD/ nitrogen foam (experiment condition: temperature 80 °C, gas cap volume 0.5 PV, pressure of gas cap 1 MPa, formation dip angle 15°, back pressure 0.5 MPa)

Effect of NAGD + nitrogen foam on oil recovery in the 2D visualization experiment

The distribution of remaining oil in the different production stages of NAGD and nitrogen foam-assisted gravity drainage process is shown in Fig. 9. The white area in the figure is the connate water area and the red box is simulated high-permeability channels. The picture captured that when NAGD injected the model, the nitrogen quickly went into channels and drove the oil out. Moreover, the velocity of gas displaced oil in different channels was basically consistent. The gas channeling became very serious at 3 min after NAGD. And NAGD process was ended at 10 min. At this point, most of the oil in the channels had been produced, but there still had some remaining oil in the matrix. There are two stages in the process of NAGD. In the first stage, the single-phase oil was discharged at a high rate and the oil zone in the model was reduced rapidly. The second stage was the production of gas–oil two-phase at a low rate. And after gas channeling, the gas and oil were produced by production wells in the form of alternate slug flow.

Fig. 9
figure 9

Distribution of remaining oil in the different production processes of nitrogen and nitrogen foam-assisted gravity drainage

After the process of NAGD, the nitrogen foam-assisted gravity drainage was started. The pre-generated nitrogen foam was injected from the top of the model and the oil stored in the matrix was displaced by it. The nitrogen foam-assisted gravity drainage process was ended at 7 min and most of the oil in the model was produced. The reason was that the nitrogen foam first blocked the high-permeability channels, which increased the flow resistance in the channels and the gas channeling was inhibited. As a result, more nitrogen entered low permeability area and the sweep coefficient was increased. At the same time, the foam burst in the matrix and the gas released under the action of gravity segregation moved to the high part of the model. The released gas constantly accumulated and formed the secondary gas cap to displace the top oil and increased the sweep coefficient continuously. What’s more, the surfactant in the foam system can reduce the interfacial tension of oil and water greatly and make the connate oil become mobile oil (Samanta et al. 2012; Mozaffari et al. 2016). Thus the efficiency of oil washing was improved. In the end, the interface of remaining oil at the bottom stayed near the production wells.

Figure 10 shows the degree of oil recovery and gas pressure drop rate after nitrogen and nitrogen foam-assisted gravity drainage. The result indicated that the velocity of gas pressure drop was decreased in the process of NAGD and the average pressure drop velocity was 0.05 MPa/min. Therefore, the oil recovery was high and gradually decreased. The final oil recovery was 37.16%. In the process of nitrogen foam-assisted gravity drainage, the pre-generated foam injected from the top of model made the production wells continue to produce oil. Finally, the total oil recovery was 61.01% and increased 23.85% compared with NAGD.

Fig. 10
figure 10

Oil recovery and pressure drop curve of nitrogen and nitrogen foam-assisted gravity drainage (experiment condition: temperature 80 °C, gas cap volume 0.3 PV, pressure of gas cap 0.5 MPa, formation dip angle 0°)

In the NAGD, the nitrogen injected from the top was almost insoluble in oil and gathered to form gas cap under the action of gravity segregation. The oil on the top of model was displaced uniformly and produced through production wells. Since the permeability of the channel was higher than that of the matrix, nitrogen with low viscosity was more likely to flow through the channel and most of oil in the channel was recovered, but some of the oil still remained in the matrix. As for the injection of foam, the foam first entered the high-permeability channels and accumulated continuously to enhance the flow resistance in the channels, which caused more injection gas flow to matrix and expanded sweep efficiency. Meanwhile, the surfactant in the foam system could effectively reduce the adhesion of the oil film and made the oil film easier to flow. Moreover, the foam could emulsify the oil film attached to the sand and carried it out, thus improved the oil washing efficiency.

Conclusion

The recovery of crude oil can be effectively improved by NAGD. In this paper, the effect of gas cap volume, formation dip angle, and pressure drop rate was studied by means of the sandpack experiments. In addition, the effect of NAGD + nitrogen foam was discussed.

  1. 1.

    With the increase of the gas cap volume, the oil recovery first increased, second decreased and then increased further. The gas production rate increased linearly with the increase of gas cap volume.

  2. 2.

    As the formation dip angle increased, the oil and gas gravity differentiation was enhanced. So the oil recovery was higher.

  3. 3.

    The back pressure also affects the oil recovery. With the increase of the back pressure, the oil recovery increases first and then decreases. There is a critical value for back pressure.

  4. 4.

    The pressure drop rate also affects the oil recovery. With the increase of the pressure drop rate, the oil recovery increases first and then decreases.

  5. 5.

    The nitrogen foam can control the gas channeling and improve the effect of NAGD. After foam injection, the oil production was obviously increased, which increased about 9.07%.

  6. 6.

    In the NAGD + nitrogen foam 2D visualization experiment, after nitrogen foam injection, the total oil recovery was 61.01% and increased 23.85% compared with NAGD. The nitrogen foam can increase the flow resistance in the channels, inhibit gas channeling and enhance the sweep coefficient, while the surfactant in the foam system can reduce the interfacial tension of oil and water greatly, improve the efficiency of oil washing and improve the oil recovery.