A simulation method for electrohydrodynamic behavior of suspended droplets based on SPH and FVM coupling
Through the coupling of SPH and FVM, combined with Shepard interpolation and shifting algorithm, the problem of grid distortion and boundary condition application of suspended droplets under the action of electric field is solved, and the accurate motion, deformation and breaking behavior simulation of suspended droplets is realized, providing The technology supports the application of microfluidic technology.
Patent Information
- Application Number
- CN202210673207.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-15
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-06-15
AI Technical Summary
Existing grid-based numerical methods are prone to grid distortion when simulating the deformation and rupture behavior of suspended droplets under the action of an electric field, leading to calculation errors and suspensions. Smooth particle hydrodynamics cannot accurately simulate electric fields due to difficulties in applying boundary conditions. force, and thus cannot accurately simulate the movement, deformation and breakup behavior of droplets.
Smoothed particle hydrodynamics (SPH) is coupled with finite volume method (FVM), meshless method and grid method are combined, and Shepard interpolation and modified shifting algorithm are used to realize the movement, deformation and deformation of suspended droplets under the action of electric field. Accurate simulation of crushing behavior.
It achieves a stable and accurate movement pattern of suspended droplets under the action of electric field, avoids the problems of grid distortion and difficulty in applying boundary conditions, and provides technical support for the application and parameter setting of microfluidic technology.
Smart Images

