Introduction

Due to China’s fast-growing economy, the size and quantity of underground engineering projects, such as tunnels, are expanding. China, being the country with the largest and most widespread karst formations in the world, is highly susceptible to geological disasters such as water inrush, mud inrush, and collapse during construction. These hazards pose a significant threat to project development1,2,3,4,5. Karst water inrush disasters have been responsible for the most significant economic losses and mortality in numerous disastrous geological events6,7,8. Hence, conducting pertinent study on the management of karst pipeline water influx calamity is of utmost significance.

The various geological features in the karst area give rise to varied disaster mechanisms, resulting in distinct forms of water inrush. The many types of water influx are categorized based on the water storage conditions and the characteristics of the buildings that cause disasters. These include fissure water influx, fault water influx, karst cave water influx, pipeline water influx, and subterranean river water influx9. Currently, grouting is a highly successful method for achieving water inrush prevention10,11,12,13. Currently, the liquidity of the typical cement slurry used in engineering is uncontrollable and pumpable period is not adjustable. And it has a high solubility in water and low resistance to erosion from flowing water washout .These characteristics make it unsuitable for meeting the requirements of engineering construction. Despite their high early strength and outstanding grout ability, chemical grouting materials are costly and pose possible environmental risks14,15.Water-soluble polyurethane and epoxy resins will affect their sealing effect under the action of dynamic water scour, and there are few studies at present. Furthermore, numerous studies have demonstrated that polymer cement-based modified composite materials enhance the cement's ability to resist dispersion to some degree. These materials are also resistant to erosion, and the grouting consolidation body benefits from corrosion resistance, freeze–thaw resistance, and impermeability, among other advantages16. Nevertheless, in karst regions, the current grouting materials are unable to effectively seal the high-pressure water flow. Hence, it is necessary to devise a novel grouting substance for the purpose of effectively sealing karst formation water inrush in projects, which holds immense importance.

The current body of research on karst water inrush grouting mostly centers around the dispersion of slurry within rock fissures under dynamic water conditions. Zhang et al.17 discovered the impact of grouting pressure, injection rate, and crack width on the effectiveness of fracture grouting by examining the rheology of C-S slurry. Chen et al.18 using a combination of finite element method and fluid volume technology to investigate a numerical model for simulating the crack grouting process in soil.

Based on the theoretical method of grouting design, Rafi and Stille19 studied the applicability of GIN method. Sui et al.20 studied the sealing effect of chemical grouting of rock fissures under dynamic water conditions through experiments. Wang et al.21 analyzed the hydraulic-mechanical interaction to examine the features of leakage and pipeline occurrence during the excavation of a channel tunnel. Wang et al.22 introduced a probabilistic evaluation approach that combines the hydraulic-mechanical coupling method with stochastic finite member analysis. The suggested approach allows for the appropriate consideration and analysis of the spatial variability of soil parameters in conjunction with dam situations. The results demonstrate that the suggested framework offers a graphical representation of the pipe flushing process and indicates that pipe erosion takes place in around 40% of the hydraulic samples. Xiao et al.23 developed a basic grouting model to forecast the diffusion pattern of grout in fracture channels. Liang et al.4 investigated the dispersion of chemical grouting in water flow and sand flow using an experimental grouting equipment designed for inclined fissures. Currently, the research findings on grouting theory mostly consist of seepage grouting theory24,25,26,27,28,29, fracture grouting theory30,31, and compaction grouting theory32,33,34. These theories are all founded on the principles of laminar flow and Darcy’s law. Nevertheless, karst pipeline-type water inrush exhibits the traits of substantial volume, elevated flow velocity, and turbulent dynamics. The conventional approach of using grouting to plug water is not appropriate for dynamic water pipelines, and it has a low slurry retention rate, which fails to effectively address the issue of water infiltration in karst pipeline-type disasters. Hence, it is imperative to innovate new plugging technology.

Magnetic fluid is a stable mixture created by dispersing nano-sized magnetic particles with surfactants in a base fluid35,36. The magnetic fluid has exceptional performance and finds applications in magnetic fluid sealing, shock absorption, medical equipment, and other industries that involve challenging conditions. However, its use in the engineering sector remains limited. Introducing steel fiber into concrete can significantly enhance its tensile strength, flexural strength, and compressive strength37,38,39,40,41. Liew et al.42 introduced a novel technique that utilizes magnetic fields to align steel fibers with the tensile stress or vertical crack plane of concrete structures. This technology efficiently reduces the energy consumption resulting from the random arrangement of fibers. In their study, Hajforoush et al.43 observed that the addition of 1.5% steel fiber to concrete resulted in an 18% increase in compressive strength and a 16% increase in flexural strength when subjected to a uniform magnetic field. Chen et al.44 investigated the bending and displacement of steel slag by substituting concrete aggregate with steel slag and subjecting it to an external magnetic field. The findings indicate that steel slag exerts a vibrational impact on concrete.

