Numerical simulation method, electronic device, medium and program product

By constructing a four-dimensional shape function and a moving least squares algorithm for stress wave propagation, the problem of high computational resource consumption in stress wave simulation of complex structures in the existing technology is solved, and efficient and accurate stress wave propagation simulation is achieved.

CN118607262AInactive Publication Date: 2024-09-06BYD CO LTD

Patent Information

Application Number
CN202411070714.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing stress wave propagation numerical simulation technology consumes huge computing resources when dealing with complex structures, making it difficult to balance accuracy and efficiency. In particular, wave propagation problems in complex geometric structures and inhomogeneous media show great limitations.

Method used

By obtaining discrete point data, the four-dimensional shape function of stress wave propagation in the structure is constructed, and the moving least squares algorithm and tensor product operation are used to avoid grid division and directly simulate in the three-dimensional space and time direction to improve calculation accuracy and efficiency.

Benefits of technology

It significantly improves the accuracy and efficiency of stress wave propagation simulation, reduces computing resource consumption, can flexibly adapt to complex structures, and achieves unconditional convergence of simulation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607262A
    Figure CN118607262A
Patent Text Reader

Abstract

The invention relates to a numerical simulation method, electronic equipment, a medium and a program product. The method comprises the following steps: acquiring discrete point data; constructing a four-dimensional function of stress wave propagation in the structure according to the discrete point data; and obtaining stress and strain distribution of the structure according to the four-dimensional function. According to the technical scheme, the accuracy and efficiency of stress wave propagation simulation in a complex three-dimensional structure can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a numerical simulation method, electronic equipment, medium and program product. Background Art

[0002] At present, the commonly used numerical simulation technologies for stress wave propagation mainly include conventional staggered grid finite difference method, pseudo-spectral method and finite element method. Due to the limitation of stability conditions, grid-based algorithms need to use appropriate step size and grid size in time and space to ensure calculation accuracy and stability.

[0003] However, mesh algorithms have high requirements on mesh quality and time step, which results in a large amount of computing resources being consumed when dealing with complex geometric structures, and are prone to numerical dispersion and dissipation problems. In addition, pseudospectral methods show great limitations when dealing with wave propagation problems in inhomogeneous media, and it is difficult to simulate with large step lengths.

[0004] Therefore, the existing simulations of stress wave propagation in complex structures in vehicles are low in accuracy and efficiency. Summary of the invention

[0005] The embodiments of the present application provide a numerical simulation method, electronic device, medium and program product to improve the accuracy and efficiency of stress wave propagation simulation of complex structures in vehicles, so as to at least partially solve the above-mentioned technical problems.

[0006] In order to achieve the above object, according to a first aspect of the present application, a numerical simulation method is provided, comprising: Get discrete point data; constructing a four-dimensional shape function of stress wave propagation in the structure based on the discrete point data; The stress and strain distribution of the structure is obtained according to the four-dimensional shape function.

[0007] Optionally, obtaining the stress and strain distribution of the structure according to the four-dimensional shape function includes: Introducing the four-dimensional shape function into the elastic wave equation to obtain the corresponding three-dimensional elastic wave equation; The three-dimensional elastic wave equation is solved to obtain the stress and strain distribution of the structure.

[0008] Optionally, constructing a four-dimensional shape function of stress wave propagation in a structure according to the discrete point data comprises: Constructing a one-dimensional shape function of stress wave propagation in the structure according to the discrete point data; the one-dimensional shape function includes a spatial shape function in a three-dimensional spatial direction and a temporal shape function in a temporal direction; The one-dimensional shape function in the three-dimensional space direction and the one-dimensional shape function in the time direction are combined into a four-dimensional shape function.

[0009] Optionally, constructing a spatial shape function for stress wave propagation in the structure according to the discrete point data comprises: Acquire spatial discrete points set in the three-dimensional space direction; According to the moving least squares algorithm and the spatial discrete points, a spatial shape function of the three-dimensional spatial direction is constructed.

[0010] Optionally, constructing a time shape function of stress wave propagation in the structure according to the discrete point data comprises: Acquire time discrete points set in the three-dimensional space direction; According to the moving least squares algorithm and the time discrete points, a time shape function of the three-dimensional space direction is constructed.

[0011] Optionally, constructing the spatial shape function of the three-dimensional spatial direction according to the moving least squares algorithm and the spatial discrete points includes: Obtaining basis functions of the three-dimensional space direction; Processing each of the spatial discrete points according to the moving least squares algorithm to determine undetermined coefficients for constructing the spatial shape function; According to the transposed form of the basis function and the undetermined coefficients, the spatial shape function in the three-dimensional space direction is constructed.