Figure CN115034156B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of computational electrohydrodynamics, and in particular to a simulation method for electrohydrodynamic behavior of suspended droplets based on SPH and FVM coupling. Background Art
[0002] In recent years, microfluidic technology has received extensive attention and application in the fields of chemistry, biomedicine, energy and environment. In the application of microfluidic technology, precise control of droplet dynamic behavior is extremely important. Among the many ways to manipulate droplets, electric field force manipulation is an effective non-contact method, which has been successfully applied to inkjet printing, electrospraying, demulsification and other industries. Under the action of an external electric field, droplets suspended in a viscous fluid can exhibit complex behaviors such as deformation, movement, rotation and rupture. These complex behaviors mainly depend on the electric field strength and fluid properties, including viscosity, interfacial tension, conductivity and dielectric constant. Therefore, conducting research on droplet deformation and rupture behavior under the action of an electric field is not only an inherent requirement for the development of microfluidic technology, but also can provide theoretical guidance and technical support for industrial applications.
[0003] At present, grid-based numerical methods such as the finite element method and the finite volume method can numerically simulate the deformation and breakup process of suspended droplets under the action of electric fields. However, due to the large deformation and rupture of the two-phase flow interface, the grid-based methods will produce grid distortion, resulting in calculation errors or even calculation termination. The smoothed particle hydrodynamics method (SPH) is a pure Lagrangian gridless calculation method, which was originally used mainly for astrophysics problems. After continuous development in recent years, it has gradually been applied to the field of fluid mechanics. Since it discretizes the continuous fluid into a finite number of discrete points that are not dependent on grid connections, it will not produce grid distortion, so it is particularly suitable for simulating large deformation processes. However, smoothed particle hydrodynamics has the defects of high computational cost and difficulty in applying boundary conditions. The difficulty in applying boundary conditions will result in the inability to accurately calculate the electric field force on the suspended droplets using smoothed particle hydrodynamics, and thus the inability to accurately simulate the movement, deformation and breakup of the droplets under the action of the electric field. Summary of the invention
[0004] In order to solve the above problems, the present invention proposes a simulation method for the electrohydrodynamic behavior of suspended droplets based on the coupling of SPH and FVM, which couples smooth particle hydrodynamics (SPH) and finite volume method (FVM), thereby coupling the gridless method and the grid method, to achieve accurate and highly robust simulation of the movement, deformation and breakage behavior of suspended droplets under the action of electric field, and to obtain the stable and accurate movement laws of suspended droplets under the action of electric field.
[0005] The technical solution adopted by the present invention is as follows: a simulation method of electrohydrodynamic behavior of suspended droplets based on SPH and FVM coupling, comprising the following steps:
[0006] Step 1: Initialize the calculation conditions; discretize the two-phase flow geometric model of the calculation area into a finite number of particles, define the particles corresponding to the continuous phase fluid as type I particles, and define the particles corresponding to the discrete term fluid as type II particles, and set the initial state data of the two types of fluid particles, the initial state data of the fluid particles include density, velocity, dynamic viscosity, dielectric constant, conductivity and interfacial tension coefficient of the interface between the two types of fluid particles, set the time step number and time step length;
[0007] Step 2: Generate FV grid; Generate structured FV grid according to the particle distribution position obtained by discretization in step 1;
[0008] Step 3: Setting boundary conditions; the boundary conditions include flow field boundary conditions and electric field boundary conditions;
[0009] Step 4: passing the particle electric field parameters to the grid generated in step 2; passing the particle dielectric constant and conductivity set in step 1 to the grid generated in step 2 through the Shepard interpolation method; the grid is characterized by grid nodes;
[0010] Step 5: Calculate the electric field force of the interface mesh nodes based on FVM; Calculate the electric field force of the interface mesh nodes according to the dielectric constant and conductivity of the mesh nodes obtained in step 4;
[0011] Step 6: Transfer the electric field force of the interface mesh nodes to the particles; the electric field force of the interface mesh nodes obtained in step 5 is transferred to the particles through the particle splitting Shepard interpolation method;
[0012] Step 7: Calculate particle density;
[0013] Step 8: Calculate pressure gradient force, viscous force, and interfacial tension;
[0014] Step nine: according to the particle force conditions obtained in step six and step eight, calculate the velocity change rate and update the particle information, wherein the particle information includes particle position information and particle velocity information;
[0015] Step 10: Correct the particle position. According to the particle information obtained in step 9, use the modified shifting algorithm to directly correct its position to avoid the non-physical aggregation problem of fluid particles.
[0016] Step 11: Determine whether the time step reaches the preset total calculation time step. If not, repeat steps 4 to 10. If the total calculation time step is reached, the calculation is terminated.
[0017] In the step 2, the internal node positions of the structured grid are the same as the particle positions obtained by discretization in the step 1, and the positions are fixed during the calculation process.
[0018] In the step three, the flow field boundary condition adopts the mirror virtual particle method, and the electric field boundary condition applies the Dirichlet condition along the electric field direction and the Neumann condition in the direction perpendicular to the electric field.
[0019] The step five comprises the following steps:
[0020] (1) Determine the interface mesh position. Since the dielectric constant and conductivity values of the continuous phase and the discrete phase are different, the dielectric constant and conductivity values of the mesh nodes obtained by Shepard interpolation will change smoothly from one phase to another. The mesh with dielectric constant and conductivity values between the discrete term and the continuous phase is the interface mesh.
[0021] (2) Calculate the potential distribution. The specific form of the charge conservation equation is:
[0022]
[0023] Where ζ is the grid node conductivity and Φ is the grid node potential.
[0024] (3) Calculate the interface grid electric field force. The calculation formula for the interface grid electric field force is:
[0025]
[0026] Where E is the electric field strength, and the calculation formula is: q v is the charge density of the interface mesh node, and the calculation formula is: F e represents the electric field force at the interface mesh node, and ε is the dielectric constant of the mesh node.
[0027] In step 6, the particle splitting Shepard interpolation method includes the following steps:
[0028] (1) Particle splitting: splitting a particle into 10*10 evenly distributed sub-particles;
[0029] (2) Determine the electric field force of the sub-particle, and assign the electric field force of the grid node to the sub-particle according to the grid position of the sub-particle;
[0030] (3) The electric field force of the sub-particle is transferred to the particle through Shepard interpolation.
[0031] In step 7, the particle density is calculated using the volume approximation method, and the formula is:
[0032]
[0033] Among them, ρ iis the density of fluid particle i, m i is the mass of fluid particle i, W ij is the kernel function.
[0034] In step 10, the modified shifting algorithm formula is:
[0035]
[0036] Among them, δx i represents the displacement of particle i correction, A is a variable coefficient, which controls the displacement correction of particle i, and its value range is 0.01~2. The specific value can be determined according to the actual working conditions, h is the smoothing length, u max is the maximum velocity of the flow field, Δt is the time step, m j is the mass of particle j, ρ j is the density of particle j, W ij is the kernel function, Δx is the initial particle distance, β ij The value selection rule is: when particle i and particle j belong to the same phase, β ij =1.0, otherwise β ij =1.01.
[0037] The advantages of the technical solution of the present invention are: through the coupling of smooth particle fluid dynamics and the finite volume method, stable and accurate motion laws of droplet movement, deformation and breakup under the action of an electric field can be obtained through simulation, thereby providing technical support for the application of related equipment and parameter setting of microfluidic technology in industry; the method of the present invention has a wide range of applications and is suitable for different types of electric fields, and can accurately predict the deformation and breakup behavior of droplets under the action of an electric field. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a flowchart of the present invention;
[0039] Figure 2 is the initial distribution position diagram of different types of particles;
[0040] Figure 3 It is a schematic diagram of the particle splitting Shepard interpolation algorithm;
[0041] Figure 4 is a graph showing the variation of droplet deformation parameters with time;
[0042] Figure 5 It is the drop shape diagram at the stable moment. DETAILED DESCRIPTION
[0043] The following is combined with Figure 1-5 , the technical solution of the present invention is described in detail through specific embodiments.
[0044] See attached Figure 1 , the calculation steps of the present invention are as follows:
[0045] Step 1: Initialize the calculation conditions. This includes the following three sub-steps (1) to (3):
[0046] (1) The spatial dimension is set to two dimensions, i.e., d = 2. The computational domain is a 0.05m*0.05m square region. The discrete phase is a circular droplet with a radius of 0.005m and is placed in the center of the square region. The rest of the region is the continuous phase. The entire computational domain is discretized into 100*100 uniformly distributed particles. The particles in the continuous phase region are type I particles, and the particles in the discrete phase region are type II particles. The distribution positions of different types of particles are shown in the attached figure. Figure 2 As shown, Figure 2 The particles inside the circle in the center represent discrete phase particles (type II particles), and the particles outside the circle in the center represent continuous phase particles (type I particles);
[0047] (2) Set the initial state data of type I particles and type II particles. The specific parameters are shown in Table 1:
[0048] Table 1 Initial state data of two types of particles
[0049]
[0050] (3) Set the number of time steps to 80,000 and the time step length to 0.0001 s.
[0051] Step 2: Generate FV grid. Generate FV grid according to the initial particle distribution. The internal node position of FV grid is the same as the initial particle position, and the position is fixed during the calculation process.
[0052] Step 3: Set boundary conditions. The flow field boundary conditions use the mirror virtual particle method to avoid the calculation error caused by the missing particles in the support domain of the boundary particles of the computational domain, and prevent the boundary particles from penetrating the boundary. The electric field boundary conditions use Dirichlet boundary conditions and Neumann boundary conditions. The Dirichlet boundary conditions are applied to the left and right boundaries of the computational domain, that is, the left boundary potential of the computational domain is set to 0.05V and the right boundary potential is set to 0V. The Neumann boundary conditions are applied to the upper and lower boundaries of the computational domain, that is, Where Φ' is the boundary potential and n is the unit external normal vector of the boundary.
[0053] Step 4: Pass the particle electric field parameters to the grid node. The particle's dielectric constant and conductivity are passed to the FV grid node through Shepard interpolation.
[0054] Step 5: FVM calculates the electric field force at the interface mesh nodes. This step can be divided into the following three sub-steps: (1)-(3):
[0055] (1) Determine the interface mesh position. Since the dielectric constant and conductivity values of the continuous phase and the discrete phase are different, the dielectric constant and conductivity values of the mesh nodes obtained by Shepard interpolation will change smoothly from one phase to another. The mesh with dielectric constant and conductivity values between the discrete phase and the continuous phase is the interface mesh.
[0056] (2) Calculate the potential distribution. The specific form of the charge conservation equation is:
[0057]
[0058] Where σ is the grid node conductivity and Φ is the grid node potential. Given the electric field boundary conditions and the conductivity of the grid nodes, the grid node potential is iterated by the biconjugate gradient method;
[0059] (3) Calculate the electric field force at the interface mesh node. The calculation formula for the electric field force at the interface mesh node is:
[0060]
[0061] Where E is the electric field strength, q v is the charge density of the interface mesh node, F e represents the electric field force of the interface mesh node, and ε is the dielectric constant of the mesh node. The calculation formula of the electric field strength E is: Given the electric potential distribution of the computational domain, the electric field distribution of the computational domain is obtained using the central difference format. The calculation formula for the charge density of the interface mesh node is:
[0062] Step 6: Transfer the electric field force of the interface grid node to the particles. The schematic diagram of the transfer process is shown in the attached figure. Figure 3 This step can be divided into 3 steps:
[0063] (1) Particle splitting: splitting a particle into 10*10 evenly distributed sub-particles;
[0064] (2) Determine the electric field force of the sub-particle, and assign the electric field force of the grid node to the sub-particle according to the grid position of the sub-particle;
[0065] (3) The electric field force of the sub-particle is transferred to the particle through Shepard interpolation.
[0066] Step 7: Calculate particle density. Particle density is calculated using the volume approximation method, and the formula is: Among them, ρ i is the density of fluid particle i, m iis the mass of fluid particle i, j is the particle number in the support domain of particle i, W ij is the kernel function.
[0067] Step 8: Calculate pressure gradient force, viscous force, and interfacial tension.
[0068] The pressure gradient force calculation formula is:
[0069]
[0070] in, is the pressure gradient force of particle i, p i 、p j are the pressures of fluid particles i and j respectively, j is the particle number in the support domain of particle i, V i 、V j are the volumes of fluid particles i and j respectively, is the kernel function gradient of particle i. The pressure can be calculated by the state equation, that is, u max is the maximum velocity of the flow field, ρ i is the density of fluid particle i at the current moment, ρ i0 is the density of fluid particle i at the initial moment.
[0071] The formula for calculating the viscosity is:
[0072]
[0073] in is the viscosity of particle i, d is the spatial dimension, η i , η j are the dynamic viscosity of particles i and j, u i 、u j are the velocities of fluid particles i and j, r i 、r j are the positions of fluid particles i and j respectively, and h is the smoothing length.
[0074] Interfacial tension calculation formula:
[0075]
[0076] Where β is the interfacial tension coefficient, κ i is the curvature of particle i, is the color gradient of particle i, and the calculation formula is: is the color scale function of particle i relative to particle i, is the color scale function of particle i relative to particle j, and the calculation formula is: where ρ i , j are the densities of particles i and j respectively.
[0077] Step 9: Calculate the velocity change rate and update the particle information. The velocity change rate calculation formula is:
[0078]
[0079] in is the velocity change rate of fluid particle i. According to the velocity change rate of fluid particle i and the position of fluid particle i at time t, the velocity and position of fluid particle i at time t+Δt can be calculated.
[0080] Step 10: Correct particle position. Use the modified shifting algorithm to directly correct the particle position information to avoid the non-physical aggregation problem of fluid particles; the modified shifting algorithm formula is:
[0081]
[0082] Among them, δx i represents the corrected displacement of particle i, A is 0.01, h is the smoothing length, u max is the maximum velocity of the flow field, Δt is the time step, j is the particle number in the support domain of particle i, m j is the mass of particle j, ρ j is the density of particle j, W ij is the kernel function, Δx is the initial particle distance, W(Δx) is the kernel function value corresponding to the initial particle distance, is the kernel function gradient of particle i, β ij The value selection rule is: when particle i and particle j belong to the same phase, β ij =1.0, otherwise β ij =1.01.
[0083] Step 11: Determine whether the time step reaches the preset total calculation time step. If not, repeat steps 4 to 10. If the total calculation time step is reached, the calculation is terminated.
[0084] Through the above steps, the entire process of the discrete phase droplet deformation to a stable state under the action of the electric field is calculated. The curve of the droplet deformation parameters changing with time is shown in the attached figure. Figure 4 As shown, the calculation method of droplet deformation parameters is: Where L and B are the lengths of the major and minor axes of the droplet, respectively. Figure 5 This is the droplet shape diagram at the stable moment, where the particles in the central circle represent the discrete phase droplets, and the particles outside the central circle represent the continuous phase fluid.
[0085] It can be seen from the contents of the specific implementation methods of the present application that the method of the present application can be stored or loaded onto a computer or other programmable data processing device through computer program instructions, that is, these computer programs can be provided to the computer or other programmable data processing device to generate a machine, and the machine executable instructions implement the functions specified in one or more processes of the flowchart.
[0086] The method of the present application can be stored or loaded onto a computer or other programmable data processing device through computer program instructions, so that the computer or other programmable data processing device executes a series of operation steps by reading the instructions to produce computer-implemented processing, thereby executing the instructions in the computer or other programmable data processing device to provide steps for implementing the functions specified in one or more processes of the flowchart.
[0087] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
Claims
1. A method for simulating the electrohydrodynamic behavior of a suspended droplet based on SPH and FVM coupling, comprising the following steps: Step 1: Initialize the calculation conditions; discretize the two-phase flow geometric model of the calculation area into a finite number of uniformly distributed particles, define the particles corresponding to the continuous phase fluid as type I particles, and define the particles corresponding to the discrete phase fluid as type II particles, and set the initial state data of the two types of fluid particles, the initial state data of the fluid particles include density, velocity, dynamic viscosity, dielectric constant, conductivity and interfacial tension coefficient of the interface between the two types of fluid particles, set the time step number and time step length; Step 2: Generate FV grid; Generate structured FV grid according to the particle distribution position obtained by discretization in step 1. The node position inside the FV grid is the same as the initial particle position, and the position is fixed during the calculation process; Step 3: Set boundary conditions. The flow field boundary conditions use the mirror virtual particle method, and the electric field boundary conditions use the Dirichlet boundary conditions and Neumann boundary conditions. The Dirichlet boundary conditions are applied to the left and right boundaries of the computational domain, and the Neumann boundary conditions are applied to the upper and lower boundaries of the computational domain. Step 4: Pass the particle electric field parameters to the grid nodes; Step 5: Calculate the electric field force of the interface mesh nodes based on FVM; Step 6: Transfer the electric field force of the interface mesh node to the particles; Step 7: Calculate particle density; Step 8: Calculate the pressure gradient force, viscosity force, and interfacial tension of the particles; Step 9: Calculate the velocity change rate and update particle information; Step 10: Correct particle position; Step 11: Determine whether the time step reaches the preset total calculation time step. If not, repeat steps 4 to 10. If the total calculation time step is reached, the calculation is terminated.
2. The method according to claim 1, Its characteristics are also that In the above step 1, the calculation area is a square area, the discrete phase is a circular droplet with a radius of one tenth of the side length of the square area, and the discrete phase is placed at the center of the square area, and the area outside the discrete phase is a continuous phase.
3. The method according to claim 1, Its characteristics are also that The above step 5 includes the following steps: (1) Determine the interface grid position. The grid whose dielectric constant and conductivity values are between the discrete phase and the continuous phase is the interface grid; (2) Calculate the electric potential distribution and find the grid node potential based on the charge conservation equation: Where, σ is the grid node conductivity, Φ is the grid node potential; (3) Calculate the electric field force at the interface mesh node. The calculation formula for the electric field force at the interface mesh node is: Where E is the electric field strength, q v is the charge density of the interface mesh node, F e represents the electric field force at the interface mesh node, and ε is the dielectric constant of the mesh node; the calculation formula for the electric field intensity E is: The calculation formula of the interface mesh node volume charge density is:
4. The method according to claim 1, Its characteristics are also that The above step six includes the following steps: (1) Particle splitting: splitting a particle into 10*10 evenly distributed sub-particles; (2) Determine the electric field force of the sub-particle, and assign the electric field force of the grid node to the sub-particle according to the grid position of the sub-particle; (3) The electric field force of the sub-particle is transferred to the particle through Shepard interpolation.
5. The method according to claim 1, Its characteristics are also that In step 7 above, based on the formula Calculate the particle density, where ρ i is the density of fluid particle i, m i is the mass of fluid particle i, j is the particle number in the support domain of particle i, W ij is the kernel function.
6. The method according to claim 1, Its characteristics are also that In the above step eight, the pressure gradient force calculation formula is: in, is the pressure gradient force of particle i, p i 、p i are the pressures of fluid particles i and j respectively, j is the particle number in the support domain of particle i, V i 、V j are the volumes of fluid particles i and j respectively, is the kernel function gradient of particle i; the pressure can be calculated by the state equation, that is u max is the maximum velocity of the flow field, ρ i is the density of fluid particle i at the current moment, ρ i0 is the density of fluid particle i at the initial moment; The formula for calculating the viscosity is: in is the viscosity of particle i, d is the spatial dimension, η i , η j are the dynamic viscosity of particles i and j, u i 、u j are the velocities of fluid particles i and j, r i 、r j are the positions of fluid particles i and j respectively, and h is the smooth length; Interfacial tension calculation formula: Where β is the interfacial tension coefficient, κ i is the curvature of particle i, is the color gradient of particle i, and the calculation formula is: is the color scale function of particle i relative to particle i, is the color scale function of particle i relative to particle j, and the calculation formula is: where ρ i , j are the densities of particles i and j respectively.
7. The method according to claim 6, Its characteristics are also that In the above step nine, based on the formula Calculate the rate of change of particle velocity, where is the velocity change rate of fluid particle i.
8. The method according to claim 1, Its characteristics are also that In the above step 10, the particle position information is corrected based on the modified shifting algorithm formula, wherein the modified shifting algorithm formula is: Among them, δx i represents the corrected displacement of particle i, A is 0.01, h is the smoothing length, u max is the maximum velocity of the flow field, △t is the time step, j is the particle number in the support domain of particle i, m j is the mass of particle j, ρ j is the density of particle j, W ij is the kernel function, △x is the initial particle spacing, W(△x) is the kernel function value corresponding to the initial particle spacing, is the kernel function gradient of particle i, β ij The value selection rule is: when particle i and particle j belong to the same phase, β ij =1.0, otherwise β ij =1.
01.
9. A non-transitory computer-readable storage medium, which implements the method according to any one of claims 1 to 8 when a computer program stored therein is executed.