This work presents a composite grouting material that has been enhanced with Fe3O4 powder, based on the concept of the magnetorheological effect. The magnetic field produced by the magnetic rod is utilized to induce a magnetic convergence effect in the slurry, so enhancing its resistance to erosion and shear forces. This study presents the development of an OEMS specifically designed for grouting and sealing pipeline water inrush. The diffusion and plugging mechanism of dynamic underwater grouting slurry is investigated using a self-developed visual water inrush grouting simulation test system. Simultaneously, a model is developed to study the behavior of magnetic slurry in a magnetic field when water influx occurs. The computed values of the model are compared with the experimental test results to validate the soundness of the model. The research findings can offer direction for future technical applications.

Experimental study of OMES

Experimental material

The primary constituents utilized in the manufacturing process of OEMS consist of Fe3O4 powder, epoxy resin A, B liquid, flyash, and active diluent, as depicted in Fig. 1.

Figure 1
figure 1

Materials used in the test.

Test scheme design

The team’s extensive scientific research experience and literature review have led to the selection of epoxy resin as the primary material for repairing wading buildings. Epoxy resin is chosen for its ability to facilitate the controlled flow of the slurry, its strong resistance to erosion, its effective water plugging and anti-permeability properties, and its ability to prevent dispersion. Additionally, the use of magnets helps to orient the attraction of the slurry to metal surfaces, enabling magnetic self-polymerization and guided flow.

The experiment utilized magnetic powder consisting of particles with a nanoscale size. The anticipated ratio between the volumes of epoxy resin A liquid and epoxy resin B liquid is 2:1. Each test group consisted of 6% active diluent combined with different ratios of 25%, 40%, and 55% Fe3O4 powder and flyash. Equations (1) and (2) represent the ratio between Fe3O4 powder and flyash. Table 1 presents the distribution of each of the nine experimental groups that were created. The test assessed the viscosity, time it took for the material to initially set, time it took for the material to finally set, and the compressive strength of each group, as depicted in Fig. 2.

$$\lambda_{1} = \frac{{m_{3} }}{{m_{1} + m_{2} }} \times 100\%$$
(1)
$$\lambda_{2} = \frac{{m_{4} }}{{m_{1} + m_{2} }} \times 100\%$$
(2)
Table 1 Test proportioning parameters.
Figure 2
figure 2

Material performance test.

Among them: \(\lambda_{1} ,\,\lambda_{2}\) are the proportion of magnetic powder and flyash ; m1 is the amount of epoxy resin A liquid ; m2 is the amount of epoxy resin B liquid ; m3 is the amount of Fe3O4 powder ; m4 is the amount of flyash.

Test results

Based on the above proportional experiments, the experimental data are shown in Table 2.

Table 2 Test data statistics.

The correlation between the Fe3O4 particle ratio and fluidity is continuously negative, as seen in Fig. 3a. This correlation is also observed with the fraction of flyash. More precisely, when the ratio increases, the viscosity of the slurry falls. As the amount of fine powder increases and the size of the particles drops, its effect on the angle of repose will become stronger, leading to a loss in fluidity. This is because introducing powder with smaller particles reduces fluidity. Based on the observation in Fig. 3b, it is evident that the flow performance improves when the flyash concentration increases, while keeping the Fe3O4 powder content constant. The particle size of flyash is bigger than that of Fe3O4 powder, which is the reason for this difference. The powder with a greater particle size exhibits superior fluidity. To enhance the flow characteristics of a fine powder with limited fluidity, one can introduce larger particles, which will mitigate its tendency to stick together and enhance its ability to flow smoothly. When the blending ratio is between 40 and 55%, the fluidity of the slurry increases at a higher rate compared to a blending ratio of 25%. However, when the blending ratio is 25%, the fluidity of the slurry is the highest.

Figure 3
figure 3

Fluidity change of OMES.

