Introduction

These days, crude oil-derived fuels have undeniable roles in providing domestic and industrial activities with their energy demand1. Increasing demand for fossil fuels leads to conducting so many studies on different aspects of the petroleum reservoirs, such as drilling2, fluid extraction3,4, pressure maintenance5 and analysis6,6,8, formation characterization9, enhanced oil recovery10,10,12. The presence of water emulsion is one of the main problems for crude oil transportation and its processing13,14. This water emulsion creates undesirable operation problems, including pipeline corrosion and blockage through hydrate formation, increasing pressure drop, increasing transportation cost, and deactivating catalysts15,16. The stability of water emulsion is due to the elastic interfacial film resulting from the asphaltene content of crude oil14. Asphaltene is the heaviest fraction of crude oil, consisting of the aromatic and aliphatic part17. These heavy materials also have the heteroatom part, forming hydrogen bonds with the water molecules and stabilizing asphaltenes at the oil–water interface18. The cyclic structure of this heavy fraction results in its solubility in aromatic compounds like toluene and benzene and their insolubility in n-alkanes such as n-heptane19. On the other hand, asphaltene precipitation often leads to severe problems in crude oil’s transportation and processing stages20,21. Asphaltene separation from crude oil and its degradation is one of the practical methods to overcome the problems raised by asphaltene22,22,24. Normal alkanes are among the most well-known materials used as asphaltene precipitation additives25.

A comprehensive study of the rheological behavior of crude oil containing asphaltene can provide helpful information to decrease/postpone asphaltene precipitation. Fan et al. investigated the effect of oil aromaticity, time, asphaltene concentration, and nonionic surface-active additives on water–oil emulsion stability and its interfacial properties26. Results justified that water–oil emulsion’s stability decreased by increasing oil aromaticity. Moreover, nonionic surface-active additives prevent the formation of asphaltene clusters.

Wave-based analyses have recently been suggested for studying systems’ behavior27,27,29. Rane et al. experimentally studied the effect of angular frequencies on elastic modulus of oil contating asphaltene30. The results showed that the elastic modulus increases by increasing the frequency first and then becomes constant. Tao et al. investigated the rheological properties of the water–oil emulsions interface and its decomposition31. The results showed that loss modulus is directly related to the viscosity and can influence the emulsion’s decomposition. Moreover, dynamic interfacial tension was introduced as the main factor for controlling the emulsions. Garcia-Olvera et al. illustrated the effect of acidic and asphaltenic content on interfacial rheology of crude oil32. The interfacial viscoelasticity increases by increasing asphaltene concentration and decreases by reducing the acidic content. Rogel et al. studied asphaltene precipitates in Venezuelan and Canadian heavy crude oils in the presence of benzoyl peroxide33. They claimed that benzoyl peroxide is the most effective additive for the considered task. Campen et al. worked on the influence of the toluene-heptane mixture on asphaltene precipitation34. They declared that the asphaltene precipitation rate and size increases by increasing the heptane/toluene ratio. Kuang et al. designed a packed bed column to study the effect of temperature, pressure, and precipitating agent on the asphaltene separation35. The results showed that the asphaltene formation onset was postponed by increasing the precipitant concentration. Casas et al. studied the rate of asphaltene flocculation in the presence of normal heptane and normal pentane36. They stated that the asphaltene precipitation rate increases remarkably by adding 75% n-alkane. Higher concentrations of n-alkane produce a reverse trend in the asphaltene precipitation rate. A summary of previous studies and their main findings have been presented in Table 1.

Table 1 A summary of previous studies and findings.

The current study investigates the effect of n-heptane concentration and angular frequency on the viscoelastic behavior of two oil samples from the Mansouri oil field. Since asphaltene is not soluble in n-heptane, oil mixing with n-alkane helps asphaltene precipitation. This study’s first goal is to find the optimum condition (n-heptane concentration and angular frequency) where these samples show the appropriate viscoelastic behavior. Moreover, we intend to eliminate the asphaltene content of crude oil through precipitation as much as possible. Figure 1 is a schematic that represents the summary of the current study.

Figure 1
figure 1

Procedure of the present study.

Materials and methods

In the experimental stage of this study, eight oil samples containing different volume concentrations of n-heptane are prepared. Tables 2 and 3 report the specification of these eight oil/n-heptane samples.

Table 2 Composition of the prepared samples based on oil type 23.
Table 3 Specification of prepared samples based on oil type 71.

