Near-far field coupling simulation method and device for analyzing interaction between wave and ocean structure

By adopting the coupling method of Navier-Stokes and Boussinesq equations in the coupling model of the interaction between waves and ocean structures, the coupling inconsistency between the pressure fluctuations in the boundary zone and the free liquid surface in the analysis of the interaction between waves and ocean structures in the existing technology is solved. Accurate questions enable efficient simulation of wave propagation and structure interaction.

CN118709591APending Publication Date: 2024-09-27OCEAN UNIV OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410729851.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

When analyzing the interaction between waves and ocean structures, the existing coupling model has problems such as obvious pressure fluctuations in the boundary zone, inaccurate free liquid surface coupling, and difficulty in bidirectional information transmission. The calculation efficiency is low and numerical dissipation is serious.

Method used

The Navier-Stokes equation in the Lagrangian form and the weakly nonlinear one-dimensional Boussinesq equation are used as the control equations, and the two-way coupling of the NS-SPH model and the B-SPH model is carried out through the open boundary area to complete the information transfer and in the computational domain It is divided into B-SPH model calculation area, open boundary area and NS-SPH model calculation area to form a coupled model to improve calculation accuracy and efficiency.

Benefits of technology

It achieves accurate wave propagation simulation from the far field to the near field and detailed simulation of the interaction between waves and ocean structures, maintains the stability of the calculation domain and the accuracy of information transmission, and avoids errors in pressure fluctuations and free liquid surface coupling. , improving calculation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709591A
    Figure CN118709591A
Patent Text Reader

Abstract

The invention discloses a near-far field coupling simulation method and device for analyzing interaction of waves and ocean structures, and the method comprises the steps: solving an NS-SPH model based on a Navier-Stokes equation and a B-SPH model based on a Boussinesq equation, dividing the whole computational domain of the interaction of the waves and the ocean structures into a B-SPH model calculation region, an open boundary region and an NS-SPH model calculation region, the open boundary region is located between the two model calculation regions, the three regions and the two models form a coupling model, the coupling model carries out bidirectional coupling on the NS-SPH model and the B-SPH model, and information transmission from the NS-SPH model to the B-SPH model and from the B-SPH model to the NS-SPH model is completed. According to the coupling model, the calculation efficiency is improved, and meanwhile, the calculation accuracy of the whole fluid domain can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of coast and ocean engineering, and in particular relates to a near-field and far-field coupling simulation method and device for analyzing the interaction between waves and ocean structures. Background Art

[0002] In the field of coastal and marine engineering, studying the propagation and deformation of waves from far field to near field and their effects on marine structures is of great engineering significance. The main research methods are experimental research, theoretical analysis and numerical simulation. Theoretical analysis has limitations in the study of nonlinear problems, while experimental research is costly and limited by the model site. Numerical simulation just makes up for the shortcomings of the above two methods. With the advancement and development of computer technology, computational fluid dynamics (CFD) has been increasingly applied to the research of coastal and marine engineering. According to the difference in discretization methods, CFD can be divided into grid method and gridless method. Among them, smoothed particle hydrodynamics (SPH) is a gridless Lagrangian particle method. Compared with the traditional Euler grid method, it has more advantages in dealing with free surface flow, multiple interface capture and moving boundaries. At present, the SPH method has been widely used in the study of wave problems, such as wave deformation, wave breaking and the interaction between waves and structures.

[0003] For long-term numerical simulation calculations, the SPH method has problems such as low computational efficiency and serious numerical dissipation. Therefore, some scholars have proposed coupled numerical models based on the SPH method and other methods to study different engineering problems. These coupled models use the traditional SPH method to calculate areas with obvious nonlinear hydrodynamic characteristics, and use other numerical models or simplified equations to calculate the remaining areas. However, the existing coupled models have problems such as obvious pressure fluctuations in the boundary area, inaccurate free surface coupling, and difficulty in bidirectional information transmission. Summary of the invention

[0004] In view of the shortcomings in the prior art, the present invention provides a near-far field coupling simulation method and device for analyzing the interaction between waves and marine structures, which can not only scientifically describe the propagation of waves from the far field to the near field, but also accurately simulate the details of wave breaking and the interaction between waves and marine structures, taking into account both calculation accuracy and calculation efficiency, and maintaining good stability in the coupling area.

