Research Article  Open Access
Guoxi He, Na Yang, Kexi Liao, Baoying Wang, Liying Sun, "A Novel Numerical Model for Simulating the Quantity of Tailing Oil in the Mixed Segment between Two Batches in Product Pipelines", Mathematical Problems in Engineering, vol. 2019, Article ID 6892915, 14 pages, 2019. https://doi.org/10.1155/2019/6892915
A Novel Numerical Model for Simulating the Quantity of Tailing Oil in the Mixed Segment between Two Batches in Product Pipelines
Abstract
Cutting mixed oil in product pipelines has a great influence on the economy of the pipeline operation processes. The reasonable prediction of CDMS (the concentration distribution in the mixed segment) is important for cutting mixed segments. The classical model cannot explain the tailing phenomenon well which should not be neglected during operation processes. Based on Fick’s diffusion law, a new model for calculating the diffusion coefficient is proposed in this article, which originates from the essence of the diffusion phenomenon and considers the effects of both physical properties of oil products and the turbulence. At the same time, the dynamic fluid equilibrium model of CDMS near the pipe wall is given which has considered the adsorption effect of wall roughness. Based on these two factors, a novel numerical model for simulating the quantity of tailing oil is proposed, which is solved via the characteristic method and the finite difference method. The effects of different physical properties, as well as the adsorption, on both LFMS (the length of the front of the mixed segment) and LTMS (the length of the tail of the mixed segment), are analyzed. The comparison between the simulation results and the experimental data is utilized to validate the proposed numerical model. The simulation results show that the novel model can well describe the mixed segment tailing phenomenon and also explain the mixing essence of two miscible but dissimilar fluids in the pipeline more clearly. To sum up, this model can provide theoretical guidance for the prediction of CDMS and cutting process in practical operation processes; therefore, more economic benefit can be obtained.
1. Background
Sequential transportation of multiproduct pipelines is a process by which refined oils are transported continuously with a certain sequence in the pipeline, as shown in Figure 1. When the oil is transported alternately, because of the lack of isolation, the mixed oil will be inevitably generated [1]. With the increase in transportation time and distance, CDMS will change gradually [2]. The fluid physical properties and the corresponding quality indicators in LMS will also change [3–5].
During the process of batch transportation, mixed oil is influenced by heat, mass, and momentum transfer concurrently [6, 7]. The mixed oil develops continuously in the axial direction. Resulting from the comprehensive effect of heat, mass, and momentum transfer among different products during the transportation process, the formation of mixed oil is based on convection transfer and diffusion transfer [8–10], as can be seen in Figure 1.
The calculation method of the oil mixture is divided into the theoretical formula and empirical formula. The mixing quantity of the mixed segment between two batches is calculated directly by the empirical formula. Among the previous studies, the empirical formula proposed by American scholars Austin and Palfery [12] is the most widely adopted one to engineering prediction of LMS, which shows that LMS is related to the inner diameter of the pipe, the Reynolds number, the viscosity of the two batches, and the calculated length of the pipe segment. Austin and Palfery [12] also pointed out that there was a critical Reynolds number which had a significant influence on the increasing LMS. In addition, some other empirical formulas [13–18] are given in the form of the ratio of the mixed segment to pipeline volume. It is found that the mixed segment is related to the calculated length of the pipeline [13–16], the inner diameter of the pipeline [13–15,17], the Reynolds number [13, 14], the oil density and viscosity [15, 16], the volume fraction [13], and the concentration coefficient Z value [14, 17] during the mixed segment transporting in the pipeline. Here, , where x is the axial distance from the beginning of the pipe (m), t is the time (s), and D_{axial} is the effective axial diffusion coefficient (m^{2}/s). It is noticed that Z is the concentration coefficient of front oil to determine the cutting point on the concentration curve (dimensionless). In the specific mathematical formula, Z is the independent variable in the Gauss error function.
Convectiondiffusion equation is a theoretical formula used to solve the governing equation of the concentration curve in the mixed segment. The convectiondiffusion equation is established by convection and diffusion effects which are the two most important factors affecting the mixed segment. The convectiondiffusion equations are mostly 3D but can be reduced to 1D or 2D depending on geometry or as a result of simplifications. The onedimensional equation considers that the concentration and the velocity are constant in the pipe cross section and are independent of the radial position. The twodimensional equation can better describe the mixed phenomenon, and its calculation is relatively accurate. But it is relatively difficult to perform the calculation in a longdistance pipeline at the same time. The diffusion coefficient is very important to calculate the mixed segment in the diffusion term. Empirical formulas are often used to calculate the effective diffusion coefficients in onedimensional equations, which are also applied together with turbulent diffusion coefficients to twodimensional models.
It is widely believed that the effective diffusion coefficient is related to the Re number [13, 18], oil viscosity [13, 14, 16, 17], pipeline length [13, 15, 17], pipeline diameter [13, 15, 17], oil density during the sequential transportation process [13], friction coefficient [18], Fowler–Brown coefficient [15], etc. For the twodimensional model, the diffusion coefficient is divided into the molecular diffusion coefficient and turbulent diffusion coefficient. The molecular diffusion coefficient is usually fixed and only considered in the bottom layer and the buffer layer in turbulent flow or in the totally laminar pipe flow. The turbulent diffusion coefficient is calculated by the corresponding empirical formula in the core region of the turbulent pipe flow. Some scholars believe that the turbulent diffusion coefficient is related to the calculated length of the pipeline [13, 15, 17], the inner diameter of the pipeline [13, 15, 17], the friction coefficient [13, 18], the average flow velocity in the pipeline, the average viscosity of the two oils, and the Reynolds number corresponding to the average viscosity [13, 14, 16, 17].
However, when using the empirical formula or the convectiondiffusion equation to solve the mixed segment, it is the average values of the density, viscosity, and temperature of the two oils that are used to solve the model. When these empirical formulas are used to calculate the mixed segment, the sequence of transportation has no influence on the calculated volume of the mixed segment. However, it is found in the engineering practice that, with the same parameters, the mixture quantity of gasoline followed by diesel is smaller than that of diesel followed by gasoline. When diesel is followed by gasoline, diesel will adhere to the pipe wall more firmly, which leads to a harder work for gasoline to replace diesel by continual scouring. On the wall of the pipeline, the replacement process of the oil at the tail of LMS is slowing down, resulting in an increase of LTMS. The existing models cannot describe the influence of the oil sequence on mixed segment quantity and distribution nor can describe the phenomenon of mixed segment trailing. The above are the factors influencing the mixed segment in the theoretical and empirical formulas. In addition, some engineering factors may also affect the mixed oil, including mixed oil trailing, the unstable quality potential of oil source products, the variable demand of pipeline transportation changing with the market, the possession of mixed oil tank capacity, the limitation of oil mixing, and other factors. In order to improve the accuracy of mixed segment prediction, this paper describes the tailing phenomenon of the mixed segment, considers the difference in physical properties of oil products at the front and tail of the mixed segment, and takes the influence of the pipe wall adsorption on CDMS into consideration.
The contribution and innovation of this paper are as follows: (1) A novel model is proposed to simulate CDMS, which takes into account the turbulence effect, the difference of the physical properties of the fluid, and the adsorption effect of the pipe wall roughness. The novel model holds a new diffusion coefficient. (2) Sensitivity analysis is carried out on the key factors affecting the quantity of mixed oil as well as LTMS and LFMS.
2. Numerical Modeling of Interfacial Mixing: Mass Transfer Equation
2.1. OneDimensional ConvectionDiffusion Equation
Taylor [14] believes that when the mixed segment passes slowly through a smalldiameter pipe, it will spread across the cross section under the combined action of molecular diffusion and velocity change. Moreover, although the flow is not symmetric, the concentration distribution produced in this manner is symmetric. The onedimensional mixing model considers that the oil concentration in the pipeline radial direction is uniform and only considers the change of the oil concentration in the axial direction. The onedimensional model adopts the effective axial diffusion coefficient D_{axial} [19, 20] to reflect the comprehensive degree of diffusion when the diffusion term is simplified. The coefficient can reflect the comprehensive influence of the extension and growth of the mixed segment along the pipeline [19]. The onedimensional convectiondiffusion equation is obtained on the basis of Fick’s diffusion law and mass conservation equation [20, 21]:
Here, it is noticed that , , and when using the Blasius correlation for turbulent flow in smooth pipes up to Re = 10^{5}. C is the average volume concentration of product B in the mixed segment (dimensionless), u_{m} is the average velocity at the crosssectional area of the mixed segment (m/s), D_{axial} is the effective axial diffusion coefficient (m^{2}/s), t is the time (s), x is the axial distance from the beginning of the pipe (m), d is the inner diameter of the pipe (m), is the wall shear stress (Pa), and is the average density of the oil ().
2.2. TwoDimensional ConvectionDiffusion Equation
Aunicky [13] argues that the Taylor [14] model is not entirely satisfactory because the diffusion coefficient D_{axial} increases with the length of the pipe rather than being a constant. The twodimensional convectiondiffusion equation can simultaneously take the axial and radial change of oil concentration into consideration. Because of the particular shape of the pipe, the cylindrical coordinate equation is used to solve the equation, the basic form of which is as follows, which is under the assumption of onedimensional flow in the axial direction and axial symmetry for diffusion:
Here, the definitions of the variables are the same as before.
3. Diffusion Coefficient and Adsorption Effects of the Pipe Wall
3.1. Turbulent Diffusion Coefficient
In order to minimize the quantity of mixed oil formed in the process of refined oil batch transportation and to enhance the economy of pipeline operation, the pipeline for sequential transportation requires a turbulent flow state. The turbulent flow in a circular tube contains momentum exchange between different flow layers, which makes the velocity distribution in the center of the pipe more uniform. The laminar region is close to the wall. The center region is located where turbulence is fully developed. The buffer region is between laminar flow and fully developed turbulent flow. The twodimensional convectiondiffusion equation can be simplified differently in different regions according to different oilmixing mechanisms. The specific division of different regions is shown in Figure 2 [15].
During the mixing process, the flow regime has a great impact on the volume of mixed oil. More uniform velocity distribution in the central portion of the pipe is resulted from the momentum exchange between different flow layers caused by the pulsation. Because of the restriction of the pipe wall, the pulsation is completely eliminated near the pipe wall. Table 1 simplifies the formulas for different regions. In the table, R is the radius of the tube (m); r is the distance away from the tube center in the radial direction (m); y is the distance away from the tube wall in the radial direction, and y = R − r (m); is the molecular diffusion coefficient (m^{2}/s); is the turbulent diffusion coefficient, which can reflect the effect of turbulence on the diffusion coefficient (m^{2}/s); and is the fluid kinematic viscosity (m^{2}/s).

