Lightweight modeling method and device for main stress trace bionic structure, medium and product

The main stress trace distribution is determined through finite element software and numerical integral algorithm, and a lightweight model is constructed based on the maximum stress path, which solves the problem of high computational complexity and inability to draw the modeling of porous structures in the existing technology, so as to achieve The fast and efficient bionic structure lightweight design reduces the shear stress distribution inside the structure.

CN119026399AInactive Publication Date: 2024-11-26SUZHOU ZHIJIN MEDICAL EQUIPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411018070.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the modeling of porous structures for building main stress traces has high computational complexity and the inability to draw main stress traces, which makes the application in the field of additive manufacturing challenging.

Method used

By inputting the finite element model of the target bionic structure into the finite element software, the main stress trace distribution is determined using the numerical integral algorithm, and a lightweight model is constructed based on the maximum stress path, and finite element simulation verification is carried out to optimize the model and reduce shearing inside the structure Stress distribution.

Benefits of technology

It realizes the rapid and efficient construction of solid models with bionic characteristics, significantly reduces the shear stress distribution inside the structure, solves the problems of high computational complexity and the inability to draw main stress traces, and meets higher engineering needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026399A_ABST
    Figure CN119026399A_ABST
Patent Text Reader

Abstract

The invention discloses a main stress trace bionic structure lightweight modeling method and device, a medium and a product, and relates to the technical field of computer aided design and industrial design manufacturing, the method comprises the following steps: inputting a finite element model of a target bionic structure into finite element software to obtain a main stress trace of the target bionic structure; according to the principal stress trace, determining principal stress trace distribution of the target bionic structure under a specific stress working condition by adopting a numerical integration algorithm; constructing a lightweight model of the target bionic structure based on the maximum stress path according to the main stress trace distribution; performing finite element simulation verification on the lightweight model to obtain an optimized lightweight model; the optimized lightweight model is a lightweight model which reduces shear stress distribution in the structure through finite element simulation verification, the problems that the calculation complexity is high and a principal stress trace cannot be drawn are solved, and rapid and efficient construction of lightweight of the solid model with bionic characteristics is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer-aided design and industrial design and manufacturing technology, and in particular to a lightweight modeling method, equipment, medium and product of a principal stress trace bionic structure for 3D printing technology. Background Art

[0002] In view of the uneven force and stress concentration that are common in traditional bionic structures during the stress process, researchers are committed to optimizing structural design to achieve uniform stress distribution, thereby significantly improving the overall efficiency and performance of the structure to meet higher engineering requirements. Currently, the commonly used method is to use topology optimization methods to meet design goals under specific loads and boundary conditions, but the topology optimization process is complex and requires multiple iterations and finite element analysis, which consumes a lot of resources and time.

[0003] In view of the defects of topology optimization method in optimizing structure, a modeling method of constructing a porous structure using the principal stress traces in the original structure is proposed in the prior art. The method does not require huge resources and computing time costs, and the constructed porous structure meets the optimal topological structure standard proposed by Michell and has the characteristics of a bionic structure. However, the modeling of porous structures constructed using principal stress traces currently has the problems of complex calculation of the principal stress field and inability to draw the principal stress traces, and it has not yet been applied in the field of additive manufacturing, so it is challenging to implement. Summary of the invention

[0004] The purpose of this application is to provide a lightweight modeling method, equipment, medium and product for a principal stress trace bionic structure, which can solve the problems of high computational complexity and inability to draw principal stress traces in the prior art for constructing porous structure modeling using principal stress traces.

[0005] To achieve the above objectives, this application provides the following solutions:

[0006] In a first aspect, the present application provides a lightweight modeling method for a principal stress trace bionic structure, the lightweight modeling method for a principal stress trace bionic structure comprising:

[0007] Inputting the finite element model of the target bionic structure into finite element software to obtain the principal stress trace of the target bionic structure;

[0008] According to the principal stress trace, a numerical integration algorithm is used to determine the principal stress trace distribution of the target bionic structure under a specific stress condition;

[0009] According to the principal stress trace distribution and based on the maximum stress path, a lightweight model of the target bionic structure is constructed;

[0010] The lightweight model is verified by finite element simulation to obtain an optimized lightweight model; the optimized lightweight model is a lightweight model that reduces the shear stress distribution inside the structure through finite element simulation verification.