[0005] The present invention achieves the above technical objectives through the following technical means.

[0006] A near-field and far-field coupled simulation method for analyzing the interaction between waves and marine structures:

[0007] The Navier-Stokes equation in Lagrangian form is selected as the control equation for calculating the near field region, and the discretized control equation is used as the NS-SPH model;

[0008] The weak nonlinear one-dimensional Boussinesq equation in Lagrangian form is used as the control equation for calculating the far field area. The discretized control equation is the B-SPH model.

[0009] The entire computational domain of the interaction between waves and marine structures is divided into the B-SPH model computational area, the open boundary area, and the NS-SPH model computational area. The open boundary area is located between the two model computational areas and is used for information exchange between the two. The three areas and the two models form a coupled model.

[0010] The coupling model is used to couple the NS-SPH model and the B-SPH model bidirectionally: complete the calculation of the current time step of the B-SPH model and the NS-SPH model, and then transfer information between the two models, specifically: in the B-SPH open boundary area, determine the water depth of the particles and the average speed of the particles, and update them to complete the information transfer from the NS-SPH model to the B-SPH model; in the NS-SPH open boundary area, determine the water depth of the particles and the average speed of the particles, the particles in the NS-SPH open boundary area are redistributed according to the water depth, and the speed of the particles is updated accordingly, completing the information transfer from the B-SPH model to the NS-SPH model; enter the cycle of the next time step.

[0011] According to a further technical solution, in the B-SPH open boundary region, the water depth of the particle is obtained by assigning the free liquid surface elevation of the fluid particle of the NS-SPH model.

[0012] Further technical solution, in the B-SPH open boundary region, the average velocity of the particle U B It is determined according to the average velocity of the fluid particles in the NS-SPH model in this area along the depth direction, that is:

[0013]

[0014] Among them, n NS is the number of fluid particles in the NS-SPH model within the B-SPH open boundary region, u NS Represents the average velocity of fluid particles along the depth direction in the NS-SPH model.

[0015] A further technical solution is that in the NS-SPH open boundary region, the water depth d of the particle NS and the average speed U NS It is obtained by averaging the physical quantities of the fluid particles in the B-SPH model in this area, specifically:

[0016]

[0017] Among them, n B is the number of fluid particles in the B-SPH model within the NS-SPH open boundary region, and Represents the water depth and average velocity along the depth direction of fluid particle i in the B-SPH model.

[0018] According to a further technical solution, the time step of the coupling model adopts the calculation time step of the NS-SPH model.

[0019] A further technical solution is that in both models, when a boundary range particle enters the calculation area from the open boundary area, the boundary range particle is converted into an ordinary fluid particle; conversely, when a fluid particle enters the open boundary area from the calculation area, the fluid particle is converted into a boundary range particle; when a boundary range particle moves out of the model area, the particle is deleted.

[0020] A further technical solution is that in the calculation area of ​​the NS-SPH model, when the boundary range particles enter the calculation area, particle vacancies appear in the boundary area, and new boundary range particles are generated according to the water depth and speed in the B-SPH area. The generation process of the boundary range particles is: first find the surface particles in the boundary area, then determine the vacant parts of the boundary area particles through the boundary range particles, and finally evenly fill the vacant parts with new particles.

[0021] A further technical solution is that in the B-SPH model calculation area, when there are particle vacancies in the boundary area, it is necessary to generate boundary range particles. The generation process of boundary range particles is: first find the surface particles in the boundary area, then determine the vacant parts of the particles in the boundary area through the boundary range particles, and add a single row of particles to the vacant parts.

[0022] A near-field and far-field coupling simulation device for analyzing the interaction between waves and marine structures, comprising:

[0023] NS-SPH model solving module, used to solve the NS-SPH model based on Navier-Stokes equations;

[0024] B-SPH model solving module, used to solve the B-SPH model based on Boussinesq equation;

[0025] The bidirectional coupling module is used to bidirectionally couple the NS-SPH model and the B-SPH model.

