1 Introduction

Despite all efforts to realize the transition to a sustainable energy system, the demand for energy and oil is predicted to stay at a high level in the coming decades (Annual Energy Outlook 2023; Oil 2023). Conventional oil fields are often considered economically exhausted after less than half of the oil has been produced. The remaining half can often only be extracted using special methods that require a high oil price. This leads to the need to resort to unconventional oil and gas (shale gas and oil, oil sands, etc.), whose energy and environmental performance is far worse. Alternatively, since the average recovery from conventional oil fields is on the order of 35% (Lake et al. 2014), the remaining oil can be a target for enhanced oil recovery (EOR). Alkaline flooding is an economically attractive chemical EOR method (Cooke et al. 1974; Sheng 2013; Tang et al. 2013) that can be applied in crude oils containing a high concentration of acidic components, resulting in a high total acid number (TAN) (Saha et al. 2018; She et al. 2021; Ott et al. 2020). Depending on the situation, alkaline flooding may be a standalone technology or may be combined with surfactant and polymer flooding, i.e., alkaline-surfactant-polymer (ASP) flooding (Lake et al. 2014; Sheng 2013, 2010; Ding et al. 2020; Nourani et al. 2022; Hemmati-Sarapardeh et al. 2021; Stoll et al. 2011; Ahmed and Meehan 2012). Alkaline agents are inexpensive and easy to handle. Once dissolved and dissociated in injection water, the resulting \({\mathrm{OH}}^{-}\) ions may saponify fatty acids at the oil–water interface, lowering the oil–water interfacial tension (Amaya et al. 2002; Chatterjee 2002; Green and Willhite 1998; Khlaifat et al. 2022; deZabala et al. 1982). From a fluid-displacement viewpoint, a system with vanishing interfacial tension starts behaving like a miscible system with a high displacement efficiency and vanishing residual saturations. However, if the interfacial tension is sufficiently low, then emulsion phases form, which generally have a higher viscosity than the liquids forming them. This may potential positive or negative effect on the displacement efficiency by entrapment of oil and microscopic sweep effects (Ott et al. 2020; Johnson 1976; Magzymov et al. 2021).

Because of the relatively high TAN values, some fields in the Vienna Basin are potential targets for alkaline flooding, and are also ideal candidates for this study because of the available data; for the present research, we chose the relevant case of the 16 TH reservoir of the Matzen Field in Austria. Experimental data on phase behavior (Magzymov et al. 2021; Borji et al. 2022; Schumi, et al. 2020) and flooding (Borji et al. 2022; Schumi, et al. 2020) are available and are compared to the present results. In this specific case, Na2CO3 was chosen as alkali agent. Core flood experiments showed highest recovery at alkaline concentrations around \(c_{{{\text{Na}}_{{2}} {\text{CO}}_{{3}} }} =\) 7000 to 7500 ppm (Borji et al. 2022; Schumi, et al. 2020), which in the following, we refer to as optimum conditions. This optimum in recovery is consistent with observed phase behavior as shown in Fig. 1 (Borji et al. 2022); in test tube experiments it has been shown that optimum Na2CO3 concentration led to well separated and nearly unaltered oleic and aqueous phases separated by a small volume of a microemulsion at the interface (see Fig. 1). The mutual participation in the bulk fluid phases appeared as small. This is similar to the optimization of the injection water composition in classical surfactant flooding. While in surfactant flooding, salinity is the tuning parameter to reach optimum conditions (Winsor type III, Lake et al. 2014), in alkaline flooding, the situation is slightly more complex (Ott et al. 2020; Magzymov et al. 2021). As the alkali concentration increases, the salinity increases, but at the same time the potential for in situ generated surfactant concentration increases. For 16 TH crude oil, distinct aqueous and oleic phases were observed up to \(c_{{{\text{Na}}_{{2}} {\text{CO}}_{{3}} }} =\) 14,000 ppm. At a much higher concentration of 24,000 ppm, a single tight (optically homogeneous) emulsion phase was observed; a “miscibility” between the fluid phases is reached by mobilizing enough surfactants from the crude oil, while at 7500 ppm, this is not the case. Also in μCT-based core-flood and microfluidic experiments the highest recovery factors were measured at optimal Na2CO3 concentration. Despite the multiple contact between the oil and the alkaline solution in those experiments, a two-phase system with distinctly different fluid phases remains in the pore space as in the test tubes; a third emulsion phase was only detectable in the test tube experiments (Borji et al. 2022). This fact will be used in the following for the interpretation of core flooding results by means of cluster analysis and fractional pore occupation.

Fig. 1
figure 1