[0011] In a second aspect, the present application provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the above-mentioned principal stress trace bionic structure lightweight modeling methods.

[0012] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-mentioned principal stress trace bionic structure lightweight modeling methods.

[0013] In a fourth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned principal stress trace bionic structure lightweight modeling methods.

[0014] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0015] The present application provides a method, equipment, medium and product for lightweight modeling of a bionic structure with principal stress traces. First, the detailed finite element model of the target bionic structure is accurately imported into a high-performance finite element software system, so that the principal stress traces of the target bionic structure can be carefully acquired and analyzed; then, based on the acquired principal stress traces, a numerical integration algorithm is used to accurately determine the distribution of the principal stress traces of the target bionic structure under specific stress conditions; then, based on these detailed principal stress trace distribution data, a lightweight model of the target bionic structure is constructed according to the guidance of the maximum stress path; in order to verify the validity and reliability of this lightweight model, a detailed finite element simulation is further performed on it, thereby obtaining an optimized lightweight model. This optimized lightweight model significantly reduces the shear stress distribution inside the structure. The present application solves the problems of high computational complexity and inability to draw principal stress traces, and realizes the rapid and efficient construction of lightweight solid models with bionic characteristics. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 This is an application environment diagram of a principal stress trace bionic structure lightweight modeling method in one embodiment of the present application;

[0018] Figure 2 A schematic diagram of a process for a lightweight modeling method of a principal stress trace bionic structure provided in one embodiment of the present application;

[0019] Figure 3 A cantilever beam model diagram provided for an embodiment of the present application;

[0020] Figure 4 A maximum principal stress cloud diagram provided in one embodiment of the present application;

[0021] Figure 5 A minimum principal stress cloud diagram provided in one embodiment of the present application;

[0022] Figure 6 A maximum and minimum principal stress vector distribution diagram provided in an embodiment of the present application;

[0023] Figure 7 A principal stress trace distribution diagram provided in one embodiment of the present application;

[0024] Figure 8 A porous structure diagram based on the distribution of principal stress traces provided in one embodiment of the present application;

[0025] Fig. 9 A grid division diagram of a porous structure of a cantilever beam principal stress trace provided in an embodiment of the present application;

[0026] Fig.10 A principal stress vector distribution diagram of a porous structure of a cantilever beam principal stress trace provided in an embodiment of the present application;

[0027] Fig.11 A distribution diagram of principal stress traces of an X-shaped rod provided in one embodiment of the present application;

[0028] Fig.12 A distribution diagram of principal stress traces of an X-shaped rod provided in one embodiment of the present application;

[0029] Fig.13 A grid division diagram of a porous structure of an X-shaped principal stress trace provided in an embodiment of the present application;

[0030] Fig.14 A principal stress vector distribution diagram of a porous structure with an X-shaped principal stress trace provided in one embodiment of the present application;

[0031] Fig.15 3D printing schematic diagram of two structures provided in one embodiment of the present application;

[0032] Fig.16A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0034] In view of the defects of topology optimization methods in optimizing structures, a modeling method for constructing porous structures using the principal stress traces in the original structure is proposed in the prior art. An analytical method is used to determine the distribution of the principal stress traces, but the equations become too complex and difficult to solve when applied to complex geometries. Numerical methods can be used to solve the distribution of principal stress traces to reduce complexity, but their calculations are still challenging for certain geometries. Because of this, a simpler method is needed to calculate the distribution of principal stress traces. The components of an ideal frame should only be in tension or compression. Because of this, there should be no shear stress in the frame, which means that the components that make up the frame must be tangent to the traces of the principal stresses. However, for complex models, especially three-dimensional models, it is difficult to obtain the distribution of its principal stress traces.

[0035] The purpose of this application is to provide a lightweight modeling method, equipment, medium and product for a principal stress trace bionic structure, which can solve the problems of high computational complexity and inability to draw principal stress traces in the prior art for constructing porous structure modeling using principal stress traces.