The influence of the flyash ratio in the slurry on the consolidation compressive strength is negligible, as shown in Fig. 4a. More precisely, as the amount of Fe3O4 powder is increased, the compressive strength of the consolidation drops. Moreover, a slight decline in strength was noted in flyash with a mass ratio of 55% and 40%, whereas a significant decline in strength was recorded in flyash with a mass ratio of 25%. The compressive strength of Fe3O4 powder decreases by 18.1%, 14.5%, and 11.8% when the flyash content is 25%, 40%, and 55%, respectively, in comparison to a 25% flyash concentration. In addition, the compressive strength of Fe3O4 powder decreases by 23.2%, 17.5%, and 14.8% when the flyash concentration is reduced to 25%.The correlation between the proportion of flyash and consolidation compressive strength is positive, as depicted in Fig. 4b. More precisely, the compressive strength during consolidation falls as the amount of Fe3O4 powder increases, whereas the proportion of flyash changes. The highest compressive strength is achieved when the content ratio of Fe3O4 powder is 25%. Additionally, the rate of increase in compressive strength is slightly slower when using 25% and 55% Fe3O4 powder.

Figure 4
figure 4

Compressive change of OMES.

An indoor ratio test was conducted to assess the fundamental attributes of fluidity, setting time, and strength of OMES. The ideal proportion of epoxy resin The ratio between liquid A and liquid B was determined to be 2:1, taking into account the influence of flyash, Fe3O4 powder admixture, and other parameters on the performance of the slurry. By examining the influence of the ratio of flyash and Fe3O4 powder on the fundamental characteristics of the slurry, such as its fluidity, setting time, and compressive strength, it has been shown that the ideal mixing ratio falls between the range of 25 and 55%. This discovery is essential for directing the grouting therapy of karst pipeline water seepage.

Grouting plugging test

Test system

The karst pipeline's visual grouting plugging simulation test system mentioned in this paper was autonomously developed by China Three Gorges University. The test system is comprised of six components: a steady pressure water supply system, a water pipeline system, a flow control system, a multi-information monitoring system, and a magnetic field system, as seen in Fig. 5. The grouting system, depicted in Fig. 6, was utilized to conduct a series of tests. These studies aimed to determine the impact of dynamic water flow rate, flyash blending ratio, Fe3O4 powder blending ratio, and plugging length on the effectiveness of plugging. The fundamental principle of pipeline grouting plugging and the ideal flow rate for plugging are determined, offering valuable guidance and reference for on-site grouting.

Figure 5
figure 5

Self-developed grouting plugging simulation experment system.

Figure 6
figure 6

Schematic diagram of the structure of the grouting system.

During the test, the flow velocity of the karst pipeline gushing water is controlled by the combined action of a water pump and a butterfly valve, taking into account the characteristics of high pressure, huge flow, and high speed. The information monitoring system converts the data into electrical signals using an electromagnetic flowmeter and a pressure transmitter. These signals are then processed by a paperless recorder, as depicted in Fig. 7. The real-time monitoring of the fluid dynamics in the pipeline is conducted. The primary parameters being monitored are water pressure and water flow rate. These measurements are recorded in a paperless recorder with a recording interval of 1 s. Table 3 displays the component parameters of the information monitoring equipment.

Figure 7
figure 7

Multi-information monitoring instrument.

Table 3 Monitoring components parameters.

Test scheme

The magnetic slurry filling material investigated in this study demonstrates non-Newtonian fluid characteristics and exhibits reverse thixotropy, wherein its viscosity increases and fluidity decreases with increasing magnetic field strength. An experimental study was carried out to examine the process of grouting and plugging using a magnetic rod with a magnetic flux of 14,000 GS and a diameter of 30 mm. The rod was inserted at the outlet end of a flowing water pipeline system, following the concept of this idea.

The study focused on the visual grouting plugging simulation test device and used the orthogonal experimental design method to investigate the impact of dynamic water flow rate, Fe3O4 powder blending ratio, flyash blending ratio, and plugging length. The evaluation indexes for the plugging effect of the magnetic slurry pipeline were selected as the slurry retention rate, flow rate change rate, and water plugging pressure in the pipeline. Table 4 displays the factor level table, whereas Table 5 presents the theoretical design of the orthogonal experiment.

Table 4 Factor level table.
Table 5 Orthogonal experiment scheme design.

The assessment of the effectiveness of grouting plugging in pipelines under dynamic water circumstances reveals that a higher slurry retention rate and flow rate change rate in the pipe correspond to a superior grouting plugging effect. As the water pressure in the pipeline increases, the dynamic water flow rate decreases, resulting in a more pronounced grouting clogging effect.

Results and analysis