Classical test tube experiment showing the liquid distribution at equilibrium after mixing 16 TH crude oil with aqueous solutions of different Na2CO3 concentrations between 0 and 24,000 ppm (see figure). The images were acquired with a μCT scanner to illustrate the X-ray contrast of the liquid phases and the structure of the loose emulsions. The yellow line shows the oil–water contact line of the reference system. Details are available in (Borji et al. 2022)

The actual performance of EOR systems is typically studied by classical continuum-scale core flooding experiments (Schumi, et al. 2020; Batenburg et al. 2015). Such measurements provide quantitative and robust data on oil recovery, but are insufficient when it comes to interpreting the reasons for high or low recovery. In this respect, pore-scale physics provides complementary and more detailed data; μCT- based core flow experiments for instance, provide access to microscopic distributions of fluid phases in the pore space and thus detailed information such as contact angle (Andrew et al. 2015; Scanziani et al. 2017), interfacial area and curvature (Armstrong et al. 2019; Berg et al. 2013), and fluid cluster sizes (Armstrong et al. 2019; Iglauer et al. 2010; Georgiadis et al. 2013; Rücker et al. 2019). Especially cluster size distribution has been linked to two-phase fluid mobility and fluid displacements (Armstrong et al. 2019; Andrew et al. 2023). Cluster length determines the mobility of ganglia at a given viscous pressure gradient and indicates whether a ganglion is trapped or mobile. This is directly relevant to EOR and can be expressed in a local capillary number for a single ganglion size (Armstrong et al. 2019) or calculated from a size distribution (Andrew et al. 2023). The size distribution usually follows a power law behavior with a lower limit determined by the pore size and a higher limit determined by the experimental field of view (Iglauer et al. 2010; Georgiadis et al. 2013). The power law indicates that there is no typical cluster size that could be used for mobility calculations. It has also been shown that the non-wetting phase is volumetrically dominated by a single large cluster (Georgiadis et al. 2013; Berg et al. 2015), which often forms a connected phase within the experimental field of view. However, most of these studies were conducted with idealized liquid systems (monomolecular, transparent, synthetic) such as decane brine or CO2 brine with relatively high interfacial tension, which also have well-defined wetting properties. These properties are not necessarily representative for crude oil brine systems. Pore-scale EOR experiments with crude oil are rarely performed. Examples of surfactant-flooding pore-scale experiments are given by Unsal et al. (2016); Broens and Unsal 2018; Unsal et al. 2019; Alzahid et al. 2017; Alzahid et al. 2019; Kharrat et al. 2022) studying emulsification and its influence on displacement physics on the pore scale using idealized fluid systems. Pore-scale EOR experiments, including crude oil, are rather scarce and often focus on qualitative descriptions and recovery from the evaluation of saturation changes (Ott et al. 2020; Borji et al. 2022; Schumi et al. 2020). A detailed cluster analysis of an EOR system including crude oil was performed by Ott et al. (2020) in a 2D idealized microfluidic chip. In this study it was shown that an EOR potential can be derived from the cluster volume distribution using a Lorentz analysis.

While the analysis of cluster-size or cluster-volume distributions provide information on ganglion size, mobility and trapping, and fluid phase connectivity, it does not directly relate the fluid displacements to the rock structure. The question remains: from which class of pores do we recover oil by which process? This question addresses oil left behind by microscopic bypass effects and how it can be recovered by cEOR. By lowering the interfacial tension and the associated reduction in capillarity, additional pore sizes should be accessible to the injection water regardless of the wetting properties, resulting in additional oil recovery. This work performed water–oil displacement experiments by systematically increasing the alkali concentration, thereby modifying the interfacial tension between the aqueous and crude oil phases. The exact microscopic phase distribution on the pore scale was measured by in situ μCT scanning, and the segmented fluid phases were analyzed by (a) cluster-statistical analysis and (b) by saturation states of individual pores in relation to the pore size distribution. By analyzing the microscopic fluid state, we approach the following questions: (a) from which fraction of the pore space the extra oil is extracted, (b) the dominant cluster size in which the remaining oil is organized, and (c) what is explicitly different in the optimal composition of the injection water. For the last point, we formulate a hypothesis.

2 Materials and Methods

The methodology was previously reported by Borji et al. (2022) and is briefly described here.

2.1 Fluids