[0036] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0037] The principal stress trace bionic structure lightweight modeling method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set up separately, integrated on the server 104, or placed on the cloud or other servers. The terminal 102 can send the finite element model of the target bionic structure to be processed to the server 104. After the server 104 receives the finite element model of the target bionic structure to be processed, for the finite element model of the target bionic structure to be processed, the server 104 inputs the finite element model of the target bionic structure into the finite element software to obtain the principal stress trace of the target bionic structure; according to the principal stress trace, a numerical integration algorithm is used to determine the principal stress trace distribution of the target bionic structure under a specific stress condition; according to the principal stress trace distribution, based on the maximum stress path, a lightweight model of the target bionic structure is constructed; the lightweight model is verified by finite element simulation to obtain an optimized lightweight model; the optimized lightweight model is a lightweight model that reduces the shear stress distribution inside the structure through finite element simulation verification. The server 104 can feed back the obtained optimized lightweight model to the terminal 102. In addition, in some embodiments, the principal stress trace bionic structure lightweight modeling method can also be implemented by the server 104 or the terminal 102 alone, such as the terminal 102 can directly process the finite element model of the target bionic structure to be processed, or the server 104 can obtain the finite element model of the target bionic structure to be processed from the data storage system and process the finite element model of the target bionic structure to be processed.

[0038] The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers, or may be a cloud server.

[0039] In an exemplary embodiment, Figure 2 As shown, a method for lightweight modeling of a principal stress trace bionic structure is provided. The method is executed by a computer device, and specifically can be executed by a computer device such as a terminal or a server alone, or can be executed by a terminal and a server together. In the embodiment of the present application, the method is applied to Figure 1 The server 104 in the example is used for explanation, and the steps include the following steps 201 to 208.

[0040] in:

[0041] Step 201: inputting the finite element model of the target bionic structure into finite element software to obtain the principal stress traces of the target bionic structure.

[0042] Step 202: According to the principal stress traces, a numerical integration algorithm is used to determine the principal stress trace distribution of the target bionic structure under a specific stress condition.

[0043] Step 203: constructing a lightweight model of the target bionic structure according to the principal stress trace distribution and based on the maximum stress path.

[0044] Step 204: Perform finite element simulation verification on the lightweight model to obtain an optimized lightweight model; the optimized lightweight model is a lightweight model that reduces the shear stress distribution inside the structure through finite element simulation verification.

[0045] In some implementations, before executing step 201, the following steps may also be included:

[0046] The target bionic structure is obtained.

[0047] Feature extraction is performed on the target bionic structure to obtain feature data of the target bionic structure.

[0048] An initial model of the bionic structure is established according to the characteristic data of the target bionic structure.

[0049] The finite element analysis method is used to simulate the stress conditions of the target bionic structure under different working conditions to obtain a finite element model of the target bionic structure.

[0050] In some implementations, when executing steps 201-203, the specific steps may be as follows:

[0051] According to the Cartesian coordinate system, several stress components of the finite element model of the target bionic structure are determined; the stress components include normal stress in the x direction, normal stress in the y direction, normal stress in the z direction, shear stress in the xy plane, shear stress in the xz plane and shear stress in the yz plane.

[0052] Based on the stress components, the stress tensor is determined by solving using eigenvalues.

[0053] The homogeneous equation group of the target bionic structure is established according to the stress tensor and the stress components.

[0054] According to the homogeneous equation group of the target bionic structure, the solution equation of the principal stress trace is determined.

[0055] According to the solution equation of the principal stress trace, the size and direction of the principal stress trace are obtained.

[0056] Specifically, the finite element calculation is implemented through the user subroutine in the ABAQUS software and the size and direction of the principal stress trace are obtained. In this embodiment, the principal stress and its direction are calculated by calling CALL SPRIND(S, PS, AN, LSTR, NDI, NSHR) in the user material subroutine (UMAT). Among them, the input variable S is stress or stress array; PS (K1) is the three principal stresses or principal strains output; AN (K1, I) is the direction cosine of the principal stress or principal strain corresponding to PS (K1); LSTR is the calculation type identifier, when LSTR = 1, S is stress, and the principal stress is calculated; when LSTR = 2, S is strain, and the principal strain is calculated; NDI is the number of principal stresses; NSHR is the number of shear stresses. For the convenience of output, the program for calculating the principal stress is mounted in the user material subroutine. The direction cosine field distribution of the principal stress and the magnitude field distribution of the principal stress are output through the user material subroutine.