[0026] The beneficial effects of the present invention are as follows: the present invention divides the entire calculation domain into a B-SPH model calculation area, an open boundary area and an NS-SPH model calculation area, the open boundary area is located in the middle of the two model calculation areas, and is used for information exchange between the two, and the three areas and the two models form a coupling model; the coupling model is used to couple the NS-SPH model and the B-SPH model in a bidirectional manner: the calculation of the current time step of the B-SPH model and the NS-SPH model is completed, and the information transmission from the NS-SPH model to the B-SPH model and from the B-SPH model to the NS-SPH model is completed; the coupling model is tested through typical cases, and the results show that no obvious pressure fluctuation is generated at the open boundary, thereby ensuring the accuracy of the free liquid surface coupling; and the coupling model can complete the bidirectional information transmission between the NS-SPH model and the B-SPH model. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a schematic diagram of the calculation area layout of the coupling model of the present invention;

[0028] Figure 2 It is a schematic diagram of the calculation process of the coupling model of the present invention at one time step;

[0029] Figure 3 This is a schematic diagram of the open boundary area of ​​the present invention;

[0030] FIG4( a ) is a schematic diagram of the NS-SPH boundary particles before generation according to the present invention;

[0031] FIG4( b ) is a schematic diagram of the NS-SPH boundary particles after generation according to the present invention;

[0032] Figure 5 It is a schematic diagram of the numerical wave tank of the present invention;

[0033] FIG6( a ) is a pressure distribution diagram and a velocity vector diagram of the coupling model in the wave cycle t=0 according to the present invention;

[0034] FIG6( b ) is a pressure distribution diagram and a velocity vector diagram of the coupling model within t=0.25 wave period of the present invention;

[0035] FIG6( c ) is a pressure distribution diagram and a velocity vector diagram of the coupling model within t=0.5 wave period of the present invention;

[0036] FIG6( d ) is a pressure distribution diagram and a velocity vector diagram of the coupling model within t=0.75 wave period of the present invention. DETAILED DESCRIPTION

[0037] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments, but the protection scope of the present invention is not limited thereto.

[0038] The present invention provides a near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures, which specifically includes the following processes:

[0039] (1) Solve the NS-SPH model based on the Navier-Stokes equations;

[0040] The Navier-Stokes equations in Lagrangian form are chosen as the governing equations for the near-field region:

[0041]

[0042] Where ρ, u, p and μ represent the density, velocity, pressure and dynamic viscosity coefficient of the fluid respectively, d / dt represents the time derivative, g is the vector form of gravitational acceleration, and ▽ represents the Hamiltonian operator;

[0043] The above control equation can be discretized into:

[0044]

[0045] Among them, ρ i is the density of particle i, m i is the mass of particle i, u i is the velocity of particle i, u j is the velocity of particle j, ▽ i is the Hamiltonian operator of particle i, represents the smooth kernel function between particles i and j in the NS-SPH model, g i is the gravitational acceleration of particle i, m j is the mass of particle j, p i is the pressure of particle i, p j is the pressure of particle j, ρ j is the density of particle j, the value range of constant α is [0.01, 0.05], h represents the smooth length, c represents the speed of sound, r i is the position of particle i in the NS-SPH model, r j is the position of particle j in the NS-SPH model, V j is the volume of particle j in the NS-SPH model;

[0046] Here, the Wendland C2 kernel function is selected as the smooth kernel function between particles i and j:

[0047]

[0048] Among them, W C represents the Wendland C2 kernel function, the intermediate quantity q=|r i -r j| / h, the scaling factor κ=2.0, where h=2dx, dx represents the initial spacing between particles.

[0049] The discretized control equation is the NS-SPH model.

[0050] (2) Solve the B-SPH model based on the Boussinesq equation;

[0051] The weakly nonlinear one-dimensional Boussinesq equation in Lagrangian form is used as the governing equation for calculating the far field region:

[0052]

[0053] Where: D / Dt represents the material derivative, d is the water depth, u represents the horizontal velocity, z is the bottom slope terrain height, and g is the gravitational acceleration.

[0054] The above control equation can be discretized into:

[0055]