[0012] Optionally, the processing of each of the spatial discrete points according to the moving least squares algorithm to determine undetermined coefficients for constructing the spatial shape function includes: Determine the actual node value and approximate value of each spatial discrete point according to the moving least squares method; Determine the corresponding norm error according to the difference between the node value and the approximate value of each of the spatial discrete points; The norm error is minimized to obtain the unknown coefficients in the three-dimensional space direction.

[0013] Optionally, combining the one-dimensional shape function in the three-dimensional space direction and the one-dimensional shape function in the time direction into a four-dimensional shape function comprises: The spatial shape functions of each direction in the three-dimensional space are coupled to obtain a three-dimensional shape function; The three-dimensional shape function is coupled with the time shape function to obtain a four-dimensional shape function of the space-time boundary.

[0014] Optionally, the introducing the four-dimensional shape function into the elastic wave equation to obtain the corresponding three-dimensional elastic wave equation includes: Obtaining the Poisson's ratio of the material corresponding to the structure; Obtaining target coefficients according to the first-order derivative, the second-order derivative and the unit matrix of the one-dimensional shape function; The three-dimensional elastic wave equation is determined according to the target coefficient, the Poisson's ratio and the node value of each discrete point.

[0015] Optionally, the four-dimensional shape function is expressed as:

[0016] in, is the spatial shape function in the x-axis direction, is the spatial shape function in the y-axis direction, is the spatial shape function in the z-axis direction, is the time shape function in the time t direction.

[0017] Optionally, the three-dimensional elastic wave equation is expressed as: ; in, is the target coefficient, , , , , , , , , , , , is the one-dimensional shape function , , , The unit matrix is ​​of the same size, μ is the Poisson's ratio, and u is the node value of the discrete point.

[0018] Optionally, solving the three-dimensional elastic wave equation to obtain the stress and strain distribution of the structure includes: Substituting the initial conditions and boundary conditions of the three-dimensional elastic wave equation into the three-dimensional elastic wave equation to obtain the displacement component of each discrete point; According to the one-dimensional shape function of each discrete point and the derivative of each one-dimensional shape function, the displacement component of each discrete point is calculated to obtain the stress and strain distribution of the structure.

[0019] According to a second aspect of the present application, an electronic device is also provided, including: a memory having a computer program stored thereon; A processor is used to execute the computer program in the memory to implement the steps of the vehicle control method as described above.

[0020] According to a third aspect of the present application, a computer-readable storage medium is further provided, wherein program instructions are stored in the computer-readable storage medium, and the program instructions implement the method described above when executed.

[0021] According to a fourth aspect of the present application, a computer program product is also provided, wherein the computer program product comprises program instructions, and when the program instructions are executed by a processor, the method as described above is implemented.

[0022] The numerical simulation method for stress wave propagation in the embodiment of the present application, through the above-mentioned technical scheme, first obtains discretized discrete point data, then constructs a four-dimensional shape function of stress wave propagation in the structure through the discrete point data, and finally describes the propagation process of stress waves of the structure in the virtual four-dimensional space through the four-dimensional shape function, thereby eliminating the need to divide the space into fine grids in advance, getting rid of the dependence of the numerical simulation of stress wave propagation on the grid algorithm, reducing the consumption of computing resources, and improving the accuracy and efficiency of the numerical simulation of stress wave propagation. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0024] In order to more completely understand the present application and its beneficial effects, the following description will be given in conjunction with the accompanying drawings, wherein the same figure numbers represent the same parts in the following description.

[0025] Figure 1 is a flow chart of a numerical simulation method provided in an exemplary embodiment of the present application; Figure 2 is a flow chart of a numerical simulation method provided in an exemplary embodiment of the present application; Figure 3 is a spatiotemporal discrete schematic diagram of a three-dimensional structure provided in an exemplary embodiment of the present application; Figure 4 is a schematic diagram of a cylindrical three-dimensional structure provided in an exemplary embodiment of the present application; Figure 5 is a spatiotemporal discrete graph of a cylindrical three-dimensional structure provided in an exemplary embodiment of the present application; Figure 6 is a finite element discrete diagram of a cylindrical three-dimensional structure provided in an exemplary embodiment of the present application; Figure 7 is a schematic diagram of a BMLS-ST displacement field provided in an exemplary embodiment of the present application; Figure 8 is a schematic diagram of a finite element displacement field provided in an exemplary embodiment of the present application; Fig. 9 is a block diagram of an electronic device provided in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0026] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0027] In the related technology, the commonly used numerical simulation techniques for stress wave propagation mainly include the conventional staggered grid finite difference method, pseudo-spectral method and finite element method. However, these grid-based algorithms have some significant shortcomings in the application process. First, due to the limitations of stability conditions, appropriate step sizes and grid sizes must be used in time and space to ensure the accuracy and stability of the calculation. It is particularly demanding when dealing with complex three-dimensional structures, which often leads to huge consumption of computing resources. For example, the numerical simulation of three-dimensional elastic wave fields is achieved by constructing a staggered grid elastic recursive time integral operator and performing low-rank decomposition. However, this method relies on high-quality meshing, and is prone to meshing difficulties and non-convergence problems when facing complex structures.