[0057] The specific process of constructing the principal stress trace distribution is as follows:

[0058] The stress state obtained by finite element calculation is usually expressed by stress components relative to an orthogonal coordinate system, which can be expressed in matrix form. Taking a two-dimensional model as an example, this matrix is ​​specified according to the Cartesian coordinate system and contains nine components:

[0059]

[0060] Among them, σ is the stress tensor, σ xx , σ yy , σ zz is the normal stress in the X, Y, and Z directions, τ xy , τ xz , τ yx is the shear stress in the three planes, and is solved using the eigenvalue:

[0061] σ-σ H E)v=0 (2).

[0062] Under the condition v≠0, the matrix det(σ-σ H E) = 0, establish the following homogeneous equation system:

[0063]

[0064] Where i∈[1,2,3], the solutions of the three equations are eigenvectors. They are orthogonal to each other. When dealing with the above two-dimensional problems, usually in the plane stress state and plane strain state of stress. Whether it is a plane stress state or a plane strain state. The solution of the principal stress trace is:

[0065]

[0066] Usually, the principal stresses can be grouped directly by evaluating σ1 as positive and σ2 as negative. However, this means that the positive and negative values ​​along the trace are not necessarily the same group of principal stresses, which can lead to a confusing principal stress trace. Therefore, the principal stresses are grouped by the direction and angle of the principal stresses.

[0067]

[0068] In the formula, It represents the angle of the first principal stress or the third principal stress direction. Therefore, the direction and magnitude of the principal stress can be calculated through the stress field distribution. This method can be implemented by calling CALL SPRIND(S, PS, AN, LSTR, NDI, NSHR) in the ABAQUS subroutine, where S is the σ stress tensor in formula (1).

[0069] Among them, the finite element method calculates the principal stress field, specifically:

[0070] The main process of finite element calculation is to build a geometric model, input material parameters, apply loads and boundary conditions, divide the grid, and finally solve to obtain variables such as stress and strain at each point in the grid. The patent of this invention realizes finite element calculation and obtains the size and direction of the principal stress trace through the user subroutine in ABAQUS software. The user subroutine of ABAQUS provides a secondary development function using Fortran, which can flexibly define load distribution, material constitutive and unit according to actual needs. This method calculates the principal stress and its direction by calling CALL SPRIND(S, PS, AN, LSTR, NDI, NSHR) in the user material subroutine (UMAT). Among them, the input variable S is stress or stress array; PS (K1) is the output of three principal stresses or principal strains; AN (K1, I) is the direction cosine of the principal stress or principal strain corresponding to PS (K1); LSTR is the calculation type identifier, when LSTR = 1, S is stress, calculate the principal stress, when LSTR = 2, S is strain, calculate the principal strain; NDI is the number of principal stresses; NSHR is the number of shear stresses. To facilitate output, the principal stress calculation program is mounted in the user material subroutine.

[0071] When the ABAQUS software customizes the material model, for three-dimensional elements, the stress-strain tensor is stored as follows:

[0072] σ=[σ 11 σ 22 σ 33 σ 12 σ 23 σ 31 ] T (6).

[0073] ε=[ε11 ε 22 ε 33 ε 12 ε 23 ε 31 ] T (7).

[0074] Under plane stress conditions, the stress-strain tensor is stored as:

[0075] σ=[σ 11 σ 22 σ 12 ] T (8).

[0076] ε=[ε 11 ε 22 ε 12 ] T (9).

[0077] In some implementations, when executing step 202, the specific steps may be as follows:

[0078] According to the principal stress trace, the fourth-order Runge-Kutta algorithm is used to determine the principal stress trace distribution of the target bionic structure under a specific stress condition, specifically including:

[0079] According to the principal stress trace, the first streamline formula of the stress direction field dρ(τ) / dt=v(ρ(t)) is determined.

