Method for calculating conductivity of supercritical fluid system NaCl-H2O-H2S
By simulating the molecular dynamics of the NaCl-H2O-H2S system in MaterialsStudio and LAMMPS codes, combining Einstein and Green-Kubo relationships, the conductivity of the supercritical fluid system was calculated, and the insufficient solution ionic conductivity in the prior art was solved. The problem has improved the experimental efficiency and reduced the cost, and achieved effective verification of conductivity.
Patent Information
- Application Number
- CN202411052922.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-02
AI Technical Summary
When calculating the conductivity of the supercritical fluid system NaCl-H2O-H2S, the solution ionic conductivity is insufficient, making it difficult to effectively simulate and verify the physical principles of the conductivity, resulting in low experimental efficiency and high R&D costs.
MaterialsStudio software is used to construct the NaCl-H2O-H2S hybrid system model, and molecular dynamics simulation is performed through LAMMPS code. Combined with Einstein relationship and Green-Kubo relationship, the self-diffusion coefficient and ionic conductivity of the inert gas are calculated, and different salt concentrations and temperatures are simulated. and dynamic processes under pressure.
The dynamics of ions and H2O molecules under different conditions were clearly simulated, the difficulties of experimental determination were overcome, the physical principles of conductivity were verified, the efficiency of traditional experiments was improved, the R&D costs were reduced, and the industrialization cycle was shortened.
Smart Images