[0028] Secondly, the pseudo-spectral method shows great limitations when dealing with wave propagation problems in inhomogeneous media, and it is difficult to perform large-step simulations. At the same time, the finite element method also faces problems with meshing and high computational costs when dealing with complex geometric structures and multi-scale problems. Due to the numerical dispersion and dissipation caused by spatial and temporal discretization, it is difficult for traditional methods to simultaneously take into account both computational accuracy and efficiency when simulating stress wave propagation in complex structures. The above shortcomings of existing stress wave propagation interpolation simulation technology are particularly prominent in automotive engineering. Vehicle structures are complex and are frequently subjected to external forces. Existing methods are difficult to meet the needs of efficient and accurate simulation, which affects the analysis of vehicle safety and durability.

[0029] In this application, firstly, by arranging multiple discrete points in the three-dimensional space direction and the time direction, the dependence on the traditional grid can be eliminated, and when processing complex geometric structures, it is not limited by the quality of the grid, and can flexibly adapt to various complex structures, thereby improving the scope of application of the simulation. Secondly, this application constructs a shape function by using the moving least squares approximation to construct a shape function, and then a variety of high-order basis functions can be selected for approximate calculations, thereby ensuring the high-order accuracy of the calculation results, and this application can also achieve unconditional convergence of simulation results by constructing a time shape function.

[0030] The present application is described below in conjunction with specific embodiments.

[0031] Figure 1 is a flow chart of a numerical simulation method provided in an exemplary embodiment of the present application, such as Figure 1 As shown, the method may include the following steps S201 to S203: Step S201, obtaining discrete point data.

[0032] The discrete point data may be the coordinate data of the discrete points input by the tester to generate corresponding discrete points at the corresponding coordinate positions in the coordinate system. Discrete points may also be called discrete nodes. In order to perform numerical simulation of stress wave propagation, in some embodiments, the solution domain may be discretized. The solution domain may include a spatial solution domain. and time domain , the spatial solution domain represents the boundaries of the structure in the x, y, and z directions, and the time solution domain represents the time range from the initial time t=0 to a certain end time t. In the numerical simulation of stress wave propagation, the spatial solution domain will be discretized into several spatial discrete points to facilitate the calculation of physical quantities, and the time solution domain will also be discretized into several time steps for numerical integration and solution.

[0033] like Figure 5 As shown, the tester can arrange 6 discrete points radially, 10 discrete points circumferentially, 6 discrete points axially, and 6 discrete points in the time direction in the coordinate system. The coordinates of each spatial discrete point can be expressed as ( ), the data of each discrete time point can be expressed in the form of (x, y, z, t). For example, the coordinates of the spatial discrete points can be (1,1,1), (2,2,2), and the coordinates of the temporal discrete points can be (0,0,0,0.5), (1,1,1,0.5), etc.

[0034] It can be understood that after obtaining the discrete point data, the method of the present application can be used to subsequently process the discrete point data to obtain the corresponding shape function, and the displacement value of each discrete point in the structure is calculated by the shape function simulation of the discrete point data, and finally the stress distribution and strain distribution of the stress wave propagation in the structure are accurately calculated based on the displacement value of each discrete point, thereby replacing the complex meshing operation of the structure with the discrete point data, and improving the efficiency and accuracy of the numerical simulation of the structural stress wave propagation. Step S202, construct a four-dimensional shape function of the stress wave propagation in the structure according to the discrete point data.

[0035] Among them, stress waves are a type of mechanical wave that propagates in solid materials. Their main form is fluctuations caused by mechanical loads such as impact and vibration inside or outside the material. During the propagation of stress waves, stress and strain changes inside the material will be caused. They are usually divided into two types: longitudinal waves (P waves) and transverse waves (S waves). Longitudinal waves are waves that propagate through the compression and stretching of material particles, while transverse waves are waves that propagate through the shear deformation of material particles.