Analysis of slurry retention rate

The slurry’s retention rate is indicative of the material’s anti-erosion capabilities to some degree. Utilizing the aforementioned experimental data, the intuitive analysis approach is employed to examine the slurry retention rate test index. This analysis allows for the identification of the primary and secondary relationships between each component that influences the test index. Furthermore, it enables the determination of the most optimal test scheme.

By weighing the quality of the slurry in the slurry recovery device at the outlet of the pipeline, the loss of the dynamic underwater slurry W1 is obtained, and the total amount of slurry injection in the pipeline is W2, and the slurry retention rate is calculated as :

$$\eta = \frac{{W_{2} - W_{1} }}{{W_{2} }}$$
(3)

The steps of intuitive analysis are as follows:

  1. (1)

    The results of the same level of each influencing factor are added as K1, K2, K3.

  2. (2)

    The average value of the above calculation results is divided by the level number, which is denoted as k1, k2 and k3 respectively.

  3. (3)

    According to the formula \(R = \max \overline{k}_{i} - \min \overline{k}_{i}\), the range R is calculated, and the importance order of each influencing factor is analyzed by the range, and the trend chart is drawn based on this.

Table 6 displays the visual analysis table of the test findings. Based on the aforementioned experimental data, it is evident that the parameters influencing the sealing effect of grouting can be categorized into primary and secondary interactions. The hydrodynamic velocity is greater than the plugging length, which in turn is greater than the Fe3O4 power ratio, and finally the flyash mixture ratio. Every element examined in Fig. 8 exhibits a substantial link with the slurry retention rate.

  1. (1)

    There is an inverse relationship between the slurry retention rate and the flow velocity. As the water flow rate becomes more dynamic, the hydrodynamic force acting on the slurry in the pipe after grouting will progressively increase. This force surpasses the magnetic field force of the slurry, leading to a stronger erosion effect. Consequently, the slurry retention rate in the pipe decreases.

  2. (2)

    The rate at which the slurry is retained increases as the amounts of Fe3O4 and flyash increase. A higher concentration of Fe3O4 and flyash leads to a greater number of magnetic powder particles being completely surrounded by the base fluid. As a result, the slurry has a higher specific gravity and dynamic viscosity, which leads to an enhanced contact force between magnetic particles and an elevation in the internal friction angle. As a result, the magnetic rod attracts and holds more of the slurry, leading to an increase in the slurry retention rate.

  3. (3)

    There is a positive correlation between the slurry retention rate and the plugging length. As the length of the plugs rises, the amount of magnetic slurry adsorbed by the magnetic rod also increases, resulting in a progressive increase in the slurry retention rate in the tube.

Table 6 Intuitive analysis table of slurry retention rate.
Figure 8
figure 8

Influre of various factors on slurry retention rate.

Pressure field and velocity field analysis

The pressure field and velocity field variations in the pipeline are crucial factors for evaluating the effectiveness of grouting plugs. This paper conducts a dynamic water grouting experiment on pipelines, considering various factors such as dynamic water velocity, Fe3O4 powder mixing ratio, flyash mixing ratio, and plugging length. The study focuses on analyzing the changes in the pressure field and velocity field within the pipeline during the grouting process.

The experimental index is determined by calculating the change rate of flow velocity, which is influenced by the initial flow velocity of moving water in each test. The calculation formula is represented by formula (4). The higher the rate of change in dynamic water velocity within the pipe, the more effective the grouting sealing effect. The range analysis approach is employed to ascertain the impact of the aforementioned elements on the two test parameters: flow rate change rate and water plugging pressure, based on the experimental data. The findings are presented in Table 7 and Table 8.

$$v{}_{1} = \frac{{v_{0} - v}}{{v_{0} }} \times 100\%$$
(4)

where v1 is the change ratio of the flow velocity; and v0 is the initial flow velocity of the dynamic water; and v is the dynamic water velocity after grouting.

Table 7 Intuitive analysis table of water plugging pressure.
Table 8 Intuitive analysis table of velocity varition rate.

Tables 7 and 8 demonstrate that the flow rate and water plugging pressure in a 50 mm pipe diameter are most influenced by the dynamic water flow rate, followed by Fe3O4, plugging length, and lastly, the water cement ratio. Figures 9 and 10 demonstrate how several factors affect the rate of velocity change and pressure field.

Figure 9
figure 9

Influre of various factors on water plugging pressure.

Figure 10
figure 10

Influre of various factors on water velocity varition rate.