The crude oil sample was derived from the 16 TH reservoir of the Matzen oil field, Austria. The sample was characterized by a viscosity μ = 80 cP at 20 °C, a density ρ = 905 kg/m3 at 22 °C, and a high TAN of 1.5–1.78 mg KOH/g (Magzymov et al. 2021; Batenburg et al. 2015), which makes the field a suitable candidate for EOR by alkaline flooding. Detailed field data and oil composition, including saturates, aromatics, resins, and asphaltenes analysis, addressing other surface-active components, have been reported (Andrew et al. 2015; Scanziani et al. 2017; Armstrong et al. 2019). To increase the X-ray contrast to the aqueous phase, 7 wt% iododecane (98% purity, Sigma-Aldrich) was added. The influence of the X-ray doping agents was investigated and minimized on the basis of the qualitatively observed phase behavior in the X-ray microtomography (µCT) scans. The alkaline solutions for the water injection were prepared by adding sodium carbonate (Na2CO3) powder (Sigma-Aldrich) to deionized (DI) water. Sodium carbonate is one of the commonly used alkaline agents (Lake et al. 2014) used in previous studies and a candidate for field application (Ott et al. 2020; Magzymov et al. 2021; Schumi, et al. 2020). Sodium carbonate is a rather weak alkaline agent (compared to NaOH) with the advantageous property that the pH does not strongly depend on the concentration (Lake et al. 2014). Thus, constant chemical conditions can be achieved during flooding. The solution was magnetically stirred for 10 h. The pH was measured using an electronic pH meter, as previously reported (Ott et al. 2020; Borji et al. 2022; Georgiadis et al. 2013). All experiments were performed at ambient pressure and temperature (22 °C) because all presented types of experiments could be performed under these conditions, ensuring absolute comparability.

2.2 Porous Media

The mini-core flood experiments were performed in a cylindrical mini plug with a 5 mm diameter and a 15 mm length, drilled from a Robuglass® sintered glass filter, representing a 3D porous medium. Such samples were used in earlier studies (Georgiadis et al. 2013; Berg et al. 2014) and are characterized by a high porosity (\(\phi =\) 0.35) and permeability (K = 22 ± 2 D, whereas 1 D ≈ 10–12 m2). Pore diameters were in the range of 40–100 µm (FWHM) and the pore volume distribution is given in the result section. The total pore volume (PV) was 107 mm3. This specific porous medium was chosen for three reasons: (a) the pore space is well resolvable in µCT, (b) it supports laminar flow conditions, and (c) it is made of borosilicate glass, which is the same material as the test tubes and microfluidic chips, which have been used to characterize phase behavior (Borji et al. 2022). In this work, and with respect to cluster statistics, the 3D core flooding results are compared to microfluidic experiment from Borji et al. (2022). The microfluidic chips were made of borosilicate glass. The pore structure is characterized by an etching depth of 20 μm and a lateral 2D definition of the pores and pore throats. The lateral average pore size (diameter) is 280 μm, with a distribution width (FWHM) of 200 μm. Porosity and permeability were determined to be \(\phi =\) 0.57 and \(K =\) 2.5 D, respectively. The total domain size is 20 \(\times\) 10 mm2 with a channel system at the inlet and outlet for fluid distribution and collection, respectively. Due to the open and highly permeable pore structure, the microfluidic chip is comparable to the 3D miniplug.

2.3 Flooding Experiments

The 3D mini plug was embedded in a Viton rubber sleeve placed in an X-ray transparent carbon-fiber-epoxy-based core holder. To mitigate the adverse effects of the rubber sleeve wetting conditions, the sample was wrapped in a single layer of aluminum foil. The core holder was mounted on the sample-manipulation stage of the µCT scanner (ProCon X-ray, CT ALPHA). High-precision VP-series pumps from Vindum Engineering, Inc. were used for fluid injection and pressure confinement. Three-way high-pressure valves (Swagelok) and PEEK tubes were used as connections and flow lines between the pump, core holder, and effluent collection vessel at the outlet. For preparation and presaturation purposes, a vacuum pump was installed on the downstream side of the flow loop. The oil was then injected under vacuum conditions using a Chemyx Fusion 200 syringe pump with a Hamilton glass syringe. The experiments were finally carried out in a vertical flooding geometry under ambient pressure and temperature conditions. µCT scans were performed at the same photon energy as for the phase-behavior experiments (Borji et al. 2022), with a voxel size of 4.5 µm. For this purpose, the X-ray projections were reconstructed using XAid software. The µCT scans were acquired before and at the end of each water and alkali flooding experiment in a steady state. Analogous settings were chosen for the 2D microfluidics experiments. However, unlike the core flooding experiments, the flooding geometry was horizontal and a Chemyx Fusion 200 syringe pump was used for fluid injection. The saturation state was determined by optical imaging using a Leica DMi8 microscope and a DMC2900 camera. The volumetric flow rates of the core flow and microfluidic experiments were set to 0.002 and 0.00016 ml/min, respectively. For more details on the microfluidic setup, see Ott et al. (2020), Borji et al. (2022), Kharrat et al. (2022), Hassannayebi et al. (2019).