[0056] Among them, d i is the water depth of particle i, z i is the bottom slope terrain height of particle i, z j is the bottom slope terrain height of particle j, u i is the horizontal velocity of particle i, c i is the wave velocity of particle i, c j is the wave velocity of particle j, and the intermediate quantity u ij =u i -u j , the intermediate quantity x ij =x i -x j ,u j is the horizontal velocity of particle j, x i is the horizontal position of particle i, x j is the horizontal position of particle j, d j is the water depth of particle j, dV j represents the volume of particle j in the B-SPH model, and the wave velocity of particle i The wave speed of particle j represents the smooth kernel function between particles i and j in the B-SPH model;

[0057] Here, a one-dimensional Gaussian smooth kernel function is selected as the smooth kernel function between particle i and particle j:

[0058]

[0059] Among them, WG represents the Wendland C2 kernel function, r i is the position of particle i in the B-SPH model, r j is the position of particle j in the B-SPH model, the scale factor γ = 3, where h = 4 / 3dx.

[0060] The second spatial derivative of velocity ▽ 2 u i Can be discretized into:

[0061]

[0062] The discretized control equation is the B-SPH model.

[0063] (3) The NS-SPH model and the B-SPH model are bidirectionally coupled using the open boundary method;

[0064] The entire computational domain for the interaction between waves and marine structures is divided into Figure 1 The three parts shown are: B-SPH model calculation area, open boundary area and NS-SPH model calculation area. The open boundary area is located between the two model calculation areas and is used for information exchange between the two. The three areas and the two models form a coupled model. From a time perspective, the coupled model transmits information through the open boundary area every time a calculation step is completed. Figure 2 The calculation process of the coupled model at a time step is shown. First, the calculation of the current time step t of the B-SPH model and the NS-SPH model is completed. n Calculation; after that, the information transfer between the two models needs to be completed; specifically:

[0065] In the B-SPH open boundary region, the free liquid surface elevation of the NS-SPH model fluid particle is assigned to the water depth d of the particle in the B-SPH open boundary region. B , and the average velocity of particles in the open boundary region of B-SPH is U B The average velocity of fluid particles along the depth direction can be determined according to the NS-SPH model:

[0066]

[0067] Among them, n NS is the number of fluid particles in the NS-SPH model within the B-SPH open boundary region, u NS Represents the average velocity of fluid particles along the depth direction in the NS-SPH model.

[0068] By updating the water depth d of particles in the open boundary region of B-SPH B and speed U B, completing the information transfer from the NS-SPH model to the B-SPH model.

[0069] In the NS-SPH open boundary region, the water depth d of the particles in the NS-SPH open boundary region NS and the average speed U NS All of them are obtained from the average values ​​of the physical quantities of the fluid particles in the B-SPH model in this area:

[0070]

[0071] Among them, n B is the number of fluid particles in the B-SPH model within the NS-SPH open boundary region, and Represents the water depth and average velocity along the depth direction of fluid particle i in the B-SPH model.

[0072] NS-SPH open boundary region particles will be based on the water depth d NS Redistribution, its speed U NS It is also updated accordingly, thus completing the information transfer from the B-SPH model to the NS-SPH model.

[0073] Finally, the two models complete information transfer in the open boundary area and enter the cycle of the next time step. Among them, the B-SPH open boundary area and the NS-SPH open boundary area are divided according to the smooth length of the kernel function.

[0074] Generally speaking, the calculation time step of the B-SPH model is much larger than that of the NS-SPH model. In order to achieve synchronization of the calculation time of the two models, the present invention adopts the calculation time step of the NS-SPH model as the time step of the coupling model.

[0075] Figure 3 It is a schematic diagram of the open boundary region. In the figure, the solid particles are fluid particles, the hollow particles are boundary range particles, the gray particles represent B-SPH model particles, and the black particles represent NS-SPH model particles. Figure 3 The dotted line is the open boundary area, located at x = x open The dotted lines at the B-SPH model and the NS-SPH model separate the calculation area and boundary area at the same time. From the calculation area of ​​the NS-SPH model, the horizontal axis x changes from x to NS to x open The part is the boundary area, and the horizontal coordinate x is greater than x open The part is the calculation area. From the calculation area of ​​the B-SPH model, the horizontal axis is from x open to x B The part is the boundary area, and the horizontal coordinate is less than x openThe part of the model is the calculation area. In both models, when the boundary range particle enters the calculation area from the open boundary area, the boundary range particle is converted into an ordinary fluid particle; conversely, when the fluid particle enters the open boundary area from the calculation area, the fluid particle is converted into a boundary range particle. When the boundary range particle moves outside the model area (including the model boundary area and the model calculation area), the particle will be deleted and no longer participate in the model calculation.