[0036] Among them, the four-dimensional shape function can be the space-time shape function of the space-time boundary moving least squares algorithm BMLS-ST (Space-time Boundary Moving Least Squares Method) constructed on the basis of the moving least squares (MLS) approximation and tensor product. The four-dimensional space of the four-dimensional shape function may include a three-dimensional space direction and a one-dimensional time direction to construct the shape function of the four-dimensional space. It should be noted that in addition to the above-mentioned methods, the four-dimensional shape function may also be constructed by other methods, which are not limited in this embodiment.

[0037] The three-dimensional space direction may include an x-axis direction, a y-axis direction, and a z-axis direction, and the time direction may be a virtual direction of a time variable.

[0038] In some embodiments, the four-dimensional shape function may be constructed as follows: Constructing a one-dimensional shape function of stress wave propagation in the structure according to the discrete point data; the one-dimensional shape function includes a spatial shape function in a three-dimensional spatial direction and a temporal shape function in a temporal direction; The one-dimensional shape function in the three-dimensional space direction and the one-dimensional shape function in the time direction are combined into a four-dimensional shape function.

[0039] In some embodiments, the one-dimensional shape function may include a spatial shape function in a three-dimensional space direction and a temporal shape function in a time direction. In the scenario of the present application, the moving least squares (MLS) algorithm can be used to construct the spatial shape function and the temporal shape function, and the numerical simulation of stress wave propagation can be extended to the three-dimensional space direction and the time direction by means of tensor product, so as to decompose the complex high-dimensional problem into multiple one-dimensional problems, thereby simplifying the calculation process and improving the calculation accuracy and efficiency.

[0040] In some embodiments, the spatial shape function of the three-dimensional spatial direction can be constructed by: Acquire spatial discrete points set in the three-dimensional space direction; According to the moving least squares algorithm and the spatial discrete points, a spatial shape function of the three-dimensional spatial direction is constructed.

[0041] In some embodiments, the spatial solution domain can be and time domain , according to the tensor product operation, the spatial solution domain and the time solution domain are combined to form a four-dimensional space-time solution domain, and the space-time solution domain is constructed , in order to avoid mesh generation, so that the subsequent numerical calculation of stress wave propagation is performed based on discrete points. It is four-dimensional space A subset of Represents four-dimensional real space, consisting of three spatial dimensions and one time dimension. Each point in the To express it, physical quantities at any time and any spatial position can be described and solved.

[0042] like Figure 3 As shown, multiple spatial discrete points can be arranged in the three-dimensional spatial direction (e.g., the x-axis, y-axis, and z-axis directions) according to the characteristics of the structure to be simulated and the calculation accuracy requirements. For example, axis, axis, Arrangement in the axial direction , , Spatial discrete points. Spatial discrete points are used to represent the states of different positions in three-dimensional space. The number of spatial discrete points can be determined according to the geometric properties of the structural material, boundary conditions, and required accuracy.

[0043] In some embodiments, the time shape function may be constructed as follows: Acquire time discrete points set in the three-dimensional space direction; According to the moving least squares algorithm and the time discrete points, a time shape function of the three-dimensional space direction is constructed.

[0044] In some embodiments, time discrete nodes can be set in the time direction (eg, t direction), for example, in the time domain Upper layout discrete nodes are used to represent the states at different time points. The choice of time step can balance the calculation accuracy and efficiency, and is determined according to the stress wave propagation speed and time scale. In some embodiments, the spatial shape function can also be constructed in the following way: Obtaining basis functions of the three-dimensional space direction; Processing each of the spatial discrete points according to the moving least squares algorithm to determine undetermined coefficients for constructing the spatial shape function; According to the transposed form of the basis function and the undetermined coefficients, the spatial shape function in the three-dimensional space direction is constructed.

[0045] Among them, the basis function is a set of functions that constitute the function space. Usually, a set of functions of known form are selected as the basis, and their linear combinations are used to approximate or represent complex unknown functions.

[0046] In some embodiments, for each three-dimensional spatial direction x, y, z, a one-dimensional moving least squares shape function can be established using a moving least squares (MLS) approximation method. Taking the x direction as an example: multiple basis functions can be obtained , for example, available basis functions may include linear basis ; Quadratic basis ; Cubic basis Etc., k is the dimension of the basis function.

[0047] In some embodiments, the unknown coefficients may be determined by: Determine the actual node value and approximate value of each spatial discrete point according to the moving least squares method; Determine the corresponding norm error according to the difference between the node value and the approximate value of each of the spatial discrete points; The norm error is minimized to obtain the unknown coefficients in the three-dimensional space direction. In some embodiments, based on discrete nodes in each direction, a moving least squares (MLS) approximation can be used to respectively , , , A one-dimensional moving least squares algorithm is established in the direction to determine the actual node value and approximate value of each discrete point. Take direction as an example: (1) in, is the actual node value of the spatial discrete point in the x direction, is the approximate value of the spatial discrete point in the x direction, is the basis function, is the unknown coefficient, u is the node value, is the spatial shape function in the x direction, k is the total number of basis functions and undetermined coefficients, and the number of basis functions is the same as the number of undetermined coefficients.