[0080] When the initial point τ=0, the first streamline formula is solved step by step to obtain the second streamline formula ρ(τ+

[0081]

[0082] The fourth-order Runge-Kutta algorithm is used to solve the second streamline formula to determine the distribution of the principal stress traces of the target bionic structure under a specific stress condition.

[0083] Where ρ(τ) is the point on the streamline, ν(ρ(τ)) is the flow vector at that point, and Δτ is the time step.

[0084] Specifically, the method of drawing the principal stress trace is usually through a numerical integration algorithm, and the more commonly used ones are the Euler algorithm, the second-order or fourth-order Runge-Kutta algorithm. The principal stress trace is the streamline in the stress direction field. The definition of a streamline is a curve passing through space, and each point of the streamline is tangent to the vector field. It represents the path of a weightless particle passing through a vector field (assuming steady-state flow). In this embodiment, the fourth-order Runge-Kutta method is used to calculate the principal stress trace.

[0085] Assuming that the motion law of a particle in a flow field is described by a velocity vector, it can be expressed in the following form:

[0086] v=v(r,t)v=v(r,t) (10).

[0087] Where r is the position vector of point P. In order to find the functional relationship between the position of point P and time t, it can be obtained by solving the following differential equation:

[0088] dr(t) / dt=v(r(t)) (11).

[0089] Solving the above equation, we can get:

[0090] r(t+Δt)=r(t)+∫v(r(t))dtr(t+Δt)=r(t)+∫v(r(t))dt (12).

[0091] It is impossible to express the curve described by the above equation with an explicit function. In order to obtain the curve, numerical integration is introduced in this embodiment. Using the idea of ​​numerical integration, the curve can be discretized into many discrete points in this embodiment. As long as the starting point of the curve is given, the position of point P at time Δt, 2Δt, 3αt…t+Δt can be obtained by using the method of numerical integration. By connecting these discrete points with straight lines, an approximate curve can be obtained.

[0092] Therefore, the principal stress traces are defined as streamlines of the stress direction field:

[0093] dρ(τ) / dt=v(ρ(t)) (13).

[0094] Where ρ(τ) is a point on the streamline, and v(ρ(τ)) is the flow vector of the point. When the initial point T = 0, by solving the above differential equation step by step, the streamline is obtained:

[0095]

[0096] The equation is solved by Runge-Kutta fourth-order numerical integration method:

[0097]

[0098] Δρ1=s×v(ρ(τ)) (16).

[0099]

[0100] ρ(τ n ) is the current integration position, s is the step size, ρ(τ n+1 ) is the position of the next point obtained by integration, and υ(ρ(τ)) is the tangent direction of the point.

[0101] In order to minimize the error and make the step size as large as possible, an adaptive step size mechanism based on local truncation error is adopted.

[0102]

[0103] Given the error tolerance range (ε min ,ε max ), when ε<ε min , the step size doubles when ε>ε max , the step size is halved.

[0104] Due to the adaptive step size, the distance ρ(τ n ) and ρ(τ n+1 ) is not fixed. Therefore, in order to establish samples with uniform spacing for distance control, the present embodiment adopts the cubic Hermite polynomial interpolation method to sample each streamline:

[0105] Φ(μ)=Aμ 3 +Bμ 2 +Cμ+D;μ=(τ s -τ n ) / (τ n+1 -τ n )∈[0,1] (19).

[0106] When τ n and τ n+1 They are respectively the point ρ(τ n ) and ρ(τ n+1 ) is the length of the curve. s ∈[τ n ,τ n+1 ] is the curve length of the uniform interpolation sample:

[0107]

[0108] At this time, the boundary conditions are:

[0109]

[0110] τ s Initialized to a given sample size and incremented by ζ after each sample interpolation until τ s In [τ n ,τ n+1 ] range. The interval between two consecutive points, i.e. the step size τ n -τ n+1 It may be dozens of times the cell size, so there are likely many evenly spaced samples in this range, which can be quickly generated using the forward difference equation:

[0111]

[0112] Among them, μ δ =ζ / (τ n+1 -τ n ), once the first uniformly spaced samples Φ1(μ), Φ2(μ), Φ3(μ) in an interpolation interval are calculated, subsequent samples in the same interval can be recursively obtained by adding each sample three times:

[0113]

[0114] Where Φ(μ k ) and Φ(μ k+1 ) are samples k and k+1 uniformly interpolated in the same interval.

[0115] After obtaining the equally spaced principal stress trace distribution through the above algorithm, a rectangular or circular cross section is constructed on the plane perpendicular to the principal stress trace, and a rod structure is generated by stretching along the trace direction. Finally, these rod structures form a porous structure based on the principal stress trace.

[0116] The cross-sectional dimensions can be set as a uniform parameter or changed according to the transformation of the stress scalar field.

[0117] In some implementations, when executing step 204, the specific steps may be as follows:

[0118] Finite element simulation was performed on the constructed lightweight model to verify that under the same load, there was no obvious shear stress inside the structure, and the maximum stress of the lightweight structure was less than the maximum stress of the original model. The cross-section of the lightweight structure can be optimized according to the magnitude of the principal stress, increasing the cross-section size in areas with larger principal stress and reducing the cross-section size in areas with smaller principal stress.

[0119] Specifically, for the principal stress trace bionic structure lightweight modeling method, this application provides two specific implementation cases, as follows:

[0120] Specific implementation case 1:

[0121] like Figure 3 As shown in the figure, a 2D cantilever beam finite element model with a length of 50 mm and a width of 20 mm was created and imported into the ABAQUS finite element software. The bottom is a fixed constraint, and a shear force of 100 N is applied at the center of the top. The model consists of 1200 plane stress quadrilateral elements. It uses a linear elastic material model with an elastic modulus of 13700 MPa and a Poisson's ratio of 0.3. During the calculation process, the written principal stress trace program is loaded.

[0122] like Figure 4 and5 As shown, the maximum value of the maximum principal stress is concentrated at the bottom of the left side of the cantilever beam, and the minimum value of the minimum principal stress is concentrated at the bottom of the right side of the cantilever beam. It can be seen that the left bottom end is the position of maximum tensile stress, and the right bottom end is the position of maximum compressive stress, which is consistent with the load direction. By comparing the maximum and minimum principal stress cloud graphs, it can be found that the two stress distribution values ​​are equal but in opposite directions. The stress is relatively large at the applied shear force and the bottom edge, which is in line with the expected results of finite element analysis. In order to more clearly show the magnitude and direction of the principal stress, Figure 6 The maximum and minimum principal stress vector field distributions are shown in Figure 2. The length of the line segment represents the magnitude of the principal stress at that point. The red line represents the maximum principal stress and the blue line represents the minimum principal stress. The maximum and minimum principal stresses are perpendicular to each other. The line segments are denser at the stress concentration point and sparser at the center of the cantilever beam where the stress is smaller.

[0123] By using the principal stress trace extraction method mentioned above, we can obtain Figure 7 The principal stress traces are shown in Figure 1. The scale is the magnitude of the principal stress, red represents the maximum principal stress vector, and blue represents the minimum principal stress. The principal stress concentration area is at the bottom of the cantilever beam. The extracted principal stress traces and principal stress vector distribution Figure 1 To.

[0124] like Figure 8 As shown in the figure, the extracted stress trace sets the radius of the rod to 2 mm and converts it into a porous structure based on the principal stress trace. Among them, the rod structure on both sides of the cantilever beam is arranged more closely, which is consistent with the principal stress distribution in the finite element analysis. The distribution is sparse in the area with less stress, which saves material and reduces the elastic modulus of the structure.

[0125] The porous structure established based on the principal stress trace is imported into the finite element software ABAQUS for analysis. Fig. 9 As shown in the figure, the established finite element model is divided by tetrahedral mesh, which contains 45115 nodes and 21538 units, and the same shear force is applied for analysis. In terms of material properties, it is set as titanium alloy material, with an elastic modulus of 110Gpa and a Poisson's ratio of 0.3.

[0126] In order to verify whether the porous structure prosthesis based on the principal stress trace structure can extend along the direction of the porous structure rod without generating shear stress under the same load, the vector distribution diagram of the principal stress field in the finite element calculation results of the porous structure was extracted. Fig.10The distribution of principal stress traces inside the structure, where the red arrow is the direction of the maximum principal stress, the blue arrow is the direction of the minimum principal stress, and the length of the arrow represents the magnitude of the principal stress value. From the principal stress vector diagram, it can be seen that under the same load, most of the principal stress traces are along the rod direction of the porous structure, and there is a direction deviation at the junction of very few rods. It can be clearly seen that this structure is composed of orthogonal tensile and compressive components. It can be concluded that the porous structure obtained by the principal stress trace can avoid the occurrence of shear stress to a great extent. The porous structure obtained by this method follows the path of maximum stress to the greatest extent, which is in line with Michell's proposal to add materials along the path of maximum stress to optimize stiffness.

[0127] Specific implementation case 2:

[0128] A similar process is used, based on the cross bar model, an X-shaped structure consisting of two sets of bars with an angle of 30. Assume a continuous model. The model is linear elastic, uniform, and isotropic. Apply axial load to the structure and calculate the following Fig.11 The principal stress traces are shown and compared with Fig.12 Compare the results in .

[0129] By comparison, it is found that the principal stress traces extracted by this method are Fig.12 The trace structure in is exactly the same. By comparison, it is found that the principal stress trace only depends on the direction of the principal stress, and the stress traces are mutually orthogonal. Among them, the scale is the magnitude of the principal stress, red represents the maximum principal stress vector, and blue represents the minimum principal stress. The principal stress concentration area is at the intersection of the rods, and the principal stress traces are also dense here.

[0130] like Fig.13 As shown in the figure, the extracted stress trace sets the radius of the rod to 2 mm and converts it into a porous structure based on the principal stress trace. The model is imported into the finite element software ABAQUS for analysis. For example, in order to print Fig.15 The model shown in the figure is divided into tetrahedral meshes, with a total of 45115 nodes and 21538 units, and the same shear force is applied for analysis. In terms of material properties, the elastic modulus is set to 1.37 Gpa and the Poisson's ratio is set to 0.3.

[0131] Similarly, in order to verify whether the X-shaped porous structure can also extend along the direction of the porous structure rod without generating shear stress under the same load, the vector distribution diagram of the principal stress field in the finite element calculation results of the porous structure was extracted. Fig.14The distribution of principal stress traces inside the X-shaped structure, where the red arrow is the direction of the maximum principal stress, the blue arrow is the direction of the minimum principal stress, and the length of the arrow represents the magnitude of the principal stress value. From the principal stress vector diagram, it can be seen that the principal stress traces of the porous structure established based on the principal stress traces are still along the rod direction of the porous structure under the same load. The edges of the rods mainly bear the principal stress in the compressive direction, and the tensile stress is borne in the horizontal direction. It can be clearly seen that this structure is composed of orthogonal tensile and compressive components. The significance of proposing this model is that the structure can be approximately regarded as a representative volume unit of the trabecular structure. When the same load is applied to the porous structure prosthesis, it can be found that the principal stress traces still develop along the direction of the discrete rods. In the porous structure, tensile and compressive stresses are mainly dominant, and there is little shear force. Therefore, the porous structure established by the principal stress traces obtained by the continuum can be equivalent to the principal stress traces of the discrete body.

[0132] The above two simple models verify the effectiveness of this method. Through the method in this embodiment, the principal stress traces can be created simply and quickly. First, the magnitude and direction of the principal stress are solved using a commercial finite element program. Then, the principal stress traces are arranged at equal intervals using the Runge-Kutta fourth-order method. Finally, a porous structure is created based on the trace distribution and the set rod diameter. At the same time, the above two porous structures based on the principal stress traces are 3D printed ( Fig.15 ).

[0133] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Fig.16 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for the optimized lightweight model. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for lightweight modeling of a principal stress trace bionic structure is implemented.

[0134] Those skilled in the art will understand that Fig.16The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0135] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0136] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0137] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0138] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0139] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0140] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.