The following is the trend of elements that influence the rate of flow velocity and water plugging pressure:

  1. (1)

    The rate at which the flow velocity changes and the pressure at which water becomes blocked are inversely related to the dynamic water flow velocity. As the water flow rate becomes higher, the hydrodynamic force acting on the slurry in the pipe after grouting will progressively surpass the magnetic field force of the slurry. The slurry's retention within the pipe will gradually diminish, resulting in a reduction in the water resistance of the slurry. Consequently, the rate of change in both the flow rate and pressure field within the pipe will decrease.

  2. (2)

    There is a direct correlation between the rate at which the flow velocity changes and the water plugging pressure, and the amount of Fe3O4. As the Fe3O4 concentration increases, the number of magnetic powder particles fully enveloped by the base fluid also increases. Simultaneously, the slurry experiences an increase in instantaneous viscosity due to magnetization under the influence of a magnetic field. This leads to an increase in the contact force between the magnetic particles and an increase in the internal friction angle. The adhesion of the magnetic rod to the slurry gradually strengthens, hence improving the slurry's water resistance. This not only decreases the flow rate in the tube, but also amplifies the pressure field within the tube.

  3. (3)

    There is a positive correlation between the rate of change of flow velocity and water plugging pressure and the amount of flyash. The quantity of flyash will impact the specific gravity, dynamic viscosity, and rheological characteristics of the slurry. As the amount of flyash increases, the specific gravity and dynamic viscosity of the slurry also increase. This leads to reduced fluidity and increased friction between the slurry and the pipe wall. Consequently, the flow velocity of the water falls and the pressure field in the pipe intensifies.

  4. (4)

    The rate at which velocity changes and the pressure required to plug the water are directly related to the length of the plug. The increase in sealing length leads to a greater amount of magnetic slurry being adsorbed by the magnetic rod. This, in turn, increases the slurry's hindrance to water flow, resulting in a slower speed of dynamic water scouring the slurry. As a result, the rate of slurry loss decreases, leading to a reduction in the dynamic water flow rate and an enhancement of the pressure field in the pipe.

Analysis of optimal plugging flow rate test

The orthogonal test indicates that the dynamic water flow rate has the most significant impact on pipeline plugging. Furthermore, the higher the flow rate, the more detrimental the grouting plugging effect becomes. Once the dynamic water flow rate beyond a specific threshold, the magnetic slurry loses its ability to adhere to the magnetic rod. The current water flow rate that is constantly changing is referred to as the ideal plugging flow rate. If the dynamic water flow rate in the pipeline exceeds the optimal plugging flow rate, the effectiveness of the grouting operation will be compromised. The slurry retention rate is utilized as the experimental index to measure the effectiveness of varied initial flow velocities of dynamic water in each test. The minimal slurry retention rate in the pipe, which indicates the point at which the magnetic slurry is washed away, is used as the benchmark for achieving the optimal flow rate with the least amount of clogging. In order to streamline the testing process and account for primary and secondary factors that affect the dynamic water flow rate, such as blocking length and flyash amount, a series of exploratory tests were conducted. The initial value of the dynamic water flow rate was set at 0.25 m/s and increased in increments of 0.1 m/s up to 0.75 m/s. A total of 30 test groups were conducted.

Figure 11 illustrates that there is a significant variation in the slurry retention rate under varied Fe3O4 when the flow rate of dynamic water is low. The slurry retention rate decreases as the flow rate of dynamic water increases, hence reducing the impact of Fe3O4. At a low flow rate, the erosive impact of water flow on the slurry is minimal, and the primary determinant of the slurry retention rate is Fe3O4. As the hydrodynamic velocity increases, the pulsation between water molecules intensifies, and the main factor responsible for this change shifts from Fe3O4 to the hydrodynamic velocity. The test results indicate that the slurry retention rate is at its lowest when the magnetic slurry contains 25%, 40%, and 55% Fe3O4 and is flowing at speeds of 0.6 m/s, 0.64 m/s, and 0.67 m/s accordingly. This corresponds to the best plugging flow rate. The ideal flow rate for plugging magnetic slurry varies between 0.6 and 0.67 m/s, depending on the specific working conditions.

Figure 11
figure 11

Retention rate of slurry with different Fe3O4 dosage.

Optimal plugging flow rate model of magnetic slurry