[0048] In the specific implementation, are actual node values, representing exact solutions or theoretically accurate solutions, that is, the exact values ​​of the physical quantities that we hope the numerical method can approximate. represents the approximate solution at node x, which is the approximation of the node value obtained by the moving least squares algorithm. Indicates that multiple basis functions are used to approximate the approximate value . is the basis function vector The transpose and the undetermined coefficient vector , the dot product of the node value u, the result is the approximate value of the node value . Equivalent to , represents the numerical solution u at the discrete node x, through the shape function It is expressed as the product of the node value u.

[0049] In some embodiments, the unknown coefficients may be determined by minimizing the norm error, and the expression of the norm error is as follows: (2) Where J is the 2-norm error, is the node value, n is the number of discrete nodes, For Node The number of nodes included in the impact domain, is the weight function of nodes in the influence domain.

[0050] In some embodiments, the undetermined coefficients may be solved by minimizing the norm error, and the undetermined coefficients may be expressed as follows: (3) in,

[0051]

[0052] Finally, the spatial shape function in the x direction can be derived based on formula (1): (4) In the specific implementation, the norm error J can be obtained by approximating the value of each node. To approximate the actual node value , in order to minimize the norm error J, the optimal unknown coefficient can be solved , through the basis function The linear combination of , and finally the undetermined coefficients after solution are Constructing the spatial shape function in the x direction , ensuring the approximate value of the node As close to the actual value of the node as possible , thereby improving the accuracy and reliability of numerical simulation.

[0053] In some embodiments, the spatial shape function in other three-dimensional spatial directions can be constructed by referring to the above method of constructing the spatial shape function. , , and the time shape function in the time direction , I will not go into details here.

[0054] Among them, the four-dimensional shape function can be the space-time shape function of BMLS-ST In some embodiments, the spatial directions can be combined through tensor product operations and time direction The one-dimensional moving least squares shape function on the space-time shape function ,This method combines multiple spatial discrete points and time discrete points to approximate ly describe the solution in the four-dimensional space-time domain.

[0055] In some embodiments, the four-dimensional shape function may also be constructed in the following manner: The spatial shape functions of each direction in the three-dimensional space are coupled to obtain a three-dimensional shape function; The three-dimensional shape function is coupled with the time shape function to obtain a four-dimensional shape function of the space-time boundary.

[0056] In some embodiments, the one-dimensional shape functions in the three-dimensional spatial direction can be coupled by a tensor product operation to obtain the three-dimensional BMLS spatial shape function: (5) in, represents the tensor product operation, , , and Respectively about The one-dimensional shape function of .

[0057] It can be understood that compared to directly defining shape functions in three-dimensional space, the tensor product can be used to process one-dimensional shape functions in each direction separately, and then combine the one-dimensional shape functions together, which not only reduces the number and complexity of shape functions, but also improves the efficiency and stability of numerical calculations.

[0058] In some embodiments, the three-dimensional shape function can be further transformed by tensor product operation. and time shape functions The BMLS space-time shape function is obtained by coupling , thus establishing the approximate form of BMLS-ST as: ; (6) in, is the actual node value, is the approximate value of the discrete points, u is the node value, is a four-dimensional shape function.

[0059] In the above manner, the present application can decompose the shape function in high-dimensional space and time directions into a combination of one-dimensional shape functions in each low-dimensional direction through tensor product operations, thereby simplifying the construction and numerical calculation process of shape functions in high-dimensional problems, while ensuring the accuracy and stability of calculations. In addition, the established space-time shape function has the characteristic of unconditional convergence, so that large step lengths can be used for calculations in time discretization.

[0060] Step S203: obtaining the stress and strain distribution of the structure according to the four-dimensional shape function.

[0061] Among them, the strain of the structure is used to describe the degree of deformation of the material of the structure under the action of external force. Specifically, the strain at a point is the small displacement gradient near the point. The strain can be divided into linear strain and shear strain, which describe the response of the material under tension / compression and shear deformation respectively. The strain distribution is the change of strain values ​​at different positions in the entire structure. The strain distribution can determine which areas of the structure have undergone large deformations, potential structural weaknesses or concentrated deformation areas.