The Anton Paar MCR 302 rheometer is utilized to conduct viscosity and frequency tests on the synthesized oil/n-heptane samples. These tests can reveal the asphaltene content and rheological behavior of the samples. More specifically, the viscosity test monitors the effect of shear rate and n-heptane concentration on the oil samples’ viscosity. After that, it is possible to deduce the asphaltene content of the oil/n-heptane samples.

On the other hand, the frequency test is carried out to observe the viscoelastic behavior of the synthesized oil/n-heptane samples. Indeed, we focused on the storage and loss modulus of the samples to study their viscoelastic behaviors. As Fig. 2 shows, the storage or elastic modulus (G′) represents the elastic portion of the viscoelastic behavior, and it describes the sample’s solid-like behavior. In contrast, the loss or viscous modulus (G″) is associated with viscous and liquid-like behavior.

Figure 2
figure 2

Storage (G′) and loss (G″) modulus.

Furthermore, the viscous modulus to elastic modulus ratio (i.e., loss factor or damping factor) is proposed as a criterion for determining the fluid’s solid or liquid prevailing behavior (Eq. 1). For a fluid with ideal elastic characteristics, the viscous behavior portion is zero, and the loss factor (\(\delta\)) equals zero. On the other hand, samples with an exclusive viscous property have a loss factor that converges to infinity. In practice, the sample having a loss factor of less than one is considered an ideal elastic fluid with a solid-like behavior. Conversely, the sample with a loss factor of more than 100 is an ideal viscous fluid with a liquid-like behavior.

$$\tan \delta = \frac{{{\text{G}}^{\prime } }}{{{\text{G}}^{\prime \prime } }}$$
(1)

Results and discussion

It is better to note that all tests have been conducted at a constant temperature (i.e., ambient temperature). Therefore, the effect of temperature on the viscosity of the samples can be ignored. Indeed, the temperature-dependent nature of the viscosity has no effect on the results.

Viscosity test

The viscosity test results conducted on the samples with different concentrations of n-heptane are depicted in Figs. 3 and 4. These figures confirm that all oil samples show the Newtonian behavior, and their viscosities remain almost constant at different shear rates. Furthermore, the viscosity continuously decreases by increasing the n-heptane concentration. Asphaltene coagulation/precipitation due to its insolubility in n-heptane may be introduced as the main reason for this viscosity reduction. Reducing the asphaltene content of the samples leads to a decrease in the residual oil viscosity.

Figure 3
figure 3

Viscous behavior of different concentrations of n-heptane in oil type 23.

Figure 4
figure 4

Viscosity of different concentrations of n-heptane in oil type 71.

Dynamic viscosity of oil samples containing different concentrations of n-heptane in oil types of 23 and 71 is reported in Tables 4 and 5, respectively. Moreover, the viscosity reduction of the samples due to n-heptane concentration has been reported in these tables. It is not hard to see that the oil samples containing the highest n-heptane concentration experience the highest viscosity reduction. It can be concluded that adding 75% volume concentration of n-heptane to oil types 23 and 71 significantly reduces their viscosity and provide them with a more desirable rheological behavior. This range of n-heptane reduces the viscosity of oil types 23 and 71 by 97.2% and 96.3%, respectively.

Table 4 Effect of n-heptane concentration on the viscosity of oil type 23.
Table 5 Effect of n-heptane concentration on the viscosity of oil type 71.

Frequency test

This section aims to study the effects of n-heptane on the rheological properties of the oil types 23 and 71. The viscoelastic behavior of oil samples of 23 and 71 containing different volume concentrations of n-heptane is monitored using the frequency test.

Oil/n-heptane samples

The storage and loss modulus for oil type 23 in the presence of different concentrations of n-heptane are illustrated in Fig. 5(a) and (b), respectively. Although the solid-like behavior of oil type 23 (i.e., storage modulus) shows a complex trend by n-heptane concentration, it can be generally said that n-heptane increases the storage modulus and strengthen the elastic behavior at low angular frequencies. For experiencing a better operation condition, it is better to use a 25% volume concentration of n-heptane at the low angular frequency and 50% at the high angular frequency. In this condition, oil type 23 has the weakest solid-like behavior.

Figure 5
figure 5

(a) Storage modulus vs. angular frequency for different concentrations of n-heptane in oil type 23. (b) Loss modulus vs. angular frequency for different concentrations of n-heptane in oil type 23.