This research assumes the following in order to investigate the optimal plugging flow model of magnetic slurry magnetization:

  1. (1)

    The flow in the water channel is turbulent flow, Reynolds number \(R_{e} \ge 4000\);

  2. (2)

    The slurry in the state of water inrush is assumed to be discrete magnetic particle morphology;

  3. (3)

    The magnetic particles have a spherical shape, and the average particle size is considered;

  4. (4)

    The alteration in viscosity of magnetic slurry is not taken into account;

  5. (5)

    Magnetic force is a distinctive penetrating force exhibited by magnetic slurry fluid. The magnetic field exclusively affects Fe3O4 magnetic particles and does not have any impact on the oily epoxy glue slurry;

  6. (6)

    Magnetic particles and slurry colloids are regarded as a unified entity.

During slurry transit, the magnetic particles within the slurry experience different forces within the water channel, causing them to move and progressively gather and adhere to the magnetic rod. The particle start-up flow rate refers to the minimal flow rate at which magnetic particles become adsorbed around the magnetic rod. When the hydrodynamic velocity surpasses the initial velocity in the given conditions, the magnetic particles are unable to be efficiently adsorbed by the magnetic rod. Currently, the grouting is not effective in sealing the pipeline. Hence, the initial velocity of the magnetic particles is employed as the ideal plugging velocity.

Force analysis of magnetic particles in flowing water

The force of the magnetic particles in the moving water is very complex. The analysis mainly has the following types:

  1. (1)

    Gravity G.

    $${\text{For}}\,{\text{spherical}}\,{\text{particles}}\,W = \frac{{4\pi }}{3}r^{3} \rho _{p} g$$
    (5)

    In the formula: r is the radius of spherical particles, unit m, and the equivalent particle size should be considered for non-spherical particles; \(\rho_{p}\) is the density of magnetic particles, unit kg/m3.

  2. (2)

    Water drag force FD45

    $$F_{D} = \frac{1}{{2}}C_{D} \pi r_{{}}^{2} \rho u^{2}$$
    (6)
  3. (3)

    Lifting force on water flow FL45

    $$F_{L} = \frac{1}{{2}}C_{L} \pi r^{2} \rho u^{2}$$
    (7)
  4. (4)

    Magnetic force Fe and inter-particle magnetic force Fm.

    In order to quantitatively describe the mechanical model of magnetic slurry plugging, the magnetic field of a section of the magnetic rod is set as a cylindrical permanent magnet magnetic field, and the magnetic fields between the other sections are not superimposed on each other.

Suppose that the upper pole surface of the lower cylindrical permanent magnet is N pole, and its magnetic charge surface density is Br, the lower pole surface is S pole, and its magnetic charge surface density is Br, as shown in Fig. 12. According to the equivalent magnetic charge method, the magnetic induction intensity generated by the magnetic charge of the upper and lower polar surfaces at the P point of the axis is:

$$B_{PZ1} = \int_{0}^{R} {\frac{{B_{r} }}{4\pi }} \frac{2\pi r}{{(z^{2} + r^{2} )^{{3{/2}}} }}dr = \frac{{B_{r} }}{2}\left( {1 - \frac{z}{{\sqrt {z^{2} + R^{2} } }}} \right)$$
(8)
$$B_{pz2} = - \frac{{B_{r} }}{2}\left( {1 - \frac{{z + L_{{\text{m}}} }}{{\sqrt {(z + L_{m} )^{2} } + R^{2} }}} \right)$$
(9)
Figure 12
figure 12

Magnetic field model.

Then assume that the magnetic induction intensity BPz of point P is:

$$B_{pz} = \frac{{B_{r} }}{2}(\frac{{z + L_{m} }}{{\sqrt {(z + L_{m} ) + R^{2} } }} - \frac{z}{{\sqrt {z^{2} + R^{2} } }})$$
(10)

Then the magnetic field force:

$$F_{e} = m\frac{\chi }{{M_{0} }}B = \rho_{p} V\frac{\chi }{{M_{0} }}B_{pz} = \frac{{4\pi r^{3} \rho_{p} \chi B_{pz} }}{{3M_{0} }}$$
(11)

Interparticle magnetic force44:

$$F_{m} = \sum {\left[ {\frac{{3\mu_{0} }}{{4\pi r_{ij}^{5} }}(\vec{m}_{i} \vec{m}_{j} - 5m_{ir} m_{jr} )\vec{r}_{ij} + \frac{{3\mu_{0} }}{{4\pi r_{ij}^{4} }}(m_{ir} \vec{m}_{j} + m_{jr} \vec{m}_{i} )} \right]}$$
(12)