[0062] The stress of a structure is used to describe the distribution of forces inside the material of the structure. The stress at a certain point is the density of the internal forces near that point. The stress distribution is the change in stress values ​​at different locations in the entire structure. The stress distribution can determine which area of ​​the structure is subjected to greater internal forces and which area will be damaged first.

[0063] In some embodiments, step 203 may include the following steps: Introducing the four-dimensional shape function into the elastic wave equation to obtain the corresponding three-dimensional elastic wave equation; The three-dimensional elastic wave equation is solved to obtain the stress and strain distribution of the structure.

[0064] The elastic wave equation is expressed as follows: (7) in, is the stress tensor component; For external forces; is the second-order derivative of the variable to be determined with respect to time; in three-dimensional problems ; is the structure mass density.

[0065] In some embodiments, the three-dimensional elastic wave equation may be constructed as follows: Obtaining the Poisson's ratio of the material corresponding to the structure; Obtaining target coefficients according to the first-order derivative, the second-order derivative and the unit matrix of the one-dimensional shape function; The three-dimensional elastic wave equation is determined according to the target coefficient, the Poisson's ratio and the node value of each discrete point.

[0066] Among them, Poisson's ratio is an important parameter of the mechanical properties of materials, which describes the proportional relationship between the deformation along the axial direction and the deformation in the lateral direction when the material is stretched. The unit matrix is ​​the unit matrix that matches the dimension of the corresponding one-dimensional shape function and is used to expand and match the coefficients.

[0067] In some embodiments, the first-order derivative of the one-dimensional shape function may be used to describe the velocity field, and the second-order derivative of the one-dimensional shape function may be used to describe the stress field.

[0068] In some embodiments, the three-dimensional elastic wave equation is expressed as: ; in, is the target coefficient, , , , , , , , , , , , is the one-dimensional shape function , , , The unit matrix is ​​of the same size, μ is the Poisson's ratio, and u is the node value of the discrete point.

[0069] In the above way, each target coefficient constitutes the coefficient matrix in the elastic wave equation. By establishing a mathematical model to describe the propagation of three-dimensional elastic waves, the selection of each target coefficient is based on the characteristics of the one-dimensional shape function and the physical background of the elastic wave equation, thereby ensuring the accuracy and applicability of the three-dimensional elastic wave equation at discrete nodes.

[0070] In some embodiments, the stress and strain distribution of a structure may be calculated by: Substituting the initial conditions and boundary conditions of the three-dimensional elastic wave equation into the three-dimensional elastic wave equation to obtain the displacement component of each discrete point; According to the one-dimensional shape function of each discrete point and the derivative of each one-dimensional shape function, the displacement component of each discrete point is calculated to obtain the stress and strain distribution of the structure.

[0071] It can be understood that the one-dimensional moving least squares approximation is used in the time direction. This method is an interpolation approximation rather than an iterative solution. In the analysis of time domain problems, the BMLS-ST method has convergence and is not limited by the time step. This feature makes the simulation process more stable and efficient, especially when dealing with complex three-dimensional elastic wave propagation problems, it can effectively ensure the accuracy and reliability of the calculation.

[0072] This application calculates and processes the node displacement values ​​through shape functions and their derivatives, which can accurately analyze and describe the stress and strain distribution of the structure in the three-dimensional space direction and time direction, and adopts the one-dimensional moving least squares approximation method to ensure the convergence and stability in the time domain problem.

[0073] Combine the following Figures 4 to 8 , the application of the present invention is explained by examples. Figure 4 Dynamic analysis of the cylindrical three-dimensional structure under stress wave impact. The parameters of the cylindrical three-dimensional structure are as follows: outer diameter , inner diameter , cylinder height ; Material parameters are: dynamic elastic modulus , Poisson's ratio ,density The boundary conditions of the structure are: the outer surface of the cylinder is subjected to uniform pressure The action time is 1 second, the bottom of the cylinder is a fixed boundary, and the other surfaces are free surfaces. The initial conditions are: the initial velocity and initial displacement of the structure are both zero.

[0074] like Figure 5 As shown in Figure 1, the selection of the BMLS-ST spatial discrete model is as follows: 6 discrete points are arranged radially, 10 discrete points are arranged circumferentially, 6 discrete points are arranged axially, and 6 discrete points are arranged in the time direction. Figure 6 The finite element mesh discretization model used (based on the commercial software Comsol) is presented. The model contains a total of 100 hexahedral meshes and the time step is 0.01 seconds.