2.4 Image Processing and Analysis

The flooding experiments were performed with in situ μCT monitoring of the saturation state on the pore scale. Processing, analyzes, and visualizations of the resulting 3D μCT images were performed using ImageJ FIJI and Avizo (Thermo Fisher Scientific, USA) software. The interactive learning and segmentation toolkit ilastik (Berg et al. 2019) was used for classification and segmentation of fluid phases. Figure 2 shows sample images of raw and segmented images. The workflow is explained as follows:

  • Step 1: The reconstructed μCT images were registered on the initial image taken at \({S}_{o}=1\) using the ‘scale-invariant feature transform’ (SIFT) algorithm (Lowe 1999, 2004), followed by ‘nonlocal means denoising’ (Buades et al. 2005, 2008).

  • Step 2: The initial state for each experiment was a fully oil-saturated sample, i.e., \({S}_{o}=1\). The grayscale contrast between the solid grains and the oil-filled pore space is shown in Fig. 2e and allowed reliable segmentation of the pore space since both components are well separated in the grayscale histogram (Borji et al. 2022).

  • Step 3: The segmented solid phase (grains) was used as a mask and was removed from the subsequent scans taken after the displacement experiments; all further image analysis steps were performed on the fluid phases in the remaining pore space. Figure 2a–d shows pore scale images after water flooding (WF) and alkaline flooding (AF) indicating the fluid–fluid contrast enhanced by iododecane, the X-ray contrast agent.

  • Step 4: Aqueous and oleic phases were identified and segmented for ultimate recovery calculations and cluster analysis (see result part). The characterization of emulsion phases was performed on the basis of grayscale histograms and is discussed in Borji et al. (2022).

Fig. 2
figure 2

Pore-scale images after WF and AF. Top row: grayscale images after WF (a) and AF (b) of the 7500 ppm case. Second row: WF (c) and AF (d) of the 200 ppm case. Third row: segmented images of the 200-ppm case: e pore space, f water phase (blue) after WF, and g additionally displaced volume (red) after AF. Bottom row: h total identified pores displayed in different colors, i pore occupation after WF, and j after AF

2.5 Monitoring Individual Pore Saturation

While most pore-scale studies focus on the shape and distribution of fluid clusters and their cumulative volumes, here, we present a new aspect; we study the saturation state in individual pores as function of pore-size classes and link the fluid displacements to the pore volume distribution. For this, individual pores were separated and labeled by applying the inverted Chamfer distance map and subsequently a watershed algorithm to the pore space segmented image (Legland et al. 2016). Approximately 70,000 individual pores were identified in the observed volume (Fig. 2h). These pore-labeled images were used as a mask to inspect the number and saturation state of each labeled pore after each flooding experiments (Fig. 2i, j).

3 Results and Discussion

3.1 Emulsification Under Static and Dynamic Conditions

Following the phase-behavior experiments, the system under investigation (TH 16 crude) shows optimum behavior at a Na2CO3 concentration of 7500 ppm. The optimum is thereby characterized by a minimum emulsion volume between the aqueous and oleic phases at the original oil–water contact (Winsor type III, Lake et al. 2014). Under dynamic conditions, the ultimate oil recovery in 2D microfluidics and 3D core flooding experiments shows at optimum Na2CO3 concentration a maximum (Borji et al. 2022) in line with earlier core flood experiments (Schumi, et al. 2020). In the under-optimum the phase behavior showed extensive regions of loose emulsions (emulsions with large and widely distributed droplets) between the pure oil and water phases, as characterized by X-ray absorption measurements. When mixing the crude oil with pure water (0 ppm Na2CO3), there is no evidence of emulsion formation. Above \(c_{{{\text{Na}}_{2} {\text{CO}}_{3} }} =\) 7500 ppm, homogeneous oil-in-water emulsions below pure oil phases are detected. The oil-in-water content is below 10% up to 14,000 ppm. At 24,000 ppm, a single homogeneous emulsion phase is exhibited. The X-ray detected phase behavior is well reflected in the flooding experiments if additionally oil displacement is considered (Borji et al. 2022). Considering both the phase behavior and flooding experimental results, for Na2CO3 concentrations that are not too high (excluding the 24,000 ppm case), relatively pure oil and water phases are expected and observed; those can be analyzed by cluster size distributions, as performed in earlier studies on generic systems with generic fluid phases, i.e., high-interfacial tension (IFT) systems (Georgiadis et al. 2013). With this assumption, we ignore the effects of phase swelling, which we estimate for the cases discussed in this work \(\left( {c_{{{\text{Na}}_{{2}} {\text{CO}}_{{3}} }} \le 12,000 \,{\text{ppm}}} \right)\) to be a maximum of 3 vol% at 12,000 ppm (Fig. 2c in Borji et al. 2022).