[0141] In summary, this application has the following technical effects:

[0142] 1) This application calculates the principal stress distribution of the structure through the Runge-Kutta method, and constructs a smooth lightweight model with bionic characteristics. The model follows the path of maximum stress to build the structure, and has the characteristics of reducing materials while maintaining stiffness. Through finite element simulation verification, under the same characteristic constraints and force conditions, this method can reduce the distribution of shear stress inside the structure. At the same time, compared with the structural topology optimization method, it has the characteristics of simplicity and efficiency, avoiding the process of continuous iteration of structural topology optimization. The present invention can truly realize the rapid and efficient construction of lightweight solid models with bionic characteristics, so that the model lightweight design optimization cycle is greatly shortened; the designed structure has smoothness, full connectivity, and controllability, which can ensure the effectiveness and manufacturability of lightweighting.

[0143] 2) The structure constructed by the modeling method of the present application strictly follows the optimal topological structure standard defined by Michell, achieving a reduction in structural weight. In addition, the principal stress traces of the model established by this method are highly consistent with the "Wolff" law in the trabecular structure, giving the structure unique bionic characteristics.

[0144] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0145] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A lightweight modeling method of a principal stress trace bionic structure, characterized in that: The method for lightweight modeling of a principal stress trace bionic structure comprises: Inputting the finite element model of the target bionic structure into finite element software to obtain the principal stress trace of the target bionic structure; According to the principal stress trace, a numerical integration algorithm is used to determine the principal stress trace distribution of the target bionic structure under a specific stress condition; According to the principal stress trace distribution and based on the maximum stress path, a lightweight model of the target bionic structure is constructed; The lightweight model is verified by finite element simulation to obtain an optimized lightweight model; the optimized lightweight model is a lightweight model that reduces the shear stress distribution inside the structure through finite element simulation verification.