[0075] The BMLS-ST and finite element results are calculated as follows: Figure 7 and Figure 8As shown in the figure, these two figures respectively show the displacement results of the cylinder at t=1 second. It can be seen from the figure that the calculation results of BMLS-ST are very close to the finite element results, where the maximum value of the displacement solution of BMLS-ST is 0.0031 meters, and the maximum value of the finite element displacement solution is 0.0032 meters. In terms of calculation time, the calculation time of BMLS-ST (based on Matlab) is 0.7 seconds, while the finite element calculation time is 3 seconds (the computer configuration is CPU 3.50 GHz, running memory 128G). From the above comparison, it can be seen that the method of this application can not only ensure the calculation accuracy when simulating wave propagation in three-dimensional structures, but also significantly improve the calculation efficiency.

[0076] According to the stress wave propagation numerical simulation method provided by the embodiment of the present application, firstly, discrete point data composed of multiple discrete points in the three-dimensional space direction and the time direction are constructed, and then the four-dimensional shape function of the stress wave propagation in the structure is constructed by the discrete point data, and finally the propagation process of the stress wave of the structure in the virtual four-dimensional space is described by the four-dimensional shape function. Since the method of the present application adopts the moving least squares method to construct the shape function based on the discrete point data, the shape function can form a local approximation around the discrete point, and there is no need to generate a regular or irregular grid in the entire calculation domain. Therefore, by obtaining the discrete points, there is no need to divide the fine grid in the space in advance, and the numerical simulation of stress wave propagation is freed from the dependence on the grid algorithm. Since the grid division not only consumes a lot of time and computing resources, but also has low accuracy in processing complex geometric structures, the construction of the four-dimensional shape function by a small number of discrete point data can significantly simplify the simulation process, reduce the complexity of the simulation, effectively save the simulation time and computing resources, and improve the simulation efficiency and accuracy.

[0077] Secondly, the present application uses the moving least squares approximation to construct the shape function, and subsequently a variety of high-order basis functions can be selected for approximate calculations, thereby ensuring the high-order accuracy of the calculation results. Moreover, in the process of constructing the four-dimensional shape function, by adding the time shape function in the time direction on the basis of the number of spatial shape functions in three-dimensional space, a larger step size can be used in time discretization for calculation to achieve the unconditional convergence characteristics of the numerical simulation of stress waves, which can solve the problem of non-convergence of the results due to the time step size in the direct grid algorithm when processing time domain problems through the integral method. Therefore, the present application can significantly improve the accuracy and efficiency of the simulation calculation of stress wave propagation in complex three-dimensional structures.

[0078] Fig. 9 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Fig. 9As shown, the electronic device may include: a processor 301 , a memory 302 . The electronic device may also include one or more of a multimedia component 303 , an input / output (I / O) component 304 , and a communication component 305 .

[0079] The processor 301 is used to control the overall operation of the electronic device to complete all or part of the steps in the above-mentioned vehicle control method. The memory 302 is used to store various types of data to support the operation of the electronic device, and these data may include instructions for any application or method used to operate on the electronic device, as well as application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 303 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 302 or sent through the communication component 305. The audio component also includes at least one speaker for outputting audio signals. The I / O component 304 provides an interface between the processor 301 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 305 is used for wired or wireless communication between the electronic device and other devices. Wireless communication, such as WiFi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 305 may include: WiFi module, Bluetooth module, NFC module, etc.

[0080] In an exemplary embodiment, the electronic device can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned vehicle control method.

[0081] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned vehicle control method are implemented. For example, the computer-readable storage medium may be the above-mentioned memory 302 including program instructions, and the above-mentioned program instructions may be executed by the processor 301 of the electronic device to complete the following steps: Get discrete point data; constructing a four-dimensional shape function of stress wave propagation in the structure based on the discrete point data; The stress and strain distribution of the structure is obtained according to the four-dimensional shape function.

[0082] The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings; however, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, a variety of simple modifications can be made to the technical solution of the present application, and these simple modifications all fall within the protection scope of the present application.

[0083] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, this application will not further describe various possible combinations.

[0084] In addition, the various implementation modes of the present application may be arbitrarily combined, and as long as they do not violate the concept of the present application, they should also be regarded as the contents disclosed in the present application.

Claims

1. A numerical simulation method, characterized in that: include: Get discrete point data; constructing a four-dimensional shape function of stress wave propagation in the structure based on the discrete point data; The stress and strain distribution of the structure is obtained according to the four-dimensional shape function.

2. The numerical simulation method according to claim 1, characterized in that: The step of obtaining the stress and strain distribution of the structure according to the four-dimensional shape function comprises: Introducing the four-dimensional shape function into the elastic wave equation to obtain the corresponding three-dimensional elastic wave equation; The three-dimensional elastic wave equation is solved to obtain the stress and strain distribution of the structure.