[0076] In the NS-SPH model calculation area, when the boundary range particles enter the calculation area, there will be particle vacancies in the boundary area. At this time, it is necessary to calculate the water depth d according to the external input. NS and speed U NS To generate new boundary range particles. Figure 4 shows the generation process of NS-SPH boundary range particles. First, find the surface particles in the boundary area (particles connected by black solid lines in Figure 4 (a)), then determine the vacant particles in the boundary area through boundary particles (gray shaded area in Figure 4 (a)), and finally fill the vacant parts with new particles evenly (black dotted particles in Figure 4 (b)). In the calculation area of ​​the B-SPH model, boundary range particles also need to be generated when there are particle vacancies in the boundary area. The calculation domain of the one-dimensional B-SPH model is composed of a single row of particles. When generating boundary particles, it is only necessary to add a single row of particles at the boundary vacancies.

[0077] The present invention selects a typical case of regular waves acting on a trapezoidal submerged dike to test the coupling model. Figure 5 As shown in the figure. The initial water depth d0 = 0.45m. The left side of the numerical flume is the B-SPH model calculation area, and the right side is the NS-SPH model calculation area. At the horizontal coordinate x = 9m, the two models are coupled by the bidirectional open boundary method. The trapezoidal submerged dike is placed in the NS-SPH model calculation area, 3m away from the open boundary. Figure 5 The coordinate system takes the lower left corner of the numerical water tank as the origin, the bottom of the numerical water tank along the wave propagation direction as the x-axis, and the z-axis along the water depth direction.

[0078] exist Figure 5Given a numerical flume, the pressure distribution diagram and velocity vector diagram of the coupling model within a wave period T shown in Figure 6 are calculated. Figure 6 (a) is the pressure distribution diagram and velocity vector diagram of the coupling model within t = 0T of the present invention, Figure 6 (b) is the pressure distribution diagram and velocity vector diagram of the coupling model within t = 0.25T of the present invention, Figure 6 (c) is the pressure distribution diagram and velocity vector diagram of the coupling model within t = 0.5T of the present invention, and Figure 6 (d) is the pressure distribution diagram and velocity vector diagram of the coupling model within t = 0.75T of the present invention. It can be seen from the figures that the wave propagates from the B-SPH model calculation area to the NS-SPH model calculation area, and no obvious pressure fluctuation is generated at the open boundary; in the area above the trapezoidal submerged dike, the velocity vector of the wave increases, the wave is significantly deformed and broken, and part of the wave is reflected.

[0079] The present invention provides a near-field and far-field coupling simulation device for analyzing the interaction between waves and marine structures, comprising:

[0080] NS-SPH model solving module, used to solve the NS-SPH model based on Navier-Stokes equations;

[0081] B-SPH model solving module, used to solve the B-SPH model based on Boussinesq equation;

[0082] The bidirectional coupling module is used to bidirectionally couple the NS-SPH model and the B-SPH model.

[0083] The embodiment of the present invention also provides an electronic device that can implement each process implemented by the near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures in the above embodiment, and can achieve the same beneficial effects.

[0084] The memory includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory can be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. In other embodiments, the memory can also be an external storage device of an electronic device, such as a plug-in hard disk equipped on the electronic device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory can also include both the internal storage unit of the electronic device and its external storage device. In this embodiment, the memory is generally used to store an operating system and various application software installed in the electronic device, such as a program code of a near-far field coupling simulation method for analyzing the interaction between waves and marine structures, etc. In addition, the memory can also be used to temporarily store various types of data that have been output or are to be output.

[0085] The processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor is generally used to control the overall operation of the electronic device. In this embodiment, the processor is used to run the program code stored in the memory or process data, such as running a program code of a near-far field coupling simulation method for analyzing the interaction between waves and marine structures.