In the formula : rij is the distance between the center of magnetic particles i and j ;\(\vec{m}_{i}\) and \(\vec{m}_{j}\) are the magnetic moment vectors of magnetic particles i and j ; mir and mjr are the components of \(\vec{m}_{i}\) and \(\vec{m}_{j}\) along the \(\vec{r}_{ij}\) vector direction of the magnetic particle position ;\(\vec{r}_{ij}\) is the position vector from magnetic particle i to magnetic particle j ; \(\mu {}_{{0}}\) is the vacuum permeability ; M0 is the magnetization of magnetic particles ; \(\chi\) is magnetic susceptibility.

Single magnetic particle start-up conditions

The force of the magnetic particles in the water channel is shown in Fig. 13. Assuming that the O point is the rotation center and ∑M = 0, the critical equation of the magnetic particle starting is established:

$${\text{F}}_{{\text{D}}} {\text{K}}_{{3}} {\text{d}} + {\text{F}}_{{\text{L}}} {\text{K}}_{{2}} {\text{d}} = \left( {{\text{W}} + {\text{F}}_{{\text{e}}} } \right){\text{K}}_{{1}} {\text{d}} + {\text{F}}_{{\text{m}}} {\text{K}}_{{4}} {\text{d}}$$
(13)
Figure 13
figure 13

Magnetic particle force analysis diagram.

In the formula: K1d, K2d, K3d and K4d are the corresponding force arms of W + Fe, FL, FD and Fm respectively. In order to simplify the calculation, K1 = K2 = K3 = K4 = 1.

Bring FD, FL, W, Fe, Fm into Eq. (13), and the critical velocity u0 is:

$$u_{0} = \left[ {\frac{1}{{\rho (C_{L} + C_{D} )}}} \right]^{\frac{1}{2}} \left[ {\frac{{8\pi r\rho_{p} (g + \frac{{\chi B_{pz} }}{{M_{0} }})}}{{3\rho (C_{L} + C_{D} )}} + \frac{{F_{m} }}{{\pi r^{2} }}} \right]^{\frac{1}{2}}$$
(14)

In the formula : CD and CL are drag coefficient and lift coefficient respectively, taking CD = 0.44, CL = 0.12; the magnetic particle radius r = 5μm, the distance between particles r = 1.5μm, the vacuum permeability μ0 = 4π × 10−7 H/m, and the mass susceptibility χ = 59.05 m3/kg.

Probability of starting velocity

Once the water flow velocity reaches the initial velocity of the magnetic particles, the particles within the pipeline will begin to move. Nevertheless, because of the unpredictable arrangement and form of the magnetic particles, there is no specific flow velocity requirement that may cause all the magnetic particles to travel simultaneously. Thus, the probability of the motion of the magnetic particles is regarded as the requirement for the initiation of the magnetic particles.

The probability of magnetic particle starting is:

$$\varepsilon = P(u_{1}^{2} \ge u_{0}^{2} )$$
(15)

The instantaneous velocity u1 of the magnetic particle starting approximately obeys the normal distribution. Since the probability of the magnetic particle moving in the countercurrent direction is very small, the second term of \(\Phi ( \cdot )\) can be ignored46. Then Eq. (15) can be expressed as :

$$\varepsilon = 1 - \Phi \left( {\frac{{u_{0} - \overline{u}_{1} }}{{\sigma_{1} }}} \right)$$
(16)

In the formula: \(\Phi ( \cdot )\) is a normal distribution function; \(\overline{u}_{1}\) is the uniform velocity of water flow; \(\sigma_{{1}}\) is the mean square error of water flow.

In this paper, the influence of the size and position of the magnetic particles on the starting velocity is not considered, and the starting probability corresponding to the general motion is used as the starting probability of the cement particles47:

$$\overline{u}_{1} = \frac{{u_{0} }}{1.37} = 0.730\,u_{0}$$
(17)

Substituting the formula (17) into (14), the starting flow velocity after considering the probability of flow velocity is :

$$\overline{u}_{1} = 0.730\left[ {\frac{1}{{\rho (C_{L} + C_{D} )}}} \right]^{\frac{1}{2}} \left[ {\frac{{8\pi r\rho_{p} (g + \frac{{\chi B_{pz} }}{{M_{0} }})}}{{3\rho (C_{L} + C_{D} )}} + \frac{{F_{m} }}{{\pi r^{2} }}} \right]^{\frac{1}{2}}$$
(18)

Criteria for determining optimal sealing flow rate