3. The numerical simulation method according to claim 1, characterized in that: The constructing of a four-dimensional shape function of stress wave propagation in a structure according to the discrete point data comprises: Constructing a one-dimensional shape function of stress wave propagation in the structure according to the discrete point data; the one-dimensional shape function includes a spatial shape function in a three-dimensional spatial direction and a temporal shape function in a temporal direction; The one-dimensional shape function in the three-dimensional space direction and the one-dimensional shape function in the time direction are combined into a four-dimensional shape function.

4. The numerical simulation method according to claim 3, characterized in that: The step of constructing a spatial shape function for stress wave propagation in a structure according to the discrete point data comprises: Acquire spatial discrete points set in the three-dimensional space direction; According to the moving least squares algorithm and the spatial discrete points, a spatial shape function of the three-dimensional spatial direction is constructed.

5. The numerical simulation method according to claim 3, characterized in that: The step of constructing a time shape function of stress wave propagation in a structure according to the discrete point data comprises: Acquire time discrete points set in the three-dimensional space direction; According to the moving least squares algorithm and the time discrete points, a time shape function of the three-dimensional space direction is constructed.

6. The numerical simulation method according to claim 4, characterized in that: The step of constructing the spatial shape function of the three-dimensional spatial direction according to the moving least squares algorithm and the spatial discrete points includes: Obtaining basis functions of the three-dimensional space direction; Processing each of the spatial discrete points according to the moving least squares algorithm to determine undetermined coefficients for constructing the spatial shape function; According to the transposed form of the basis function and the undetermined coefficients, the spatial shape function in the three-dimensional space direction is constructed.

7. The numerical simulation method according to claim 6, characterized in that: The step of processing each of the spatial discrete points according to the moving least squares algorithm to determine the undetermined coefficients for constructing the spatial shape function includes: Determine the actual node value and approximate value of each spatial discrete point according to the moving least squares method; Determine the corresponding norm error according to the difference between the node value and the approximate value of each of the spatial discrete points; The norm error is minimized to obtain the unknown coefficients in the three-dimensional space direction.

8. The numerical simulation method according to claim 7, characterized in that: The step of combining the one-dimensional shape function in the three-dimensional space direction and the one-dimensional shape function in the time direction into a four-dimensional shape function comprises: The spatial shape functions of each direction in the three-dimensional space are coupled to obtain a three-dimensional shape function; The three-dimensional shape function is coupled with the time shape function to obtain a four-dimensional shape function of the space-time boundary.

9. The numerical simulation method according to claim 2, characterized in that: The four-dimensional shape function is introduced into the elastic wave equation to obtain the corresponding three-dimensional elastic wave equation, including: Obtaining the Poisson's ratio of the material corresponding to the structure; Obtaining target coefficients according to the first-order derivative, the second-order derivative and the unit matrix of the one-dimensional shape function; The three-dimensional elastic wave equation is determined according to the target coefficient, the Poisson's ratio and the node value of each discrete point.

10. The numerical simulation method according to claim 9, characterized in that: The four-dimensional shape function is expressed as: in, is the spatial shape function in the x-axis direction, is the spatial shape function in the y-axis direction, is the spatial shape function in the z-axis direction, is the time shape function in the time t direction.

11. The numerical simulation method according to claim 9, characterized in that: The three-dimensional elastic wave equation is expressed as: ; in, is the target coefficient, , , , , , , , , , , , is the one-dimensional shape function , , , The unit matrix is ​​of the same size, μ is the Poisson's ratio, and u is the node value of the discrete point.

12. The numerical simulation method according to claim 9, characterized in that: The step of solving the three-dimensional elastic wave equation to obtain the stress and strain distribution of the structure includes: Substituting the initial conditions and boundary conditions of the three-dimensional elastic wave equation into the three-dimensional elastic wave equation to obtain the displacement component of each discrete point; According to the one-dimensional shape function of each discrete point and the derivative of each one-dimensional shape function, the displacement component of each discrete point is calculated to obtain the stress and strain distribution of the structure.

13. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the method according to any one of claims 1 to 12.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program instructions, which implement the method according to any one of claims 1 to 12 when executed.

15. A computer program product, characterized in that The computer program product comprises program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Flexible body structure high-order nonlinear finite element numerical simulation method based on quintic Hermite shape function

    CN113076677A

  • Three-dimensional finite element forward modeling method and device based on viscous acoustic waves

    CN117932994A

  • Method and device for analyzing three-dimensional wave

    JP2000194737A

Cited By

  • Refuse landfill leakage detection method and system considering inhomogeneous medium stress wave propagation

    CN119803802A