3.2. Effects of the Difference in Density and Viscosity on the Adjacent Segment
Tichacek et al. [18] modified the analysis method of Taylor [14] and analyzed the axial mixing problem in the straight pipe. They found that when the fluid was close to the laminar flow regime, the axial mixing increased rapidly. At the same time, the roughness of the pipe could also lead to a small quantity of the axial mixed segment, while the kinematic viscosity of the pipe would not change greatly from one area to another. According to Freitas et al. [8], under the action of radial diffusion, the axial distribution of the mixed segment becomes more compact and the axial extension is also inhibited. So the quantity of VMS in the turbulent state is much less than that in the laminar flow state. In addition, the reason for mixing is also related to the viscosity and density of the two oil products in sequential transportation. Freitas et al. [8] established the oilmixing estimation model, which took into account the influence of viscosity change on the mixed segment. The variations in viscosity can promote changes in concentration as well as the bulkaverage fluid velocity which is capable of altering substantially the Reynolds number and Schmidt number. Such a variation could induce a significant change in the effective axial dispersion coefficient and, consequently, in the mixing volume. The flow rate used in their model changes over time and diameter as well as the concentration of the mixed segment, which makes the model more accurate. Lulie [22] believed that when the temperature field has great fluctuations along the pipeline, the difference in density and viscosity of the adjacent oil is an important factor affecting the formation of the mixed segment, and the velocity field in the mixed segment area changes gradually. The velocity profile in the mixed zone changes gradually and is different from that in the homogeneous zone.
Suppose that, in the beginning, only oil A with a density of and a viscosity of flows in the pipe. Then, inject oil B is miscible with oil A and has a density of and a viscosity of . Under turbulent conditions, the difference in density between adjacent oils is much smaller than that in the effective viscosity. In the mixed segment, the diffusion coefficient is assumed to be related to the concentration and the gradient of the physical properties. Thus, the influence of the difference in density and viscosity on the generation of the contaminated mixing segment is shown in Table 2, where and are the oil density and viscosity of mixed oil; D_{dens} is the diffusion coefficient caused by different density of the oils (m^{2}/s); D_{visc} is the diffusion coefficient caused by different viscosity of the oils (m^{2}/s); is the mixture coefficient when the fluids have equal density, which is generally 10^{−2}∼10^{−3} cm^{2}/s; is the mixed coefficient when the fluids have the same viscosity, which is also generally 10^{−2}∼10^{−3 }cm^{2}/s; is the proportional constant for density (m/(Pas)); and is the proportional constant for viscosity (m/(Pas)).