Figure 5(b) confirms that increasing the n-heptane concentration improves the samples’ loss modulus and liquid-like behavior for all angular frequencies. Indeed, it is better to add a 75% volume concentration of n-heptane to oil type 23 to experience the most substantial liquid-like behavior. Furthermore, increasing the angular frequency tends to strengthen the liquid-like manner and weaken the solid-like behavior of the considered oil sample. It was mentioned previously that the loss modulus describes the liquid-like behavior. Figure 5(b) shows that increasing the angular frequency continuously increases the loss modulus. The increase in the loss modulus is a good reason that justifies strengthening the samples’ liquid-like manner.

Figure 6(a) and (b) presents the effect of n-heptane concentration on the storage and loss modulus of oil type 71, respectively. Figure 6(a) justifies that the angular frequency tends to weaken the solid-like behavior (storage modulus) of all samples containing different concentrations of n-heptane in oil type 71. The effect of n-heptane concentration on the solid-like behavior of oil type 71 is too complex to have a general trend. Generally, it seems that the samples 71–00 and 71–25 present the lowest storage modulus at low and high angular frequencies, respectively. In these situations, the oil samples show the weakest solid-like behavior.

Figure 6
figure 6

(a) Effect of n-heptane concentration on storage modulus vs. angular frequency of oil type 71. (b) Loss modulus vs. angular frequency for different concentrations of n-heptane in oil type 71.

It can be easily found from Fig. 6(b) that the angular frequency continuously strengthens the loss modulus and liquid-like behavior of oil type 71. Furthermore, a 50% volume concentration of n-heptane results in the strongest liquid-like behavior at the low angular frequency. In comparison, 75% is the best volume concentration for the high angular frequency. In this condition, oil type 71 has the highest value for the loss modulus, and its liquid-like behavior prevails.

Moreover, the angular frequency increases the viscous portion and decreases the elastic portion of the viscoelastic behavior. It can be said that the angular frequency strengthens the liquid-like behavior of oil type 71 more than its solid-like manner.

Investigation of the loss factor

This section analyzes the loss factor to monitor the effect of angular frequency and n-heptane concentration on the relative strength of liquid to solid-like behavior of the oil samples. As mentioned earlier, the loss factor shows the loss to the storage modulus ratio. A small loss factor indicates that the elastic portion controls a fluid viscoelastic behavior (solid-like behavior is more substantial than liquid-like). On the other hand, a high loss factor states that the viscous behavior controls the fluid’s viscoelastic behavior (liquid-like behavior prevails the solid-like one). By monitoring the loss factor, it is possible to find out whether any phase transitions happen in the system or not. A sudden change in the loss factor shows that the sample’s characteristics have changed during the test.

The loss factor as a function of angular frequency for oil types 23 and 71 containing different volume concentrations of n-heptane is presented in Figs. 7 and 8, respectively. Increasing the angular frequency changed the samples’ viscoelastic behavior from solid-like to liquid-like.

Figure 7
figure 7

Loss factor vs. angular frequency for different concentrations of n-heptane in oil type 23.

Figure 8
figure 8

Loss factor vs. angular frequency for different concentrations of n-heptane in oil type 71.

Figure 7 shows that the oil sample of 23–25 has a reversed trend at an angular frequency higher than ~ 32 rad/s. Figure 5 showed that the storage modulus (G′) of the oil sample of 23–25 has suddenly increased at an angular frequency of higher than ~ 32 rad/s. It means that the asphaltene has re-dissolved in the oil and increased its solid-like behavior. It is also possible to consider this observation as an experimental or human error.

Conclusion

Crude oil contamination by asphaltene increases the viscosity and transportation costs and leads to several problems in processing equipment. Therefore, this study focused on investigating the effect of n-heptane concentration and angular frequency on asphaltene precipitation and the viscoelastic behavior of oil samples from the Mansouri field, Iran. The viscosity test approved that all oil-heptane mixtures show the Newtonian behavior, and their viscosity remains constant at almost all shear rates. In addition, 75% is the best volume concentration of n-heptane to add the considered oil samples. This n-heptane concentration reduced the viscosity of oil types 23 and 71 by 97.2% and 96.3%, respectively. The frequency experiments approved that it is possible to improve the liquid-like behavior of all oil samples by applying the suitable angular frequency. An abnormal increase in the loss factor of oil sample 23 containing 25% volume percent of n-heptane at the angular frequency of higher than ~ 32 rad/s may be associated with the experimental error or human mistake. The frequency test showed that the angular frequency for oil types 23 and 71 should be higher than 33.6 and 23.4 rad/s, respectively. In these angular frequencies, the liquid-like behavior of the considered oil samples is more substantial than their solid-like manner.