2. A lightweight modeling method of principal stress trace bionic structure according to claim 1, characterized in that: The finite element model of the target bionic structure is input into the finite element software to obtain the principal stress trace of the target bionic structure, specifically including: Determine several stress components of the finite element model of the target bionic structure according to a Cartesian coordinate system; the stress components include normal stress in the x direction, normal stress in the y direction, normal stress in the z direction, shear stress in the xy plane, shear stress in the xz plane, and shear stress in the yz plane; Determining a stress tensor based on the stress components by solving using eigenvalues; Establishing the homogeneous equation group of the target bionic structure according to the stress tensor and the stress components; Determining the solution equations of the principal stress traces according to the homogeneous equations of the target bionic structure; According to the solution equation of the principal stress trace, the size and direction of the principal stress trace are obtained.

3. The lightweight modeling method of a principal stress trace bionic structure according to claim 1, characterized in that: Before the finite element model of the target bionic structure is input into the finite element software to obtain the principal stress trace of the target bionic structure, the method further includes: Acquire the target bionic structure; Extracting features of the target bionic structure to obtain feature data of the target bionic structure; Establishing an initial model of the bionic structure according to the characteristic data of the target bionic structure; The finite element analysis method is used to simulate the stress conditions of the target bionic structure under different working conditions to obtain a finite element model of the target bionic structure.