Figure CN119028458A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of calculation of ionic conductivity of supercritical fluid system solution, in particular to a method for calculating the conductivity of a supercritical fluid system NaCl-H2O-H2S. Background Art
[0002] In molecular dynamics simulations, the SPC and SPC / E models proposed by Berendsen et al. and the TIP4P model proposed by Jorgensen et al. are widely used. A common feature of these models is that the oxygen atoms in the water molecules have LJ contributions, while the hydrogen atoms do not. The contribution of hydrogen atoms in the molecular dynamics simulation is determined only by the charge they carry.
[0003] During the simulation process, the number of simulation steps is 600,000. The first 300,000 steps are used to bring the system into equilibrium, and the next 300,000 steps are used to calculate the statistical parameters. After the system is in equilibrium, the thermodynamic properties of the system are calculated. Since the moment of inertia of H2S molecules is small and rapid rotation may occur, a smaller time step is required to ensure the stability of the solution of the motion equation. Summary of the invention
[0004] In view of the above problems in the prior art, the present invention provides a method for calculating the conductivity of a supercritical fluid system NaCl-H2O-H2S, and solves the problem of insufficient derivation of solution ion conductivity.
[0005] The technical solution adopted by the present invention is as follows:
[0006] A method for calculating the conductivity of a supercritical fluid system NaCl-H2O-H2S comprises the following steps:
[0007] S1. Use MaterialsStudio software to build a model for the mixed system of NaCl-H2O-H2S fluids, including H2S model, H2O model and NaCl model, and then obtain the corresponding potential;
[0008] S2. Use LAMMPS code to perform molecular dynamics simulation on the inert gas in the NaCl-H2O-H2S system in an isobaric-isothermal system to obtain the output position and velocity of the atoms and calculate the atomic force values;
[0009] S3. Calculate the self-diffusion coefficient of noble gases in the NaCl-H2O-H2S system using the Einstein relation;
[0010] S4. Use Green-Kubo relationship to deduce ionic conductivity σ e, and calculate the conductivity under direct current voltage DC; at lower frequencies there is no dielectric relaxation mechanism, and the conductivity calculated using MD simulations corresponds to the same low-frequency range measured by electromagnetic experiments.
[0011] Preferably, obtaining the H2S model in step S1 comprises the following steps:
[0012] S11 uses the Shyamal model to construct the H2S model and calculate the intermolecular interaction force;
[0013] S12 uses the mass molar concentration of the solution to calculate the solubility of H2S gas in water;
[0014] S13 calculates the interactions within water molecules;
[0015] S14 calculates the intermolecular coupling scale parameter ls and energy parameter ls according to the Lorentz-Berthelot mixing rule.
[0016] Preferably, the intermolecular interaction potential is expressed as:
[0017]
[0018] In the formula, and σ ij are energy parameter and size parameter, r ij The simulated fluid represents the distance between the center of mass of molecules i and j, q i and q j are the charges on the atoms, is the dielectric constant of vacuum;
[0019] The solubility calculation formula of H2S gas in water is:
[0020] In the formula, ρ i (z) is the density distribution of component i in the liquid phase, M i is the molar mass of component i, ρ j (z) is the density distribution of component j, i represents H2S, j represents water, ρ(z) is the molecular number density, N(z) is the number of particles between z and z+Δz, A=LxLy is the cross-sectional surface area, Δz is the slice thickness, and the curly brackets represent time average;
[0021] The interaction within the water molecule is the simple harmonic vibration of the bond and bond angle around its origin, and its calculation formula is:
[0022]
[0023] Where r is the molecular diameter, θ is the bond angle, r0 and θ0 are and 109.47°, kb and k θ They are and 92 kcal / (mol.rad2);
[0024] The intermolecular coupling energy parameter ls and the scale parameter ls are respectively: σ ls =(σ l ·σ s ) / 2.
[0025] Preferably, step S1 uses the SPC / E model to construct a water molecule model to obtain the interaction potential between atoms, and the formula is:
[0026]
[0027] In the formula, r is the distance between two atoms of type i and type j, ε ij and σ ij are energy parameter and size parameter, q i and qj are the charges on the atoms, is the dielectric constant of vacuum.
[0028] Preferably, the energy parameter ε between heterogeneous atoms in step S1 is ij and size parameter σ ij According to the Lorentz-Berthelot mixing regulation, its expression is:
[0029] Preferably, in the simulation process of step S2, periodic boundary conditions are used in the three directions of x, y, and z, the temperature and pressure are controlled by the Berendsen method, the bond length and bending angle are restricted by the RATTLE algorithm, the LJ interaction is used for long-range correction, and the PPPM method is used to calculate the long-range electrostatic interaction.
[0030] Preferably, in step S2, during the simulation process, the VelocityVerlet algorithm is used to integrate the equation of motion, obtain the time step, and obtain the position of the atom at a certain moment;
[0031] calculate The speed at this moment is:
[0032] The calculated position at time t+Δt is:
[0033] The speed at time t+Δt is calculated as:
[0034] In the formula, r i (t) is the initial position, v i(t) is the speed, F i (t) is the force, m i For solubility.
[0035] Preferably, the calculation formula of the inert gas self-diffusion coefficient in step S3 is:
[0036]
[0037] Where t is time, <[r i (t)-r i (0)] 2 > is the average value of the numerator, r i (t) is the position of molecule i at time t.
[0038] Preferably, the ionic conductivity in step S4 is:
[0039]
[0040] Where v is the volume of the unit cell, k b is the Boltzmann constant, T is the temperature, j el (t) is the current at time t, q i are the partial charges i and q of the ions i is the velocity of ion i.
[0041] The present invention has the following characteristics and advantages:
[0042] The computational method explicitly simulates the dynamics of ions and H2O molecules under different salt concentrations, temperatures and pressures, overcomes the difficulties of experimental determination, verifies the physical principles of conductivity, improves the efficiency of traditional experiments, reduces R&D costs and shortens the industrialization cycle. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a molecular structure diagram of H2S for the conductivity calculation method of the supercritical fluid system NaCl-H2O-H2S;
[0044] Figure 2 It is an intermolecular overall flow chart of the conductivity calculation method of the supercritical fluid system NaCl-H2O-H2S;
[0045] Figure 3 It is an interatomic overall flow chart of the conductivity calculation method of the supercritical fluid system NaCl-H2O-H2S. DETAILED DESCRIPTION
[0046] The embodiments are described below in conjunction with experimental data.
[0047] A method for calculating the conductivity of a supercritical fluid system NaCl-H2O-H2S comprises the following steps:
[0048] S1. Use MaterialsStudio software to build a model for the mixed system of NaCl-H2O-H2S fluids, including H2S model, H2O model and NaCl model, and then obtain the corresponding potential;
[0049] Common models include: Jorgensen model, Forester model, Kristof model and Shyamal model, among which Jorgensen model and Shyamal model are three-point action models, and Forester model and Kristof model are four-point action models.
[0050] The potential function models of the Jorgensen model, Forester model, and Kristof model are expressed as follows:
[0051]
[0052] The right side of the equation indicates that the sum of long-range electrostatic interaction and short-range Lennard-Jones interaction constitutes the potential energy of H2S molecules;
[0053] Where U represents the interaction force between H2S molecules; r ij The simulated fluid represents the distance between the center of mass of molecules i and j, → Ω i and Ω j → are the azimuths describing molecules i and j, respectively. is the charge at position α of the i-th molecule, N α is the number of interaction points of a hydrogen sulfide molecule in the model. For the Jorgensen model, N α =3, Forester model, Kristof model N α =4, is the distance between the α action point of molecule i and the β action point of molecule j, ε ss and σ are the energy and size parameters of the potential energy of LJ, respectively.
[0054] The potential parameters of the four models are shown in the following table:
[0055] Table 1 Potential parameters of the four models
[0056]
[0057] Obtaining the H2S model in step S1 includes the following steps:
[0058] S11 uses the Shyamal model to construct the H2S model and calculate the intermolecular interaction force. The intermolecular interaction force is divided into short-range van der Waals force and long-range Coulomb force. The intermolecular interaction potential function is:
[0059]
[0060] In the formula, ε ij and σ ij are energy parameter and size parameter, r ij The simulated fluid represents the distance between the center of mass of molecules i and j, q i and q j are the charges on the atoms, is the dielectric constant of vacuum;
[0061] Energy parameter ε between atoms of the same type ij and size parameter σ ij As shown in the following table:
[0062] Table 2 Energy parameters and size parameters between similar atoms
[0063]
[0064] S12 uses the mass molar concentration of the solution to calculate the solubility of H2S gas in water. The formula is:
[0065]
[0066] In the formula, ρ i (z) is the density distribution of component i in the liquid phase, M i is the molar mass of component i, ρ j (z) is the density distribution of component j, i represents H2S, j represents water, ρ(z) is the molecular number density, N(z) is the number of particles between z and z+Δz, A=LxLy is the cross-sectional surface area, Δz is the slice thickness, and the curly brackets represent time average;
[0067] S13 calculates the interactions within water molecules, which are simple harmonic vibrations of bonds and bond angles about their origin:
[0068]
[0069] In the formula, r0 and θ0 are and 109.47°, k b and k θ They are and 92 kcal / (mol.rad2);
[0070] S14 calculates the intermolecular coupling energy parameter ls and scale parameter ls according to the Lorentz-Berthelot mixing law, and its expression is: σ ls =(σ l ·σ s ) / 2;
[0071] The SPC / E model is used to construct a water molecule model. The model uses a rigid molecule. In this model, the hydrogen bond length r0 is 0.1nm, the bond angle θ0 between HOH is 109.47°, and the interaction potential between atoms is composed of Lennard-Jones potential and Coulomb interaction, that is, the interaction potential U between two atoms of type i and type j with a distance r ij for:
[0072]
[0073] Among them, ε ij and σ ij are energy parameter and size parameter, q i and q j are the charges on the atoms, is the dielectric constant of vacuum;
[0074] Energy parameter ε between atoms of the same type ij and size parameter σ ij As shown in the following table:
[0075] Table 3 Energy parameters and size parameters between similar atoms
[0076] Atom <![CDATA[ε i kJ mol -1 ]]> <![CDATA[σ i nm]]> <![CDATA[q i and]]> O 125.89 0.370 0 H 269 0.369 0 <![CDATA[Na + ]]> 250 0.373 0 <![CDATA[Cl - ]]> 250 0.372 3.9
[0077] ε between heterogeneous atoms ij and σ ij According to the Lorentz-Berthelot mixing rule, we obtain:
[0078] S2. Use the LAMMPS code to perform molecular dynamics simulations on the inert gas in the NaCl-H2O-H2S system in an isobaric-isothermal ensemble to obtain the output positions and velocities of the atoms and calculate the atomic force values;
[0079] In step S2, periodic boundary conditions are used in the three directions of x, y and z during the simulation. The VelocityVerlet algorithm is used to integrate the equation of motion, calculate the time step, and obtain the position of the atom at a certain moment.
[0080] The simulation time step of H2S molecules is 0.8fs, and the VelocityVerlet algorithm is used for calculation. The speed at this moment is: The calculated position at time t+Δt is: The speed at time t+Δt is calculated as: In the formula, r i (t) is the initial position, v i (t) is the speed, F i (t) is the force, m i For solubility.
[0081] In step S2, the temperature and pressure are kept constant using a Berendsen thermostat and a barometric thermostat, respectively. D is the target pressure of the system, p(t) is the instantaneous pressure, and the size of the unit cell can be changed as follows: V(t) → V(t)·η(t),
[0082] where Γ p is the relaxation time of the system pressure, γ is the compressibility coefficient, when p(t)>p D When , η(t)>1, otherwise η(t)<1, is the whole as input parameter.
[0083] The bond lengths and bending angles were constrained using the RATTLE algorithm in step S2, long-range corrections for LJ interactions were used, and long-range electrostatic interactions were calculated using the particle-particle and particle-mesh (PPPM) method.
[0084] In LAMMPS, the fixrestrain command is used to restrict bond lengths and bending angles, which limits the motion of atoms or molecules so that the force field parameters can change linearly over time. This constraint allows the constrained atoms to appear in a certain topological form, and their molecular structure still has a certain degree of flexibility in motion. The second type of rigid constraint is the reaction force constraint, which applies a reaction force to the atoms to fix them in a specific configuration.
[0085] S3. Use the Einstein relationship to calculate the inert gas self-diffusion coefficient in the NaCl-H2O-H2S system. The calculation formula is:
[0086] Where t is time, <[r i (t)-r i (0)] 2 > is the average value of the numerator, r i (t) is the position of molecule i at time t;
[0087] S4. Use the Green-Kubo relationship to deduce ionic conductivity (σ e), calculate the conductivity under direct current (DC), the calculation formula is: and
[0088] Where v is the volume of the unit cell, k b is the Boltzmann constant, T is the temperature, j el (t) is the current at time t, q i are the partial charges i and q of the ions i is the velocity of ion i.
[0089] By confirming the convergence of the autocorrelation function, the equation Integrations up to 1 ps were performed; at lower frequencies there is no dielectric relaxation mechanism and the conductivity calculated using MD simulations corresponds to the same low-frequency range measured by electromagnetic experiments.
[0090] Therefore, the present invention clearly simulates the dynamics of ions and H2O molecules under different salt concentrations, temperatures and pressures, overcomes the difficulties of experimental determination, verifies the physical principles of conductivity, improves the efficiency of traditional experiments, reduces R&D costs, and shortens the industrialization cycle.
[0091] The embodiments described above are only descriptions of the preferred modes of the present invention, and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.
Claims
1. A supercritical fluid system NaCl-H 2 OH 2 Calculation method of conductivity of S, It is characterized in that The following steps are involved: S1. Use MaterialsStudio software to analyze the NaCl-H 2 OH 2 The mixed system model of S fluid is constructed, including H 2 S model, H 2 O model and NaCl model, and then obtain the corresponding action potential; S2. Using LAMMPS code to analyze the NaCl-H 2 OH 2 The inert gas in the S system is subjected to molecular dynamics simulation in an isobaric-isothermal system to obtain the output positions and velocities of the atoms and calculate the atomic force values; S3. Calculate NaCl-H using Einstein relation 2 OH 2 Self-diffusion coefficient of noble gas in S system; S4. Derivation of ionic conductivity σ using the Green-Kubo relationship e , and calculate the conductivity under direct current voltage DC; at lower frequencies there is no dielectric relaxation mechanism, and the conductivity calculated using MD simulations corresponds to the same low-frequency range measured by electromagnetic experiments.
2. The method according to claim 1, It is characterized in that In step S1, H is obtained 2 The S model includes the following steps: S11 Construct H using Shyamal model 2 S model, calculates the intermolecular interaction force; S12 uses the mass molar concentration of the solution to calculate H 2 Solubility of S gas in water; S13 calculates the interactions within water molecules; S14 calculates the intermolecular coupling scale parameter ls and energy parameter ls according to the Lorentz-Berthelot mixing rule.
3. The method according to claim 1, It is characterized in that In step S1, H is obtained 2 The S model includes the following calculation process and formula: The intermolecular interaction potential expression is: In the formula, ε ij and σ ij are energy parameter and size parameter, r ij The simulated fluid represents the distance between the center of mass of molecules i and j, q i and q j are the charges on the atoms, ε 0 is the dielectric constant of vacuum; The H 2 The calculation formula for the solubility of S gas in water is: In the formula, ρ i (z) is the density distribution of component i in the liquid phase, M i is the molar mass of component i, ρ j (z) is the density distribution of component j, i represents H 2 S, j represents water, ρ(z) is the molecular number density, N(z) is the number of particles between z and z+Δz, A=LxLy is the cross-sectional surface area, Δz is the slice thickness, and the curly brackets represent time averaging; The interaction within the water molecule is the simple harmonic vibration of the bond and bond angle around its origin, and its calculation formula is: In the formula, r is the molecular diameter, θ is the bond angle, and r 0 ,θ 0 , k b , k θ are the bond and angle constants, respectively; The intermolecular coupling energy parameter ls and the scale parameter ls are respectively: σ ls =(σ l ·σ s ) / 2.
4. The method according to claim 1, It is characterized in that Step S1 uses the SPC / E model to construct a water molecule model and obtain the interaction potential between atoms, the formula of which is: In the formula, r is the distance between two atoms of type i and type j, ε ij and σ ij are energy parameter and size parameter, q i and q j are the charges on the atoms, ε 0 is the dielectric constant of vacuum.
5. The method according to claim 1, It is characterized in that The energy parameter ε between heterogeneous atoms in step S1 ij and size parameter σ ij According to the Lorentz-Berthelot mixing regulation, its expression is:
6. The method according to claim 1, It is characterized in that In step S2, periodic boundary conditions are used in the x, y, and z directions during the simulation, the Berendsen method is used to control temperature and pressure, the RATTLE algorithm is used to restrict bond length and bending angle, the LJ interaction is used for long-range correction, and the PPPM method is used to calculate long-range electrostatic interactions.
7. The method according to claim 1, It is characterized in that Step S2: During the simulation, the VelocityVerlet algorithm is used to integrate the equation of motion, calculate the time step, and obtain the position of the atom at a certain moment; calculate The speed at this moment is: The calculated position at time t+Δt is: The speed at time t+Δt is calculated as: In the formula, r i (t) is the initial position, v i (t) is the speed, F i (t) is the force, m i For solubility.
8. The method according to claim 1, It is characterized in that The calculation formula of the inert gas self-diffusion coefficient in step S3 is: Where t is time, <[r i (t)-r i (0)] 2 > is the average value of the numerator, r i (t) is the position of molecule i at time t.
9. The method according to claim 1, It is characterized in that The ionic conductivity in step S4 is: Where v is the volume of the unit cell, k b is the Boltzmann constant, T is the temperature, j el (t) is the current at time t, q i are the partial charges i and q of the ions i is the velocity of ion i.
Citation Information
Patent Citations
Numerical simulation calculation method based on a FLUENT MHD module
CN109858192A
System and method for measuring conductivity of supercritical geothermal fluid
CN116735666A
Method for calculating conductivity of supercritical geothermal fluid
CN116738779A
Method and device for training and optimizing analysis model, electronic equipment and storage medium
CN117316316A
Method and equipment for predicting air stability of sulfide electrolyte
CN118039010A