3.2 Oil Cluster Analysis and EOR Potential

Figure 2 shows details of the image analysis workflow. The images were segmented into three clearly distinct phases indicated by the characteristic gray values (Fig. 2a–d): a solid phase, namely, the grains, an aqueous phase and a doped oleic phase. Slight grayscale variations inside the fluid phases indicate emulsification. These variations were explicitly studied in Borji et al. (2022) and were ignored in the present work. As Fig. 2a, b shows, even at the optimum condition of 7500 ppm Na2CO2, the oleic and aqueous phases are clearly distinguishable and can be segmented. Examples of the segmented images are shown in Fig. 2e–g. The binarized fluid phases can now be analyzed in a cluster-statistical way, as previously shown for high-IFT systems with generic fluid phases (Iglauer et al. 2010; Georgiadis et al. 2013; Berg et al. 2015). In microfluidics, it has been shown that a cluster-statistical analysis can also be applied to EOR systems to determine the EOR potential (Ott et al. 2020). In this study, a similar analysis was performed on the present EOR systems in 3D core flooding, and the results were compared to those from the same EOR system in the 2D microfluidics presented in Borji et al. (2022).

Figure 3 shows the cluster volume distributions (normalized frequency \(p(x)\)) of all data sets (top panel) and after water flooding (WF) and subsequent alkaline flooding (AF) with 200 ppm and 7500 ppm \(c_{{{\text{Na}}_{{2}} {\text{CO}}_{{3}} }}\) in the panels below. As typically found in pore-scale investigations, the cluster distributions indicate for smaller clusters a straight line on the double logarithmic plot and hence a power-law behavior; however, the overall saturation is dominated by a single large cluster, as also found in earlier studies (Georgiadis et al. 2013; Berg et al. 2015). After water flooding, in all cases, the residual oil is connected in a single cluster to more than 99% of its volume. Subsequent alkaline flooding breaks down larger clusters, leading to a wider power-law region tending toward a lower exponent (slope in the double logarithmic plot). The largest cluster still contained 97% and 7% of the total remaining oil volume for the 200 ppm and 7500 ppm cases, respectively. The closer the water composition is to the optimum alkaline concentration, the less the largest cluster dominate the oil saturation—the cluster size distribution became broader. Any tertiary recovery must therefore be related to an initially connected phase and the displacement and breakdown of this single dominating cluster.

Fig. 3
figure 3

Oil cluster volume distributions after water flooding (blue, WF) and after alkaline flooding (red, AF); top: all data sets, middle: the 200 ppm case, and bottom: the 7500 ppm case

The domination of the single largest cluster is shown in Fig. 4. The results show the remaining oil saturation after water flooding (top, gray bars) and subsequent alkaline flooding (bottom, gray bars) for different alkaline concentrations and the fraction of the largest cluster (blue (WF) and red (AF) bars). It is evident that at zero and low alkaline concentrations, the largest cluster dominates, while at alkaline concentrations above 1000 ppm \(c_{\text{Na}_{2}\text{CO}_{3}}\), the largest cluster contributes only about 30% to 7% at optimum alkali concentrations. This is expected because the initial system (crude oil/DI water) has a relatively high interfacial tension (~ 16 mN/m), which can be lowered by the alkaline agent due to the relatively high TAN of the crude oil. This confirms the tendency as found in microfluidic experiments (Ott et al. 2020); however, the total volume fraction of the largest clusters did not exceed 50% in these experiments. This is expected due to the 2D nature of microfluidic porous media. 3D systems generally have a lower percolation threshold (Blunt 2017) due to their higher coordination number and bypassing possibilities.

Fig. 4
figure 4

Remaining oil saturation (gray bars) and the contribution of the largest cluster to the total remaining oil saturation after water flooding (blue bars) and alkaline flooding (red bars)

In Ott et al. (2020), the EOR potential and optimum alkaline concentration were best reflected in the Lorenz analysis. This analysis not only considers large clusters but also the entire cluster size distribution in a cumulative way. The results appeared to be a good indicator of the imbalance of the cluster distribution, including the weight of the largest cluster in the system of investigation. However, it deals with relative distributions rather than with absolute volumes such as recovery factors and saturation. In a first step toward the Lorenz plot, we calculated the cumulative cluster volume distribution \(P\left(x\right)\) by integrating the cluster volume distribution \(p\left(x\right)\) from Fig. 3:

$$P\left( x \right) = \int_{x}^{\infty } {p\left( y \right){\text{d}}y} .$$

In addition, we calculated the volume-weighted normalized cluster volume distribution (\(W\left(x\right)\)) according to Ott et al. (2020):

$$W\left( x \right) = \frac{{\int_{x}^{\infty } {yp\left( y \right){\text{d}}y} }}{{\int_{{x_{min} }}^{\infty } {yp\left( y \right){\text{d}}y} }},$$

with \({x}_{min}\) being the lower bound of the distribution. The \(W\left(P\left(x\right)\right)\) results were plotted in the form of a Lorenz plot.

In Fig. 5, the resulting Lorenz plots are shown for two cases: the 3D core flood experiments (middle panel) and the 2D microfluidic experiments (top panel). Furthermore, we calculated the Lorenz factor, which provides the tendency toward smaller clusters, i.e., a measure of the EOR potential (Ott et al. 2020):

$$\Delta L = 2\int_{0}^{1} {\left( {W_{{{\text{WF}}}} - W_{{{\text{AF}}}} } \right){\text{d}}P,}$$

where WF and AF denote water flooding and alkaline flooding, respectively. In both types of experiments, \(\Delta L\) shows the same tendency in the 2D and 3D experiments; both show a broad maximum at 7500 ppm, as shown in the bottom panel of Fig. 5. The largest cluster shows a minimum and no longer dominates oil saturation (Fig. 4). This is in line with the optimum displacement, which was previously identified on the basis of recovery and fluid phase behavior to be 7500 ppm (Borji et al. 2022). The characteristics indicate that (a) despite the different cluster volume distributions, the displacement characteristics in 2D and 3D are comparable and (b) the exact alkaline concentration is not very critical.

Fig. 5
figure 5

Lorenz curves for WF (blue) and AF (red) from 2D microfluidic (MF, top) and 3D μCT-based core flooding (middle panel). The zoom-in highlights the variation in the individual 3D WF curves. Bottom panel: calculated Lorenz factors of 3D core floods and 2D microfluidics

3.3 Characterization of Displacements by Pore Occupation

Thus far, we have analyzed and discussed oil clusters as typically performed in pore-scale investigations (Ott et al. 2020; Iglauer et al. 2010; Georgiadis et al. 2013). However, this approach does not adequately characterize displacement processes since the porous medium is not yet considered in terms of its pore size distribution. Under alkaline and surfactant flooding conditions the lowering of the IFT leading to a higher capillary number. By substantially lowering the capillary number different classes of pores can be accessed by the injection water and may be flooded. In the following, we analyzed the occupation of individual pores as function of pore sizes, assuming that pore sizes and pore throat sizes are correlated to each other. To analyze the pore occupation, we identified and labeled the individual pores and determined the respective saturation state from the segmented fluid phases, as described above. The result of this analysis is shown in Fig. 6. The top row shows the number frequency of flooded pores by WF (blue symbols) and AF (red symbols) as a function of pore size but irrespective of their saturation state. Both are compared to the total number frequency (black symbols). From panels (a) to (e), the alkali concentration increases from 200 to 12,000 ppm. All WF experiments show consistent behavior with a certain natural variation from experiment to experiment. The data show that during WF, predominantly larger pores are flooded. Smaller pores are penetrated to only a minor degree with pore volumes below \({10}^{6}\) μm3 being neglectable. Please note that the frequency is plotted on a logarithmic scale. This observation is in line with the observed oil-wet to mixed-wet behavior and the relatively high interfacial tension of ~ 16 mN/m (Borji et al. 2022; Failed 2018), which makes the flow subject to local capillary forces. During the subsequent alkaline flooding, the larger pores appear entirely flooded, and the smaller pores become successively flooded with increasing alkaline concentration, or with decreasing IFT. Under optimum conditions, i.e., 7500 ppm \(c_{{{\text{Na}}_{{2}} {\text{CO}}_{{3}} }}\), it can be observed that on the applied double logarithmic scale, all pores are occupied.

Fig. 6
figure 6

Top row ae Number of pores (frequency) occupied by injected water as function of the (binned) pore volume; pore volume distribution (black) and pore occupation after water flooding (blue) and alkaline flooding (red). Panels ae show the variation in the Na2CO3 concentration from 200 ppm to 12,000 ppm. Bottom row fj The blue and the red squares indicate the number of pores occupied by water and alkaline solution after water and alkaline flooding. Panels fj show the variation in the Na2CO3 concentration from 200 to 12,000 ppm. The crosses and stars show the fractional pore occupation according to the legend

