A porous structure design method based on multi-microstructure prototype and multi-scale finite element
The porous material structure topology optimization method that combines the level set function and EMsFEM solves the problem of high computational resources and time consumption in the existing technology, and achieves efficient multi-scale structure design, especially the application efficiency in three-dimensional problems is improved.
Patent Information
- Application Number
- CN202210544212.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-18
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-05-18
AI Technical Summary
Existing multi-scale structural optimization design methods consume too much computing resources and time when ensuring the continuity of adjacent microstructures, especially in three-dimensional problems. Their application is limited.
The level set function is used to describe the microstructure boundary and topological shape, combined with the extended multiscale finite element method (EMsFEM) to calculate the microstructure performance, build an offline database, and achieve the reconstruction of the macroscopic optimal topology structure through online topology optimization analysis and design.
It significantly saves computing resources and time, and improves the calculation efficiency of design variables. Especially the application efficiency in three-dimensional problems is significantly improved, and optimization results can be obtained more quickly.
Smart Images

Figure CN114861497B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of engineering structure optimization, and in particular relates to a porous structure design method based on multi-microstructure prototypes and multi-scale finite elements. Background Art
[0002] A cellular structure is a multi-scale structure with multi-scale characteristics, that is, the maximum characteristic size is very different from the minimum characteristic size. With the rapid development of manufacturing technology, cellular materials (Cellular Structure) are widely used in various industries due to their advantages such as lightweight, high specific strength, heat insulation and noise reduction, shock absorption and energy absorption.
[0003] Taking a porous structure with two geometric characteristic scales as an example, the two scales are called macroscale and microscale respectively. These two scales influence each other. At the microscale, the microstructural configuration significantly affects its macroscopic equivalent physical properties. At the macroscale, the boundary conditions and external load distribution of the structure will affect the local stress-strain state of the structure. The scale-related design method usually consumes a lot of computing resources. In order to reduce the amount of calculation of multi-scale structures, homogenization methods, representative volume element methods, multi-scale finite element methods, etc. have been proposed one after another.
[0004] At present, there are many methods to solve this problem. Representative ones are multi-scale structural optimization design algorithms based on computational homogenization methods. However, since the homogenization method is based on the assumption of scale separation, the manufacturability of the optimized multi-scale structure and the continuity between adjacent microstructures cannot be guaranteed. In order to ensure the smooth connection between adjacent microstructures, people have done a lot of work, including the use of dehomogenization technology, mapping and interpolation technology, full-scale analysis technology, and data-driven technology. Based on the variable cut (VCUT) level set method, Liu et al. and Xia et al. developed a multi-variable cut (M-VCUT) level set method to optimize the adjacent microstructures with at least C between them. 0 Continuous cell structure. In this method, the optimization design of the microstructure configuration is converted into the change of the cutting height of the corresponding coarse-scale unit node, which greatly reduces the number of design variables while maintaining the microstructure performance. The M-VCUT level set method is based on full-scale grids for structural analysis and sensitivity analysis, which consumes a lot of computing resources and computing time. This seriously limits the application of this method in practical engineering, especially for three-dimensional problems. Summary of the invention
[0005] The main goal of this invention is to propose a topology optimization framework for porous materials. The level set method (LSM) is used to describe the microstructure boundary and topological shape, and a multi-scale calculation method, namely the extended multi-scale finite element method (EMsFEM), is selected to calculate the microstructure performance, build an offline database, and obtain the macroscopic optimal topological structure through online topological optimization analysis and design, and finally reconstruct the fine-scale model. This framework is called a data-driven porous material structure topology optimization method, which can save a lot of computing resources and time.
[0006] The present invention adopts the following technical solution:
[0007] A porous structure design method based on multi-microstructure prototypes and multi-scale finite elements, comprising the following steps:
[0008] Step S1. defining the level set function of the porous structure microstructure prototype, and cutting these level set functions with multiple cutting planes to obtain a series of basic microstructures with different relative densities;
[0009] Step S2. Combining these basic microstructures to generate a series of real microstructures, and calculating the equivalent unit stiffness matrix and relative density of the real microstructures;
[0010] Step S3. Establishing the mapping relationship between the real microstructure equivalent stiffness matrix, microstructure relative density, and design variables to form an offline database;
[0011] Step S4. Optimize based on the coarse-scale grid, use interpolation and numerical derivation techniques to perform structural analysis and sensitivity analysis based on the data stored in the offline database, and obtain the distribution of design variables after the coarse-scale optimization;
[0012] Step S5. According to the distribution of the basic microstructure design variables in step S4 and the level set function in step S1, the original-size porous structure is geometrically represented and reconstructed to finally obtain a full-size porous structure.
[0013] Furthermore, the basic microstructure in step S1 is represented by the following level set function:
[0014]
[0015] Among them, Φ m is the microstructure prototype, h m is the design variable, i.e., the height of the cutting surface in 2D problems and the contour line of the cutting surface in 3D problems.
[0016] Furthermore, the step S2 uses the extended multi-scale finite element method to calculate the equivalent stiffness matrix of the real microstructure, including the following sub-steps:
[0017] 1) Construction of numerical basis functions: using periodic boundary conditions to construct numerical basis functions;
[0018] 2) After the numerical basis function of the real microstructure is established, the equivalent unit stiffness matrix of the real microstructure is calculated by the following formula:
[0019] K c =N T K s N
[0020] Among them, N is the numerical basis function, K s is the overall stiffness matrix on the subgrid, K c is the equivalent element stiffness matrix of the real microstructure.
[0021] Furthermore, in step S2, the relative density of the microstructure is calculated by using a numerical integration method, specifically: the microstructure is gridded using a regular fixed background grid, which includes three types of units, namely, empty units, solid units and mixed units, and the relative density of the microstructure is calculated by using a numerical integration method. For empty units and solid units, 2 dim For mixed elements, the number of integration points is set to 6 dim , where dim represents the dimension of the microstructure.
[0022] Furthermore, in step S3, the mapping relationship between the real microstructure equivalent stiffness matrix, microstructure relative density, and design variables is established as K c (h1,h2,…,h m ) and ρ m (h1,h2,…,h m ).
[0023] Furthermore, in step S4, coarse-scale optimization is performed, and the minimum compliance optimization under the material usage constraint is taken as an example, and the coarse-scale optimization is performed using the following optimization formula:
[0024]
[0025] Here J is the objective function, i.e. flexibility; V represents the amount of material used; Indicates the upper limit of the use of materials; superscript
[0026] ‘min’ and ‘max’ represent the lower and upper limits of the design variables; is the design variable, which represents the height of the cutting surface of the m-th level set function in the e-th coarse element or the contour line of the cutting surface; F C and U C are the external force vector and displacement vector of the structure on the coarse grid. C The equilibrium equation K can be solved on a coarse-scale gridC U C =F C Determine, p is the number of level set functions.
[0027] Furthermore, in step S4, the sensitivity analysis is specifically as follows:
[0028] Since the external force vector is independent of the design variables, the derivative of the objective function with respect to the design variables is
[0029]
[0030] Since the design variables are independent of the external force vector, The subscript 'm' represents the corresponding basic microstructure; K C is the overall stiffness matrix; It can be calculated by the following formula:
[0031]
[0032] C C ,C e To expand the matrix, It is obtained from the established offline database by numerical derivation or interpolation, and then the formula is brought back to the above formula to obtain:
[0033]
[0034] Here e and K e are the node displacement vector and stiffness matrix of the 'e'th coarse element respectively;
[0035] The material usage V can be written as:
[0036]
[0037] Among them, V c and are the volume of the coarse unit and the relative density of the corresponding microstructure, respectively. For the 'e'th coarse unit, V is related to the design variable The derivative of is:
[0038]
[0039] The real microstructure ρ can be obtained from the established offline database m The relationship diagram between the cutting surface is obtained through numerical derivation and interpolation techniques.
[0040] Furthermore, in step S5, in order to ensure the smooth continuity of adjacent microstructures at the interface, the design variables of each coarse element are first converted to the node through a weighted average strategy, and then, the design variables at the node and the bilinear shape function interpolation technology are used to form a plurality of variable height cutting surfaces, and the generated variable height cutting surfaces are cut by the level set function of the corresponding microstructure prototype to obtain a gradient porous structure composed of the corresponding basic microstructure.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] 1) Data-driven thinking. All offline data are calculated before optimization. The offline database only needs to be built once to perform optimization problems for multiple models or working conditions.
[0043] 2) High computational efficiency. Compared with the traditional M-VCUT level set method, this method can obtain slightly lower objective function values when there are fewer design variables. In addition, for the two-dimensional cantilever beam problem, the computational efficiency of this method is nearly 141 times higher than that of the traditional M-VCUT level set method. It can be imagined that the computational efficiency of three-dimensional problems will be greatly improved.
[0044] 3) The framework can be used to design multi-microstructure prototypes and multi-material composite porous structures. It is not limited to the microstructures mentioned in the present invention. The basic microstructures are diverse and can be freely selected and combined. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The schematic diagram of the principle of the level set method in the present invention is a three-dimensional level set function. Represents a two-dimensional microstructure Ω.
[0046] Figure 2 Examples of real microstructures formed by using a variety of microstructure prototypes in examples of the present invention; among them, (a) is generated from square and 'X' shaped microstructure prototypes; (b) is generated from '=' and ' / / ' shaped microstructure prototypes; (c) is generated from '||', ' / / ' and '\\' shaped microstructure prototypes; (d) is generated from 3D 'cubic' and 3D 'X' shaped microstructure prototypes.
[0047] Figure 3 This is a displacement boundary condition diagram used to construct numerical basis functions in EMsFEM in an example of the present invention.
[0048] Figure 4 Schematic diagram of three types of units in a subgrid in an example of the present invention.
[0049] Figure 5 is the K of the 2D real microstructure in the present invention example cFigure 1. Relationship between [1,1] and design variables; (a) real microstructure generated using only ‘box’ shaped basic microstructure; (b) real microstructure generated using only ‘X’ shaped basic microstructure; (c) real microstructure generated using both ‘box’ and ‘X’ shaped basic microstructures.
[0050] Figure 6 K is the 2D real microstructure generated by the four basic microstructures of '=', '||', ' / / ', and '\\' in the present invention. c [1,1] and the relationship between the design variables; (a) to (f) represent h r Relationship diagram when =0, 0.2, 0.4, 0.6, 0.8, 1.
[0051] Figure 7 is the K of the 3D real microstructure in the present invention example c [1,1] and the relationship between the design variables; (a) the real microstructure generated using only the 3D'cubic' basic microstructure; (b) the real microstructure generated using only the 3D'X' basic microstructure; (c) the real microstructure generated using both 3D'cubic' and 3D'X' basic microstructures.
[0052] Figure 8 is the relative density ρ of the 2D real microstructure in the present invention example m and the relationship between the design variables; where (a) the real microstructure generated using only the ‘box’-shaped basic microstructure; (b) the real microstructure generated using only the ‘X’-shaped basic microstructure; (c) the real microstructure generated using both the ‘box’ and ‘X’-shaped basic microstructures.
[0053] Fig. 9 ρ is the 2D real microstructure generated by the four basic microstructures of '=', '||', ' / / ', and '\\' in the present invention. m and the relationship between the design variables; where (a) to (f) represent h r Relationship diagram when =0, 0.2, 0.4, 0.6, 0.8, 1.
[0054] Fig.10 is the ρ of the 3D real microstructure in the present invention example m and the relationship between the design variables; where (a) the real microstructure generated using only the 3D'cubic' shaped basic microstructure; (b) the real microstructure generated using only the 3D'X' shaped basic microstructure; (c) the real microstructure generated using both 3D'cubic' and 3D'X' shaped basic microstructures.
[0055] Fig.11 It is a schematic diagram of the reconstruction process in an example of the present invention.
[0056] Fig.12 This is a calculation flow chart of data-driven structural optimization based on EMsFEM and MVCUT level set method in an example of the present invention.
[0057] Fig.13 This is a diagram of the cantilever beam model in Example 1 of the present invention; wherein (a) shows the boundary conditions and coarse grid division (including 40×20 coarse units); and (b) shows the four basic microstructures used.
[0058] Fig.14 This is a diagram showing the optimization results of the method proposed in the present invention in Example 1 of the present invention. Where (a) is h h (b) is the distribution diagram based on h h The structural diagram of the '='-shaped basic microstructure reconstructed from the distribution of h v (d) is the distribution diagram based on h v The structural diagram of the '||'-shaped basic microstructure reconstructed from the distribution of h l (f) is the distribution diagram based on h l The structural diagram of the ' / / '-shaped basic microstructure reconstructed from the distribution of h r The distribution diagram of h r The structural diagram of the '\\'-shaped basic microstructure reconstructed from the distribution.
[0059] Fig.15 Schematic diagram of the porous structure optimized in Example 1 of the present invention; wherein, (a) is the optimization result on the full-scale grid using the M-VCUT method; (b) is the result obtained by optimizing on the coarse-scale grid using the method proposed in the present invention.
[0060] Fig.16 1 is a graph showing the change history of the objective function and the constraint function in Example 1 of the present invention; wherein (a) is the optimization result on the full-scale grid using the M-VCUT method; and (b) is the result obtained by optimizing on the coarse-scale grid using the method proposed in the present invention.
[0061] Fig.17 Schematic diagram of the MBB beam and its boundary conditions in Example 2 of the present invention.
[0062] Fig.18 The method proposed in Example 2 of the present invention is used to optimize the column formula The optimization result of . Among them, (a) is h b (b) is the full-scale porous structure diagram of the 'box'-shaped basic microstructure;
[0063] Fig.19 The method proposed in Example 2 of the present invention is used to optimize the column formula The optimization result of . Among them, (a) is h x (b) is the full-scale porous structure diagram of the 'X'-shaped basic microstructure;
[0064] Fig. 20 The method proposed in Example 2 of the present invention is used to optimize the column formula The optimization result of h b The distribution diagram of h x Distribution diagram; (c) is the full-scale porous structure diagram of the 'X' and 'box' shaped basic microstructures;
[0065] Fig.21 The method proposed in Example 2 of the present invention is used to optimize the column formula The optimization result of . Among them, (a) is h h The distribution diagram of h v The distribution diagram of h l The distribution diagram of h r Distribution diagram; (e) is the full-scale porous structure diagram of the basic microstructures of ‘=’, ‘||’, ‘ / / ’, and ‘\\’ shapes.
[0066] Fig. 22 Schematic diagram of the L-shaped model and its boundary conditions in Example 3 of the present invention.
[0067] Fig.23 The proposed method is used to optimize the column formula in Example 3 of the present invention. The optimization result of . Among them, (a) is (b) is the full-scale porous structure diagram of the 3D 'cubic' shaped basic microstructure.
[0068] Fig.24 The proposed method is used to optimize the column formula in Example 3 of the present invention. The optimization result of . Among them, (a) is (b) is the full-scale porous structure diagram of the 3D 'X'-shaped basic microstructure.
[0069] Fig.25 The proposed method is used to optimize the column formula in Example 3 of the present invention. The optimization result of . Among them, (a) is The distribution diagram of (c) is the full-scale porous structure diagram of 3D'cubic' and 3D'X' shaped basic microstructures.
[0070] Fig.26 Schematic diagram of other three-dimensional truss-shaped and shell-shaped basic microstructures. DETAILED DESCRIPTION
[0071] In order to make the technical problems, technical solutions and beneficial effects to be solved by the embodiments of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0072] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0073] In the description of the present invention, unless otherwise specified, the term "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0074] Example:
[0075] The present invention provides a topology optimization design method for a porous structure, comprising the following steps:
[0076] Step 1: Define the level set function of the porous microstructure prototype and perform multiple cuts and combinations to generate a series of real microstructures. Use periodic boundary conditions to construct numerical basis functions, and use EMsFEM to establish the mapping relationship between the microstructure equivalent stiffness matrix and the design variables. In addition, the present invention also uses numerical integration technology to calculate the relative density of the microstructure. All offline data are calculated before optimization.
[0077] In this step, first, the microstructure prototype is determined. It is well known that the geometric structure of any structure can be implicitly represented by a high-dimensional level set function. Figure 1 As shown, a two-dimensional structure Ω is represented as a three-dimensional level set function Right now:
[0078]
[0079] where x represents the coordinate vector of any point in the domain D, and Represents the boundaries of a structure.
[0080] In this embodiment, a real microstructure is composed of several basic microstructures. As shown in Table 1, six two-dimensional and two three-dimensional basic microstructures are selected to form the real microstructure. Each basic microstructure can be represented by a corresponding basic level set function. s , Φ x , Φ h , Φ v , Φ l , Φ r , They correspond to the microstructure prototypes in the shapes of 'box', 'X', '=', '||', ' / / ', '\\', 3D'cubic' and 3D'X' respectively.
[0081] Table 1. Basic microstructure prototype table
[0082]
[0083] In addition, the corresponding basic microstructures can be expressed by the following level set functions:
[0084]
[0085] Here, h b ,h x ,h h ,h v ,h l ,h r , is the design variable, i.e., the height of the cutting surface in 2D problems and the contour line of the cutting surface in 3D problems. By adjusting the height of the cutting surface, a series of basic microstructures with different relative densities can be obtained. These basic microstructures can constitute the real microstructure alone, or they can be combined to obtain the real microstructure. Figure 2 As shown, four real microstructures are generated by combining the basic microstructures, among which (a) is generated from square and 'X' shaped microstructure prototypes; (b) is generated from '=' and ' / / ' shaped microstructure prototypes; (c) is generated from '||', ' / / ' and '\\' shaped microstructure prototypes; (d) is generated from 3D 'cubic' and 3D 'X' shaped microstructure prototypes.
[0086] The equivalent element stiffness matrix of the microstructure is calculated using EMsFEM:
[0087] As mentioned above, direct full-scale finite element analysis of porous structures is extremely expensive. In order to improve the computational efficiency and expand the computational scale, EMsFEM was used to calculate the equivalent stiffness matrix of various real microstructures before structural optimization design.
[0088] In this work, since our microstructures all have periodic geometric features, periodic boundary conditions are used to construct numerical basis functions. c Numerical basis function of node 1 in the x direction As an example, the displacement boundary conditions are as follows: Figure 3 As shown, the subscripts 'left', 'right', 'lower', and 'upper' represent the nodes located at the left, right, lower, and upper boundaries of the subgrid, respectively.
[0089] For periodic boundary conditions, a relative displacement constraint is imposed on two opposing boundaries:
[0090]
[0091] Here, u3=0 and v3=0 are used to fix the displacement of node 3 in the x and y directions, respectively. After applying the above displacement conditions, the numerical basis function can be obtained by solving the elastic mechanics problem on the subgrid, that is: Here K s represents the overall stiffness matrix on the subgrid, u s is the displacement vector within the sub-grid, F s represents the external force vector caused by the displacement constraints specified on the four boundaries. Then the numerical basis function It can be expressed as:
[0092]
[0093] here, and are the calculated displacement vectors The x- and y-direction components of the node. Similarly, the numerical basis functions of other nodes can also be calculated by applying corresponding displacement constraints. The final numerical basis function matrix N is composed of:
[0094]
[0095] here represents the additional coupling term caused by the Poisson effect of the internal material of the microstructure. Using the constructed numerical basis function, the relationship between the subgrid displacement vector and the displacement vector of a single coarse unit node can be expressed as
[0096]
[0097] Here you s ,v s Represent the displacement vectors in the x and y directions within the sub-grid, Coarse unit D cNodal displacements in the x and y directions. After establishing the numerical basis functions of the real microstructure, the equivalent element stiffness matrix of the real microstructure is calculated by the following formula:
[0098] K c =N T K s N
[0099] Among them, N is the numerical basis function, K s is the overall stiffness matrix on the subgrid, K c is the equivalent element stiffness matrix of the real microstructure.
[0100] The relative density of the microstructure is calculated using the numerical integration method:
[0101] For ease of calculation, Figure 4 As shown in Figure 1, the microstructure is meshed using a regular fixed background grid, which includes three types of cells, namely, empty cells, solid cells, and mixed cells. The relative density of the microstructure is calculated using the numerical integration method. For empty cells and solid cells, 2 dim The number of integration points is set to 6 for hybrid elements, where dim represents the dimension of the microstructure. dim , in order to improve the calculation accuracy.
[0102] Establish a mapping relationship database:
[0103] As mentioned above, a real microstructure can be composed of a single basic microstructure or a combination of multiple basic microstructures. In this work, a total of seven combinations are considered to generate different 2D and 3D real microstructures, namely:
[0104] (1) Only a single 'box' shaped basic microstructure; (2) Only a single 'X' shaped basic microstructure; (3) A combination of 'box' and 'X' shaped basic microstructures; (4) A combination of four basic microstructures: '=', '||', ' / / ', and '\\'; (5) Only a single 3D 'cube' shaped basic microstructure; (6) Only a single 3D 'X' shaped basic microstructure; (7) A combination of 3D 'cube' and 3D 'X' shaped basic microstructures.
[0105] In practical engineering applications, other shapes of basic microstructures can also be constructed. Combining basic microstructures can obtain real microstructures.
[0106] For each combination, the equivalent stiffness matrix and relative density of the corresponding real microstructure are calculated. Through a large number of offline calculations, a database of mapping relationships between the equivalent stiffness matrix, relative density and design variables of different combinations of microstructures is established. cThere are too many elements in the matrix, which makes it difficult to visualize the relationship curve or surface between the equivalent stiffness matrix and the design variables. In this section, we only give the first element K of the matrix. c The curve or surface that shows the relationship between the design variables. Figure 5 As shown in (a), (b), and (c), through the first, second, and third combination forms, we can establish the mapping relationship K respectively c (h b ), K c (h x ) and K c (h b ,h x ),akin, Figure 6 The mapping relationship K in c (h h ,h v ,h l ,h r ) is obtained by combining the four basic microstructures of '=', '||', ' / / ', and '\\', i.e., the fourth combination form. For 3D problems, the mapping relationship and It can also be obtained by combining the 5th, 6th, and 7th real microstructures, such as Figure 7 As shown in (a), (b), and (c).
[0107] At the same time, the mapping relationship between relative density and design variables was established using the seven combinations mentioned above, as follows: Figure 8 (a), Figure 8 (b), Figure 8 (c), Fig. 9 , Fig.10 (a), Fig.10 (b), and Fig.10 (c) as shown.
[0108] Step 2: After the offline database is prepared, optimization can be performed based on the coarse-scale grid, saving a lot of computing time and resources. In the coarse-scale optimization, interpolation and numerical derivation techniques are used to perform structural analysis and sensitivity analysis based on the data stored in the offline database.
[0109] Seven different optimization formulas are proposed for the real microstructures produced by different combinations:
[0110] Only a single 'box' shaped basic microstructure:
[0111]
[0112] Only a single 'X' shaped basic microstructure:
[0113]
[0114] Combination of 'box' and 'X' shaped basic microstructures:
[0115]
[0116] '=','||',' / / ','\\'Combination of four basic microstructures:
[0117]
[0118] Only a single 3D 'cube' shaped basic microstructure:
[0119]
[0120] Only a single 3D 'X' shaped basic microstructure:
[0121]
[0122] Combination of 3D 'cube' and 3D 'X' basic microstructures:
[0123]
[0124] Here J i (i=1~7) is the objective function; V represents the material usage; Indicates the upper limit of the material; the superscripts 'min' and 'max' indicate the lower and upper limits of the design variables; F C and U C are the external force vector and displacement vector of the structure on the coarse grid. C The equilibrium equation K can be solved on a coarse-scale grid C U C =F C Sure.
[0125] Sensitivity analysis:
[0126] Since the external force vector is independent of the design variables, the derivative of the objective function with respect to the design variables is
[0127]
[0128] here represents the design variable of the 'e'th coarse element; since the design variable is independent of the external force vector, The superscript ‘m’ represents the corresponding basic microstructure in Table 1; K C is the overall stiffness matrix; It can be calculated by the following formula:
[0129]
[0130] C C ,C e is the expansion matrix, N e is the number of coarse units. For the proposed optimization formula, From Figure 5 , Figure 6 and Figure 7 The established offline database is obtained by numerical derivation or interpolation. Then, the formula is brought back to the above formula to obtain:
[0131]
[0132] Here e and K e are the node displacement vector and stiffness matrix of the 'e'th coarse element respectively.
[0133] The material usage V can be written as:
[0134]
[0135] Here V c and are the volume of the coarse unit and the relative density of the corresponding microstructure respectively. Then for the 'e'th coarse unit, V is related to the design variable The derivative of is:
[0136]
[0137] here From Figure 8 , Fig. 9 and Fig.10 It is obtained by numerical derivation and interpolation techniques in the offline database under different optimized column forms.
[0138] In addition, the optimal criterion (OC) algorithm is adopted to update the design variables, and density filtering technology is used for all design variables to eliminate the influence of checkerboard patterns and grid dependencies.
[0139] Step 3: After the coarse-scale optimization, the distribution of the design variables can be obtained. Then, according to the distribution of the basic microstructure design variables in step 2 and the level set function in step 1, the original-size porous structure is geometrically represented and reconstructed, and finally the full-size porous structure is obtained.
[0140] After the coarse-scale optimization, the distribution of the design variables can be obtained. Finally, the geometry of the full-scale porous structure can be represented by subtracting the design variable values from the prototype level set function of the corresponding microstructure.
[0141] The reconstruction process is as follows Fig.11 As shown, there are four coarse units, each of which considers two design variables hl and h r In order to ensure the smooth continuity of adjacent microstructures at the interface, the design variables of each coarse element are first converted to the nodes through the weighted average strategy, such as Fig.11 Then, using the design variables at the nodes and the bilinear shape function interpolation technique, multiple variable height cutting surfaces can be formed. The generated variable height cutting surface is subtracted from the level set function of the corresponding microstructure prototype to obtain a gradient porous structure composed of the corresponding basic microstructure. Fig.11 As shown, the final porous structure can be formed by superimposing these porous structures containing basic microstructures.
[0142] In order to more clearly understand the method proposed in the present invention, we provide a calculation flow chart, such as Fig.12 As shown, it includes three main parts, namely the establishment of offline database, coarse-scale optimization and reconstruction of full-scale porous structure. In the offline database, the mapping relationship between the microstructure equivalent stiffness matrix, microstructure relative density and design variables is obtained by using EMsFEM and numerical integration technology. In the coarse-scale optimization, the structural analysis is completed by EMsFEM based on coarse-scale grids, and the sensitivity analysis is completed by numerical derivation and interpolation based on the offline database. Therefore, the entire optimization iteration only needs to be performed on the coarse scale, which can save a lot of computing time and computing resources. After the coarse-scale optimization, the geometry of the full-scale porous structure is generated.
[0143] Example 1
[0144] In this example, the cantilever beam model and its boundary conditions are as follows Fig.13 (a), where the size of the design domain is set to L = 40, W = 20, and the external force is set to F = 1. In addition, there are 40×20 coarse elements in the coarse-scale grid. In this example, the fourth optimization combination is considered, and the corresponding four basic microstructures are as follows Fig.13 (b) The upper limit of the ratio of material usage volume to design domain volume is set to 0.5.
[0145] By using the proposed data-driven method based on EMsFEM, the optimized h h ,h v ,h l , and h r The distributions correspond to '=', '||', ' / / ', and '\\', respectively. Fig.14 (a), (c), (e) and (g). Correspondingly, the structures reconstructed with only a single basic microstructure are also shown, such as Fig.14 (b), (d), (f) and (h). Fig.15As shown in (b), all reconstructed structures containing only a single basic microstructure are superimposed together to generate the final porous structure.
[0146] For comparison purposes, the porous structure optimized using the traditional M-VCUT level set method is also provided here. Fig.15 (a). It can be seen that the porous structure optimized by the data-driven method based on EMsFEM proposed in the present invention is basically the same as the traditional M-VCUT level set method, which shows the effectiveness of the method of the present invention. In addition, the iteration history of the objective function and constraint function of the two methods is also plotted in Fig.16 In this paper, the moving asymptote method (MMA) is used to update the design variables. In Table 2, N design represents the number of design variables, J4 represents the objective function, T total represents the total computation time, N step is the number of iteration steps, N e is the number of elements in the mesh used to solve elastic problems and sensitivity analyses.
[0147] Table 2 Optimization result data table
[0148]
[0149] By comparing with the traditional M-VCUT level set method, we can see that the method of this embodiment can obtain a slightly lower objective function value when there are fewer design variables. In terms of computational efficiency, we can see that when the number of iterations is basically the same, the method of this embodiment consumes much less computational time than the traditional M-VCUT level set method. In this case, the computational efficiency of the proposed method is improved by about 99.3% compared with the traditional M-VCUT method.
[0150] Example 2
[0151] like Fig.17 As shown in Figure 2, a MBB model is studied here and four different optimization formulas are considered: and like Fig.17 The size of the design domain shown is set to L = 180 and W = 30, and the external force is set to F = 1. The model consists of 180 × 30 coarse elements. The upper limit of the ratio of material usage volume to design domain volume is set to 0.3. In addition, the lower limit of the design variable is set to 0 and the upper limit is set to 1.
[0152] For the optimized column with only the 'box' basic microstructure The h obtained by the method of the present invention b The distributed and reconstructed porous structures are shown in Fig.18 (a) and Fig.18(b) As shown in the local magnified image, it can be seen that the smooth connection between adjacent microstructures is guaranteed. In addition, for the optimized column containing only the 'X'-shaped basic microstructure The optimization results are as follows Fig.19 In addition, for the optimized column With the 'box' and 'X' shaped basic microstructures, the design variable h b and h x The distribution of Fig. 20 (a) and Fig. 20 In (b), the reconstructed full-scale porous structure is Fig. 20 As shown in (c), we can see from the figure that different combinations of basic microstructures are arranged in different positions to make the performance of the structure better. Similarly, we can The same phenomenon was found in Fig.21 Optimized column format The objective function values of the optimization results are J1=200.5, J2=162.3, J3=158.8, and J4=145.9, respectively. It can be seen that as the number of basic microstructures increases, the objective function value gradually decreases. When the number of basic microstructures increases, the number of real microstructure types generated by the basic microstructures will also increase, that is, the design space of the real microstructure configuration becomes larger, which makes the objective function value smaller and the calculation result better.
[0153] Example 3
[0154] like Fig. 22 As shown in Figure 1, in order to verify the effectiveness of the method of the present invention for three-dimensional problems, we set up a three-dimensional L-shaped model. The size parameters of the model are set to L = 30, L1 = 20, W = 10. The uniform external force is set to q = 1. In addition, the coarse-scale grid is as follows Fig. 22 As shown in the figure, the size of each coarse-scale element is 1 × 1 × 1. The upper limit of the ratio of material usage volume to design domain volume is set to 0.3. The upper and lower limits of the design variables are set to 0.1 and 0.8, respectively.
[0155] For optimized column Only basic microstructures of 3D 'cubic' shapes, design variables The distribution of Fig.23 (a) shows the corresponding reconstructed full-scale porous structure. Fig.23 (b) As shown in the optimized column Only with 3D 'X' shaped basic microstructure, the optimization results are as follows Fig.24 Similarly, Fig.25 The optimized column formula is given in Basic microstructures with 3D 'cubic' and 3D 'X' shapes.
[0156] Optimize column format and They are J5 = 3928.8, J6 = 4096.2 and J7 = 3824.5 respectively. It can be seen that in the optimization process, as the number of basic microstructures increases, the objective function value gradually decreases. This conclusion has been given in the two-dimensional problem in Example 2 and has been verified in this example for the three-dimensional problem.
[0157] It is conceivable that the efficiency of three-dimensional problems will be improved to a greater extent. Through calculation, it is found that different basic microstructure combinations are arranged in different positions, which makes the performance of the structure better. As the number of basic microstructures increases, the design space becomes larger, resulting in a smaller objective function value. The above is only a preferred embodiment of the present invention, and does not limit the implementation and protection scope of the present invention. Fig.26 Other types of basic microstructures are shown, shell structures or lattice structures can also be selected and optimized within the framework of the proposed method.
[0158] Those skilled in the art should be able to realize that any solution obtained by equivalent substitution and obvious changes made by using the contents of the present invention specification, for example, in the construction of the offline database in step 1, may be an extended multi-scale finite element method, or a representative voxel method or a computational homogenization method and other multi-scale calculation methods. These solutions should all be included in the protection scope of the present invention.
Claims
1. A porous structure design method based on multi-microstructure prototypes and multi-scale finite elements, characterized in that: The following steps are involved: Step S1. defining the level set function of the porous structure microstructure prototype, and cutting these level set functions with multiple cutting planes to obtain a series of basic microstructures with different relative densities; Step S2. Combining these basic microstructures to generate a series of real microstructures, and calculating the equivalent unit stiffness matrix and relative density of the real microstructures; Step S3. Establishing the mapping relationship between the real microstructure equivalent stiffness matrix, microstructure relative density, and design variables to form an offline database; Step S4. Optimize based on the coarse-scale grid, use interpolation and numerical derivation techniques to perform structural analysis and sensitivity analysis based on the data stored in the offline database, and obtain the distribution of design variables after the coarse-scale optimization; Step S5. According to the distribution of the basic microstructure design variables in step S4 and the level set function in step S1, the original-size porous structure is geometrically represented and reconstructed to finally obtain a full-size porous structure.
2. The porous structure design method based on multi-microstructure prototypes and multi-scale finite elements according to claim 1, characterized in that: In step S1, the basic microstructure is represented by the following level set function: Among them, Φ m is the microstructure prototype, h m is the design variable, i.e., the height of the cutting surface in 2D problems and the contour line of the cutting surface in 3D problems.
3. The porous structure design method based on multi-microstructure prototypes and multi-scale finite elements according to claim 1, characterized in that: In step S2, the equivalent stiffness matrix of the real microstructure is calculated using the extended multi-scale finite element method, which includes the following sub-steps: 1) Construction of numerical basis functions: using periodic boundary conditions to construct numerical basis functions; 2) After the numerical basis function of the real microstructure is established, the equivalent unit stiffness matrix of the real microstructure is calculated by the following formula: K c =N T K s N Where N is the numerical basis function, Ks is the overall stiffness matrix on the subgrid, and Kc is the equivalent unit stiffness matrix of the real microstructure.
4. The porous structure design method based on multi-microstructure prototypes and multi-scale finite elements according to claim 1, characterized in that: In step S2, the relative density of the microstructure is calculated by using a numerical integration method. Specifically, the microstructure is divided into grids using a regular fixed background grid, which includes three types of units, namely, empty units, solid units, and mixed units. The relative density of the microstructure is calculated by using a numerical integration method. For empty units and solid units, 2 dim For mixed elements, the number of integration points is set to 6 dim , where dim represents the dimension of the microstructure.
5. The porous structure design method based on multi-microstructure prototypes and multi-scale finite elements according to claim 1, characterized in that: In step S3, the mapping relationship between the real microstructure equivalent stiffness matrix, the microstructure relative density, and the design variables is established as K c (h1,h2,…,h m ) and ρ m (h1,h2,…,h m ).
6. The porous structure design method based on multi-microstructure prototypes and multi-scale finite elements according to claim 1, characterized in that: In step S4, coarse-scale optimization is performed using the following optimization formula: Here J is the objective function, i.e., compliance; V represents the amount of material used; Indicates the upper limit of the material usage; the superscripts 'min' and 'max' indicate the lower and upper limits of the design variables; is the design variable, which represents the height of the cutting surface of the m-th level set function in the e-th coarse element or the contour line of the cutting surface; F C and U C are the external force vector and displacement vector of the structure on the coarse grid. C The equilibrium equation K can be solved on a coarse-scale grid C U C =F C Determine, p is the number of level set functions.
7. The porous structure design method based on multi-microstructure prototypes and multi-scale finite elements according to claim 1, characterized in that: In step S4, the sensitivity analysis is as follows: Since the external force vector is independent of the design variables, the derivative of the objective function with respect to the design variables is Since the design variables are independent of the external force vector, The subscript 'm' represents the corresponding basic microstructure; K C is the overall stiffness matrix; It can be calculated by the following formula: C C ,C e To expand the matrix, It is obtained from the established offline database by means of numerical derivation and interpolation, and then the formula is brought back to the above formula to obtain: Here e and K e are the node displacement vector and stiffness matrix of the 'e'th coarse element respectively; The material usage V can be written as: Among them, V c and are the volume of the coarse unit and the relative density of the corresponding microstructure, respectively. For the 'e'th coarse unit, V is related to the design variable The derivative of is: It can be obtained from the established offline database through numerical derivation and interpolation techniques.
8. The porous structure design method based on multi-microstructure prototypes and multi-scale finite elements according to claim 1, characterized in that: In step S5, in order to ensure the smooth continuity of adjacent microstructures at the interface, the design variables of each coarse element are first converted to the node through a weighted average strategy, and then, the design variables at the node and the bilinear shape function interpolation technology are used to form a plurality of variable height cutting surfaces, and the generated variable height cutting surfaces are cut by the level set function of the corresponding microstructure prototype to obtain a basic porous structure composed of the corresponding basic microstructures, and the final porous structure can be formed by superimposing these basic porous structures together.