4. The lightweight modeling method of a principal stress trace bionic structure according to claim 1, characterized in that: The lightweight model is verified by finite element simulation to obtain an optimized lightweight model, which specifically includes: According to the magnitude of each principal stress in the lightweight model, the cross section of the lightweight model is optimized, specifically including: For areas where the principal stress is greater than the set threshold, the cross-section size increase operation is performed; For regions where the principal stress is less than the set threshold, a cross-sectional size reduction operation is performed.

5. The lightweight modeling method of principal stress trace bionic structure according to claim 1, characterized in that: The finite element software is ABAQUS software.

6. The lightweight modeling method of principal stress trace bionic structure according to claim 1, characterized in that: The numerical integration algorithms include Euler algorithm, second-order and fourth-order Runge-Kutta algorithm.

7. The lightweight modeling method of principal stress trace bionic structure according to claim 1, characterized in that: According to the principal stress trace, a numerical integration algorithm is used to determine the principal stress trace distribution of the target bionic structure under a specific stress condition, specifically including: According to the principal stress trace, the fourth-order Runge-Kutta algorithm is used to determine the principal stress trace distribution of the target bionic structure under a specific stress condition, specifically including: According to the principal stress trace, the first streamline formula of the stress direction field dρ(τ) / dt=v(ρ(t)) is determined; When the initial point τ = 0, the first streamline formula is solved step by step to obtain the second streamline formula Using a fourth-order Runge-Kutta algorithm, the second streamline formula is solved to determine the distribution of the principal stress traces of the target bionic structure under a specific stress condition; Where ρ(τ) is the point on the streamline, ν(ρ(τ)) is the flow vector at that point, and Δτ is the time step.

8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a principal stress trace bionic structure lightweight modeling method according to any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, a principal stress trace bionic structure lightweight modeling method according to any one of claims 1 to 7 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, a principal stress trace bionic structure lightweight modeling method according to any one of claims 1 to 7 is implemented.