Since recovery is related to volumes and volumes are better represented on a linear scale, the lower row in Fig. 6 shows frequencies normalized by the pore size distribution on a linear scale. Therefore, this figure depicts the number fraction of occupied pores as a function of pore size. Furthermore, we would like to understand the respective saturation state, \({S}_{o}\), since the produced oil volume is related to the pore size times the water saturation in the respective pore. For practical reasons, we discriminated the saturation states in three categories with respect to the remaining oil saturation \({S}_{o,\mathrm{rem}}\) after WF and AF: \({S}_{o,\mathrm{rem}}\le\) 30%, 30% \(<{S}_{o,\mathrm{rem}}\le\) 60%, and \({S}_{o,\mathrm{rem}}>\) 60%. Again, the alkaline concentration increases from left to right, i.e., from panels (f) to (j). Blue symbols correspond to WF and red symbols to AF. The crosses and stars correspond to the introduced categories, as indicated in the legend of the figure, i.e., the fractional occupation. The solid squares are the sums of these contributions and therefore correspond to the total flooded fraction of pores, represented in the upper row of Fig. 6. The WFs are all comparable with a certain natural variation. A first observation is that the largest pores are flooded and the majority of the WF pores are depleted to a high degree with a low remaining oil saturation. This is still true with increasing alkaline concentrations, but with the smaller pores being increasingly flooded with increasing alkaline concentration until the optimum is reached. Thereafter, the trend may be returned. Under optimum conditions, nearly all pores are flooded, as observed before on the logarithmic scale.

On the scale of a μCT field of view, the remaining oil saturation after water flooding is dominated by a single cluster or rather a connected oil phase to > 99%. The smaller clusters of Fig. 3 are practically irrelevant for enhanced oil recovery. After alkaline flooding, which reduces the interfacial tension, these clusters break down into smaller clusters. The largest cluster after AF under optimum conditions shows a size below 7% of the remaining oil volume (see Fig. 4), which corresponds to approximately 0.4% of the total observed pore volume. The cluster size is linked to the viscous force applied by injection water to the displaced phase. Smaller clusters potentially experience a smaller viscous force (by ignoring other parameters); i.e., the EOR potential decreases with cluster size during EOR displacements.

By analyzing fractional pore occupancy as a function of pore size, we obtain a different type of information, relating pore classes (within a cluster) to the oil produced. Therefore, by comparing the fractional occupation between initial water flooding and subsequent alkali flooding, information regarding the cluster’s internal structure and the displacement process are given. After water flooding, on average, 74% of the oil remains in the observed sample volume, organized in a single large cluster. The oil in these clusters predominantly spans the fraction of smallest pores in the network. The system behaves similar to an oil-wet system (which may be a result of the \({S}_{o, \mathrm{in}}=\) 1 starting conditions); i.e., the injected water predominantly invades the larger pores. However, in the majority of the water flooded pores, the oil was displaced to a large extent with a relatively small amount of oil remaining (\({S}_{o,\mathrm{ rem}}\le\) 0.4). This may be a result of the relatively large water interstitial velocity due to the relatively low cross section related to the low water saturation, \({S}_{w}\).

By subsequent alkaline flooding at 200 ppm, the oil was mobilized predominantly from pores with a volume of ~ 106 μm3 (2.7 × 105 to 2.7 × 106 μm3 FWHM, as shown in Fig. 7c). A fraction of the smaller pores in the network are invaded. The majority of the pore volume (see Fig. 7b) and the remaining oil are located in smaller pores with a volume of ~ 5 × 105 μm3. Therefore, additional oil recovery was limited to approximately 50% of the oil remaining after water flooding. The remaining oil is still organized in a single connected phase at \({S}_{o}\sim 0.35\). With increasing Na2CO3 concentration, an increasingly larger fraction of the smaller and smallest pores is occupied, which is a sign of the successively reduced interfacial tension. When approaching optimum conditions, the oil is mobilized, where it is predominantly located in the pores, with an ~ 5 × 105 μm3 volume (Fig. 7b, c). As seen in Fig. 6i and Fig. 7d, reaching optimum conditions results in not only a quantitative improvement but also a qualitative change; the slope of the decay of highly depleted pores (\({S}_{o,\mathrm{rem}}\le 0.3\)) progresses toward smaller sizes. Considering this behavior together with the observation that the systems behave like oil-wet systems with high alkali solutions (Borji et al. 2022), a “close-to-miscible” displacement is indicated. In the absence of capillary forces, all classes of pores can be reached, even in an oil-wet state. As shown in Fig. 7d, at 12,000 ppm, the system falls back to the same trend (the same slope), i.e., below optimum.