[0086] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures provided in the embodiment of the present invention are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0087] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0088] The embodiments are preferred implementations of the present invention, but the present invention is not limited to the above-mentioned implementations. Any obvious improvements, substitutions or modifications that can be made by those skilled in the art without departing from the essential content of the present invention belong to the protection scope of the present invention.

Claims

1. A near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures, characterized in that: The Navier-Stokes equation in Lagrangian form is selected as the control equation for calculating the near field region, and the discretized control equation is used as the NS-SPH model; The weak nonlinear one-dimensional Boussinesq equation in Lagrangian form is used as the control equation for calculating the far field area. The discretized control equation is the B-SPH model. The entire computational domain of the interaction between waves and marine structures is divided into the B-SPH model computational area, the open boundary area, and the NS-SPH model computational area. The open boundary area is located between the two model computational areas and is used for information exchange between the two. The three areas and the two models form a coupled model. The coupling model is used to couple the NS-SPH model and the B-SPH model bidirectionally: complete the calculation of the current time step of the B-SPH model and the NS-SPH model, and then transfer information between the two models, specifically: in the B-SPH open boundary area, determine the water depth of the particles and the average speed of the particles, and update them to complete the information transfer from the NS-SPH model to the B-SPH model; In the NS-SPH open boundary area, the water depth of the particles and the average velocity of the particles are determined. The particles in the NS-SPH open boundary area are redistributed according to the water depth, and the velocity of the particles is updated accordingly, completing the information transfer from the B-SPH model to the NS-SPH model; entering the next time step loop.

2. The near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures according to claim 1 is characterized in that: In the B-SPH open boundary region, the water depth of the particle is obtained by assigning the free liquid surface elevation of the fluid particle in the NS-SPH model.

3. The near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures according to claim 1 is characterized in that: In the B-SPH open boundary region, the average velocity of the particle U B It is determined according to the average velocity of the fluid particles in the NS-SPH model in this area along the depth direction, that is: Among them, n NS is the number of fluid particles in the NS-SPH model within the B-SPH open boundary region, u NS Represents the average velocity of fluid particles along the depth direction in the NS-SPH model.

4. The near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures according to claim 1 is characterized in that: In the NS-SPH open boundary region, the water depth d of the particle NS and the average speed U NS It is obtained by averaging the physical quantities of the fluid particles in the B-SPH model in this area, specifically: Among them, n B is the number of fluid particles in the B-SPH model within the NS-SPH open boundary region, d i B and u i B Represents the water depth and average velocity along the depth direction of fluid particle i in the B-SPH model.

5. The near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures according to claim 1 is characterized in that: The time step of the coupled model adopts the calculation time step of the NS-SPH model.

6. The near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures according to claim 1 is characterized in that: In both models, when a boundary range particle enters the calculation area from the open boundary area, the boundary range particle is converted into an ordinary fluid particle; conversely, when a fluid particle enters the open boundary area from the calculation area, the fluid particle is converted into a boundary range particle; when a boundary range particle moves out of the model area, the particle is deleted.

7. The near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures according to claim 6 is characterized in that: In the calculation area of ​​the NS-SPH model, when the boundary range particles enter the calculation area, particle vacancies appear in the boundary area. New boundary range particles are generated according to the water depth and velocity in the B-SPH area. The generation process of boundary range particles is: first find the surface particles in the boundary area, then determine the vacant part of the boundary area particles through the boundary range particles, and finally evenly fill the vacant part with new particles.

8. The near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures according to claim 6 is characterized in that: In the calculation area of ​​the B-SPH model, when there are particle vacancies in the boundary area, boundary range particles need to be generated. The generation process of boundary range particles is: first find the surface particles in the boundary area, then determine the vacant part of the boundary area particles through the boundary range particles, and add a single row of particles to the vacant part.

9. A device for implementing the near-field and far-field coupling simulation method for analyzing the interaction between waves and marine structures as described in any one of claims 1 to 8, characterized in that: include: NS-SPH model solving module, used to solve the NS-SPH model based on Navier-Stokes equations; B-SPH model solving module, used to solve the B-SPH model based on Boussinesq equation; The bidirectional coupling module is used to bidirectionally couple the NS-SPH model and the B-SPH model.