The motion of magnetic particles in the water inflow pipeline is not individual, but typically occurs in a collective manner, as depicted in Fig. 14. By employing principles from fluid mechanics, magnetic fluid mechanics, and particle sedimentation theory, the analysis focuses on the force exerted by magnetic particle units. Through adjusting the initial velocity of magnetic particles, the optimal flow velocity for magnetic particle agglomeration is determined.

Figure 14
figure 14

The starting diagram of magnetic particle cluster.

The optimal plugging flow rate formula of magnetic slurry is:

$$\overline{u}_{2} = 0.730\left[ {\frac{1}{{\rho (C_{L} + C_{D} )}}} \right]^{\frac{1}{2}} \left[ {\frac{{8\pi r\rho_{p} (g + \frac{{\chi B_{pz} }}{{M_{0} }})}}{{3\rho (C_{L} + C_{D} )}} + \frac{{F_{m} }}{{\pi r^{2} }}} \right]^{\frac{1}{2}}$$
(19)

To summarize, the magnetic particle group's flow rate is utilized as the ideal flow rate for plugging the slurry. Therefore, the criterion for determining the optimal plugging flow rate is as follows: when the time-averaged flow rate is less than the optimal plugging flow rate, the magnetic particles can effectively adsorb and agglomerate around the magnetic rod under dynamic water conditions, effectively blocking the water inflow channel.

Verification of theoretical model and experimental results

Based on the aforementioned studies, it can be inferred that the ideal velocities for plugging with various ratios of magnetic slurry are 0.6 m/s, 0.64 m/s, and 0.67 m/s, respectively. The optimal plugging velocity model incorporates the different operating conditions and material factors of the test. Theoretical values for the speeds are 0.55 m/s, 0.58 m/s, and 0.6 m/s, respectively. The relative inaccuracy is negligible, and the theoretical calculation values are lower than the indoor test results. The primary factors contributing to the discrepancy between the theoretical and experimental values are as follows: The theoretical model is predicated on specific assumptions that do not align entirely with the real-world circumstances. Human mistake resulting from deviations in test procedures, such as inadequate reading or lack of expertise in using instruments. The similarity between the experimental value and the theoretical value, along with the tiny margin of error, confirms the validity of the optimal sealing flow rate model.

Conclusion

This research investigates the diffusion and plugging mechanism of grouting slurry in the presence of water influx through a combination of laboratory testing and theoretical analysis. Initially, a novel form of OEMS was created. The study focused on investigating the diffusion and plugging process of magnetic slurry in a self-developed visual water inrush grouting simulation test system. Subsequently, a theoretical derivation was used to create the migration model of magnetic slurry in a magnetic field when water inrush occurs. The accuracy of the theoretical model is confirmed by comparing the theoretical outcomes with the experimental outcomes. The findings of this investigation are condensed as follows:

  1. (1)

    By analyzing the fundamental properties of OEMS, including fluidity, setting time, and strength, it has been established that the optimal ratio of grouting material in epoxy resin A liquid and B liquid is 2:1. Additionally, the optimal blending ratio of flyash and Fe3O4 powder for achieving the best grouting sealing performance ranges from 25 to 55%.

  2. (2)

    The orthogonal test was conducted to evaluate the effectiveness of the magnetic self-polymerizing slurry sealing method under dynamic water flow conditions. The evaluation indexes for this study were the water plugging pressure, flow rate change rate, and slurry retention rate. The primary and secondary relationships of the influencing factors for each evaluation index were determined using range analysis.

  3. (3)

    The orthogonal experiment was used to determine the primary and secondary association between each element and the assessment index. The hydrodynamic velocity is more than the plugging length, which in turn is greater than the Fe3O4 power ratio, and finally, the flyash mixture ratio. There is a positive correlation between the length of water plugging and the amount of Fe3O4 powder, and the slurry retention rate and water plugging pressure rise as these factors increase.

  4. (4)

    A migration model is developed to study the movement of magnetic slurry in a magnetic field when water influx occurs. The critical flow rate at which the magnetic particles initiate movement is considered as the criterion for determining the appropriate plugging flow rate. The model offers theoretical guidance for the magnetic slurry grouting plugging process, taking into account several elements that influence the appropriate flow rate for plugging under different situations.

  5. (5)

    The findings from the indoor test on the best flow rate for plugging indicate that the ideal flow rate for magnetic slurry varies between 0.6 and 0.67 m/s, depending on the specific operating conditions. The computed value of the theoretical model aligns closely with the experimental value, and the relative error is minimal, confirming the validity of the theoretical model.