Fig. 7
figure 7

Top panel a Pore volume distribution (number frequency) of the total pore space (black), the pores occupied by water after initial water flooding (blue), and the pores occupied after alkaline flooding with a 200 ppm Na2CO3 solution. Panel b Relative pore volume—the number frequency times pore volume as a function of the pore volume. Panel c The number frequency weighted by the relative pore volume for WF and the subsequent 200 ppm and 7500 ppm AF. The difference between AF and WF shows the pore sizes from which additional oil was recovered. Panel d Number frequency of highly depleted pores for the different Na2CO3 concentrations

4 Conclusions

We performed small-scale core flood experiments, displacing crude oil from the Vienna Basin by injecting water and Na2CO3 alkaline solutions of different concentrations. The saturation scale was monitored by μCT imaging on the pore scale. Increasing alkaline concentrations led to enhanced oil recovery by saponification with acidic crude oil components. Ignoring details in emulsification and segmenting the aqueous and oleic phases in a binary way, we performed a cluster statistical analysis on the remaining oil clusters. Furthermore, we developed a new approach for analyzing the pore occupation and the remaining oil saturation in individual pores on a statistical basis.

From the analysis of the cluster size distribution, we found that after water flooding, the remaining oil is dominated by a single connected oil cluster, which spans the total observed domain, containing > 99% of the remaining oil, appearing as a connected phase. By subsequent alkali flooding, these clusters break down to smaller clusters until the optimum alkali concentration of 7500 ppm \(c_{{{\text{Na}}_{{2}} {\text{CO}}_{{3}} }}\) is reached. Under optimum conditions, the volume of the largest cluster is < 7%, which is approximately 0.4% of the total observed pore volume. Since the largest cluster is no longer dominant, the exact cluster size distribution matters. We link the cluster size distribution to an EOR potential via the Lorenz factor (Ott et al. 2020). It shows the tendency of oil cluster toward a more uniform size distribution toward optimal alkali concentration.

The analysis of pore-occupation distributions, i.e., the saturation states of pores as a function of pore size, provides deeper insight into the nature of the water–oil displacement processes and their variation as a function of alkali concentration, i.e., mobilization potential of in situ surfactants. Furthermore, despite demonstrating signatures of two-phase displacements with distinctly separated fluid phases in phase-behavior experiments (Borji et al. 2022) and during displacement, at optimum alkali concentration, the displacement shows the efficiency and characteristics of a purely miscible displacement. Under optimum conditions, the injection water displaces oil from all sizes of pores with a pore-occupation distribution that is qualitatively different from the other cases. The further away from the optimum, the smaller fractions of pores of the initially oil-wet system are less reachable, which is a signature of finite capillarity, i.e., a finite IFT.

From these observations, we can formulate our hypothesis. The reduction in the interfacial tension has two effects: First, the large oil cluster breaks down into smaller clusters. This is possible because the lower interfacial tension allows the formation of fluid–fluid interfaces without much energy input. However, due to the negligible interfacial tension, the smaller clusters formed remain mobile and can be displaced. In addition, the negligible interfacial tension results in the ability to flood smaller pores as capillary boundaries are eliminated. Both effects lead to additional oil production. The question remains as to the optimum displacement or optimum Na2CO3 concentration. Let us assume that the interfacial tension is lowest at the optimum concentration and that almost miscible displacement occurs. Under these conditions, the oil is displaced on first contact with the injection water. At less ideal displacement, as can be assumed outside the optimum, the oil is less well mobilized and therefore has longer contact with the injection water. Multiple contacts lead to emulsion formation and hence entrapment. This last mechanism cannot be demonstrated within the scope of this work, but may be evident from the microfluidic experiments and discussions in Borji et al. (2022).

The study showed that pore-scale investigation provides rich data sets compared to classical phase behavior and coreflooding experiments. Direct and visual insights into pore-scale displacements allow for a better understanding of displacement physics and therefore allow for an educated and targeted design of chemical-water composition. With the present work, the literature on pore-scale physics is extended in two directions. (a) Since, literature on complex fluid systems is scarce, pore-scale physics remains academic. Thus, the present work combines detailed insights and applications in view of the similar future developments. (b) The fractional pore occupation provides a simple but novel method to better understand and quantify the role of capillarity barriers in fluid displacement and thus the volume from which oil is recovered. In combination with cluster analysis and, more specifically, the Lorenz analysis, the EOR potential of a system can be determined.