3.3. Adsorption Effects of the Pipe Wall
Because of the roughness of the pipe, the oil molecules will be absorbed in the rough inner surface of the pipe when oil flows and then form a stable adsorption layer because of the action of the molecular force and electrostatic field. A maximum concentration balanced with the component concentration will reach the adsorption layer. The equilibrium adsorption concentration equation, also known as the Langmuir adsorption isotherm [25], is shown as follows:
Here, C is the concentration of front oil, is the concentration when the process of the adsorption reaches the balance, is the constant of adsorption (s^{−1}), is the extremity adsorption concentration, and is the stripping constant (s^{−1}). The values of a and b are determined as constants which are associated with temperature and pressure. During the sequence transportation, because the concentration reaching a balanced value in the adsorption layer consumes much shorter time than that required for the concentration variation caused by pipe flow, the adsorption will reach a balance instantly. Thus, the balance concentration can be solved by using the balanced adsorption equation:
The derivate is
When the pipe wall has an adsorption effect on the liquid molecule, the variation of concentration over time is as follows:
Here, is the new effective axial diffusion coefficient proposed in this paper (m^{2}/s). u is the velocity of the fluid in the tube, and it is calculated via the formula in Table 1. It is noticed that C and C_{r} have the same unit. Both of them mean the volume fraction of front oil, and thus, they are both dimensionless. The difference between them is as follows: C is the volume fraction (concentration) of front oil in any controlling volume. C_{r} means the adsorbed volume fraction of front oil by the wall in the same controlling volume. Thus, is part of C. We define as the concentration when the process of the adsorption reaches the balance. The “balance” means can change in an instant. is only related to parameters a and b as well as C. An increase in C could lead to an increase in .
The righthand side term means has been absorbed by the wall from C during , resulting in part of . Meanwhile, means the change of the balanced concentration due to the change of a, b, or C in .
Also, we have
Substituting this into the unsteady convectiondiffusion equation, the following is obtained:
In this nonlinear partial differential equation, the coefficient of the time term is a secondorder variable coefficient which is associated with state variable C leading to hardness in solving the equation. It is noticed that only within the laminar flow layer (near the wall), the parameters a and b have a nonzero value, whereas it is zero as the molecular force and electrostatic field are ineffective.
3.4. OilMixing Model Involving Turbulence Diffusion, the Difference of Physical Properties, and the Effect of Adsorption
Based on the above contents, a twodimensional convectiondiffusion model considering the difference of physical properties in adjacent oils can be described as follows:in which the new effective axial diffusion coefficient is
3.5. Initial Conditions and Boundary Conditions
Definite conditions contain initial conditions and boundary conditions. The concentration of front oil is denoted as C.
Among them, is the initial volume concentration of oil B which follows the front oil A (dimensionless), 1 − C is the concentration value of subsequent oil (dimensionless), R is the internal radius of the oil pipeline (m), and x represents the distance between a certain point and the first end of the pipeline (m).
4. Method for Simulating the Growth of Interface in the LongDistance Pipeline
4.1. The Basic Equation of the Migration of Mixed Oil Segment in Multiple Pipeline Segments
Supposing that the front and tail of the mixed oil segment between two batches are located at and , where the location is the function of time and of the pipe segment number that the mixed segment has gone through, we can conclude the basic equation of the migration of and is shown as equation (13). Here, the function in means convection of S, while in means other performances of S such as diffusion and wall adsorption. These performances could make S grow on the basis of its current state, resulting in the velocity u being related to current S. In other words, S flows and grows:where is the time (s); and are the position of the front and tail of the mixed oil segment, respectively (m); is the total number of the pipe segments (dimensionless); is the numbering of the pipe segment arranged from small to large according to the distance from the inlet (dimensionless); and is the average crosssectional velocity of the fluid (m/s).
Because of , we have the following boundary conditions:
The initial conditions are
At , as can be seen in Figure 3, pure gasoline enters the pipe segment filled with pure diesel to perform the sequential transportation, and thus, the mixed oil segment is formed. The pure gasoline segment is represented by a matrix with 0, while the mixed segment is represented by a matrix with 0∼1. Then, the mixed segment enters the pipe segment with pure diesel and consequently forms a mixed oil segment again, which is numbered as . In this way, the pipe is divided into many segments with different length, and the numerical simulation of the movement of a single oilmixing interface in a longdistance pipeline can be realized.
In this paper, the internal node method is adopted for the solution, and the distribution relationship between nodes and control volume is shown in Figure 4. In the cylindrical coordinate system, the node distribution on the axial section of the pipeline is shown in Figure 4.
The fractional step method is applied to solve this problem [21] in order to improve the stability of the solution process. is divided into two parts in each time step. In the former part, the diffusion term is treated as a constant, and the pure convection equation is solved by the characteristic line method. In contrast, in the latter part, the convection term is regarded as a constant, and the finite difference method is used to solve the pure diffusion equation. Figure 5 shows the flow chart of the calculation.
5. Results and Discussion
5.1. Verification of Simulation Results
5.1.1. Comparison of the Simulation Results with the Empirical Formula
The numerical simulation results are compared with the empirical formula under the same conditions. A 30 km pipeline was simulated with the 0# diesel as front oil and the 90# gasoline as tail oil. The temperature is 20°C, and the pipe diameter is 560 mm. The average flow velocity is 1.14 m/s. The mixed oil volume obtained from empirical formulas and numerical simulation results were compared.
As can be seen in Figure 6, with the increase of pipeline length, the increasing rate of the mixed segment gradually slows down. The increasing trend of the mixed segment calculated by numerical simulation is the same as that calculated by other empirical formulas.
In Table 3, is the mixed oil volume (m^{3}); is the pipeline volume (m^{3}); is the diameter of the pipeline (m); is the length of the pipeline (m); is the Fowler and Brown [15] experimental constant; Re is the Reynolds number; Re_{j} is the critical Re; and are the density of front oil and tail oil, respectively; and are the concentration of front oil and tail oil, respectively (100%); and is a function of and (dimensionless).
The comparisons of LMS results obtained from numerical simulation to others such as Austin and Palfrey [12] empirical formulas (all the equations are shown in Table 3) are shown in Figure 6. The numerical data are in the middle of the results obtained from the empirical formulas, which are larger than the results of Sjenitzer [17] and smaller than the results of Fowler and Brown [15], Birge Edwin [26], Austin and Palfrey [12], and Taylor [14]. The numerical simulation results intersect with those of Smith and Schulze [16] and Jablonskij [25].
5.1.2. Comparison of the Simulation Results with the Experimental Data
We have compared the numerical simulation results to the experimental results under the same conditions. The total length of the experimental pipeline is 200 m, made of plexiglass. The pipe diameter is DN25, and the probe position of the interface detector is shown in Figure 7. The Re of 33245.7 was simulated, and the simulation results were compared to the experimental results. The comparison results are shown in Figure 8.
In Figure 8, under the condition of Re 33245.7, the simulated result is similar to the shape of the mixed segment concentration curve of the experimental result. The simulation results can reflect the concentration difference in the radial direction of the pipe. The first 99100% of the mixed segment is the front oil which is mainly diesel, and the last 01% of MS is the tail oil which is mainly gasoline.
5.2. Sensitivity Analysis of the Mixed Segment
5.2.1. Influence of the Basic Parameters on the Mixed Segment
In the process of calculating the mixed segment, the influence of various parameters on the mixed segment is shown in Figure 9. When the adsorption effect between the oil and the pipe wall is taken into account, the parameters a and b also become the influencing factors. The following analysis is focused on the adsorption effect and physical differences in the mixed segment.
5.2.2. Adsorption Effect on MS
The comparison between the adsorption effect and the nonadsorption effect is shown in Figure 10, which shows the effect of adsorption on oil concentration. Figure 10(a) shows the simulation result without considering the pipe wall adsorption model, while Figure 10(b) shows the simulation result considering the adsorption effect.
(a)
(b)
It can be seen from the figure that when considering the adsorption effect, it has little influence on CDMS at the center of the pipe, but it has a significant influence on the oil substitution near the pipe wall. When the adsorption effect is taken into account, the oil concentration gradient at the pipe wall is larger than that without adsorption effect. The adsorption effect results in front oil adhering to the pipe wall, which slows down the oil replacement.
The influence of adsorption parameters a and b on LMS is shown in Figure 11. The influence of a on VMS is positive. When other factors remain unchanged, LMS increases with the increasing a. When a increases by 50.0%, VMS increases by about 14%. The influence of b on VMS is negative. When other factors remain unchanged, LMS decreases with the increasing b. The influence of b on LMS increases with the increasing operating length. When the operating distance is 10 km, b increases by 50.0% and VMS decreases by about 5%. When the operating distance is 20 km, b increases by 50.0% and VMS decreases by about 6%. When the operating distance is 30 km, b increases by 50.0% and VMS decreases by about 7%. When the values of a and b are 0.4 and 0.04, respectively, VMS increases by about 4% compared with that with no adsorption effect.
(a)
(b)
5.2.3. Effects of Physical Property Difference on MS
Essentially, the diffusion is caused by a concentration gradient, and the diffusion rate is proportional to the concentration gradient of the material. The diffusion coefficient is related to the density, viscosity, and concentration gradient of the oils. The larger the concentration gradient is at a certain position in MS, the larger the corresponding diffusion coefficient value will be, which is in accordance with the nature of the diffusion phenomenon and has a clearer physical significance.
VMS is related to the value of the diffusion coefficient. The model in this paper can reflect the physical properties of oil and the influence of the concentration gradient on the diffusion coefficient and further reflect the influence of the oil transportation sequence on VMS. The influence of oil sequence exchange on MS is shown in Figure 12. LMS of diesel followed by gasoline is larger than that of gasoline followed by diesel, while both of them are increasing with the transportation distance.
5.2.4. Comparison of the Adsorption Effect and the Diffusion Coefficient
It can be seen from Figure 13 that both the physical property difference of oils and the adsorption effect have a greater influence on LMS than the traditional convection and diffusion processes. The adsorption effect also has a greater influence than the physical property difference of oils on LMS. The result of the Austin formula is between that of the adsorption effect model and that of the physical property difference model. When solving the convectiondiffusion equation, if the value of the diffusion coefficient is calculated by the existing empirical formula, the numerical results are quite different from those of the Austin formula. LMS calculated by the improved model is more similar to that calculated by the Austin formula.
5.3. Sensitivity Analysis of the Tailing Phenomenon in the Mixed Segment
5.3.1. Effects of Adsorption on the Tailing Phenomenon
In this paper, the segment with 95–99.9% of front oil concentration is used as LFMS and the segment with 0.1–5% is used as LTMS. Figure 14 shows the influence of adsorption parameters a and b on LTMS. As can be seen from the figure, parameters a and b have an influence on both LFMS and LTMS, where there is a greater influence on LTMS. Both LFMS and LTMS increase with the increasing a and decrease with the increase of b. The influence of a is greater than that of b.
(a)
(b)
5.3.2. Effects of Different Physical Properties on LTMS
LMS will change when the sequence of oil transportation is changed. As can be seen from Figure 15, the sequence of oil transportation has an impact on LFMS and LTMS. When diesel is the front oil, LFMS and LTMS are longer than those of gasoline being the front oil. The influence of the transportation sequence on LFMS is greater than that on LTMS, but in both cases, LTMS is greater than LFMS. When diesel is followed by gasoline, DBFT is smaller than that in the case when gasoline is followed by diesel.
6. Conclusion
Compared to previous studies, a new method for calculating CDMS is proposed via analyzing the tailing phenomenon of the mixed oil segment in situ, where a new model is proposed to calculate the axial diffusion coefficient by considering the difference in physical properties and turbulence effect. Meanwhile, the pipe wall roughness is involved to process the pipe wall adsorption effect on oil molecules. Based on the new method, LFMS, LTMS, and CDMS are related to the adsorption effect and to the value of the diffusion coefficient, which is a function of oil density, viscosity, and concentration gradient. The conclusions are summarized as follows:(1)The larger the concentration gradient is in a certain part of the mixed segment, the larger the diffusion coefficient value will be.(2)The sequence of oil product transportation shows an effect on LFMS and LTMS and shows a greater effect on LFMS. LTMS is always greater than LFMS, no matter what sequence is used. When diesel is followed by gasoline, LMS is larger than that of gasoline followed by diesel, and LFMS and LTMS are also larger.(3)When diesel is followed by gasoline, the difference between LFMS and LTMS is rather small and is also smaller than those of gasoline followed by diesel.(4)When the adsorption effect on CDMS is simulated, the mixed segment increases with the increasing a. LMS decreases with the increasing b. Both a and b have an influence on LFMS and LTMS, but they have a greater influence on LTMS, and a shows a greater influence than b.(5)The simulation results show that the novel model can well describe the mixed segment tailing phenomenon of LTMS and also explain the mixing essence of two miscible but dissimilar fluids in pipelines more clearly. To sum up, this model can provide theoretical guidance for the prediction of CDMS and cutting process in practical operation processes; therefore, more economic benefit can be obtained.
Abbreviations
MBDF:  Miscible but dissimilar fluids 
MMBDF:  Mixing of miscible but dissimilar fluids 
MS:  The mixed segment 
LMS:  The length of the mixed segment 
VMS:  The volume of mixed oil 
LTMS:  The length of the tail of the mixed segment 
LFMS:  The length of the front of the mixed segment 
CDMS:  The concentration distribution in the mixed segment 
DBFT:  The difference between LTMS and LFMS. 
Data Availability
The datasets generated and/or analyzed during the current study are available from the corresponding author on reasonable request.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
Acknowledgments
This work was funded by the China Postdoctoral Science Foundation (2019M653481) and by the National Natural Science Foundation of China (51674212).
References
 J. Gong, D. F. Yan, and Z. L. Kang, “Research on contamination caused by the topographical difference in batch transportation,” in Proceedings of the 2004 International Pipeline Conference, vol. 3, pp. 2171–2176, Calgary, Canada, October 2004. View at: Google Scholar
 Z. L. Kang, J. Gong, and D. F. Yan, “Development of model for contaminated oil product caused by elevation difference in multiproduct pipelines,” Journal of China University of Petroleum, vol. 27, pp. 65–67, 2003. View at: Google Scholar
 A. R. Patrachari and A. H. Johannes, “A conceptual framework to model interfacial contamination in multiproduct petroleum pipelines,” International Journal of Heat and Mass Transfer, vol. 55, no. 1718, pp. 4613–4620, 2012. View at: Publisher Site  Google Scholar
 J. Gong, Q. Wang, W. Wang, and Y. Guo, “The calculation method of mixing volume in a products pipeline,” in Proceedings of the 2010 8th International Pipeline Conference, vol. 3, pp. 393–398, Calgary, Canada, September 2010. View at: Publisher Site  Google Scholar
 S. R. D. Melo and F. B. F. Rachid, “Computing transmit in complex batch transfers via the mixingvolumeequivalentpipe concept,” International Pipeline Conference, vol. 3, pp. 605–610, 2010. View at: Publisher Site  Google Scholar
 E. S. Udoetok and A. N. Nguyen, “A disc pig model for estimating the mixing volumes between product batches in multiproduct pipelines,” Journal of Pipeline Engineering, vol. 8, no. 3, pp. 195–204, 2009. View at: Google Scholar
 D. C. Cafaro and J. Cerdá, “A rigorous mathematical formulation for the scheduling of treestructure pipeline networks,” Industrial and Engineering Chemistry Research, vol. 50, no. 9, pp. 5064–5085, 2010. View at: Publisher Site  Google Scholar
 F. B. Freitas, J. H. Carneiro de Araujo, and R. M. Baptista, “Predicting mixing volumes in serial transport in pipelines,” Journal of Fluids Engineering, vol. 124, no. 2, pp. 528–534, 2002. View at: Publisher Site  Google Scholar
 D. A. Rodríguez, P. P. Oteiza, and N. B. Brignole, “Simulated annealing optimization for hydrocarbon pipeline networks,” Industrial and Engineering Chemistry Research, vol. 52, no. 25, pp. 8579–8588, 2013. View at: Publisher Site  Google Scholar
 G. He, Y. Liang, Y. Li et al., “A method for simulating the entire leaking process and calculating the liquid leakage volume of a damaged pressurized pipeline,” Journal of Hazardous Materials, vol. 332, pp. 19–32, 2017. View at: Publisher Site  Google Scholar
 Z. Pan, B. Chen, L. Shang, and Y. Yan, “Pressure loss and energy consumption of an innercone flowmeter and orifice plate flowmeter in the product pipeline,” Energy Sources, Part A: Recovery, Utilization, and Environmental Effects, vol. 33, no. 4, pp. 370–376, 2010. View at: Publisher Site  Google Scholar
 J. E. Austin and J. R. Palfrey, “Mixing of miscible but dissimilar liquids in serial flow in a pipeline,” ARCHIVE: Proceedings of the Institution of Mechanical Engineers, vol. 178, no. 1, pp. 377–395, 1963. View at: Publisher Site  Google Scholar
 Z. Aunicky, “The longitudinal mixing of liquids flowing successively in pipelines,” The Canadian Journal of Chemical Engineering, vol. 48, no. 1, pp. 12–16, 1970. View at: Publisher Site  Google Scholar
 G. Taylor, “The dispersion of matter in turbulent flow through a pipe,” Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences, vol. 223, no. 1155, pp. 446–468, 1954. View at: Publisher Site  Google Scholar
 F. C. Fowler and G. G. Brown, Contamination by Successive Flow in Pipe Lines, American Institute of Chemical Engineers, New York, NY, USA, 1943.
 S. S. Smith and R. K. Schulze, “Interfacial mixing characteristics of products in products pipe linePart 1,” The Petroleum Engineer, vol. 20, no. 8, 1948. View at: Google Scholar
 F. Sjenitzer, “How much do products mix in a pipeline; here is how to calculate the extent of contamination when two different liquids are pumped in succession,” Pipeline Engineer, vol. 30, pp. 31–34, 1958. View at: Google Scholar
 L. J. Tichacek, C. H. Barkelew, and T. Baron, “Axial mixing in pipes,” American Institute of Chemical Engineers Journal, vol. 3, no. 4, pp. 439–442, 1957. View at: Publisher Site  Google Scholar
 D. Shongsheng and P. Jianing, “The comparison of mixing models of twoD products batching,” Oil and Gas Journal, vol. 1, pp. 16–18, 1997. View at: Google Scholar
 D. Shongsheng and P. Jianing, “Application of convection diffusion equation to the analysis of contamination between batches in multiproduct pipeline transport,” Applied Mathematics and Mechanics, vol. 19, no. 8, pp. 50–57, 1998. View at: Publisher Site  Google Scholar
 Z. Y. Xia and Q. Q. Liu, “Numerical simulation of the contamination between batches in multiproduct pipeline transport,” Mechanics in Engineering, vol. 6, pp. 10–15, 2010. View at: Google Scholar
 M. B. Lulie, Optimization of MultiProducts Pipeline, vol. 18, Chinese Petroleum Industry Press, Beijing, China, 1989.
 H. Mostafaei, P. M. Castro, and A. GhaffariHadigheh, “A novel monolithic MILP framework for lotsizing and scheduling of multiproduct treelike pipeline networks,” Industrial and Engineering Chemistry Research, vol. 54, no. 37, pp. 9202–9221, 2015. View at: Publisher Site  Google Scholar
 H. Shahandeh and Z. Li, “Modeling and optimization of the upgrading and blending operations of oil sands bitumen,” Energy and Fuels, vol. 30, no. 7, pp. 5202–5213, 2016. View at: Publisher Site  Google Scholar
 G. He, M. Lin, B. Wang, Y. Liang, and Q. Huang, “Experimental and numerical research on the axial and radial concentration distribution feature of miscible fluid interfacial mixing process in products pipeline for industrial applications,” International Journal of Heat and Mass Transfer, vol. 127, pp. 728–745, 2018. View at: Publisher Site  Google Scholar
 S. Chintala, “Computational study of interfacial mixing in pipelines, logistics and diverse models to predict the interface length,” Oklahoma State University, Stillwater, OK, USA, 2014, Doctoral dissertation. View at: Google Scholar
Copyright
Copyright © 2019 Guoxi He et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.