EFFICIENT DESIGN AND OPTIMIZATION ALGORITHM FRAMEWORK OF MULTI-SCALE POROUS STRUCTURES

20220327258 · 2022-10-13

    Inventors

    Cpc classification

    International classification

    Abstract

    The present invention relates to an efficient design and optimization algorithm framework of multi-scale porous structures. Firstly, initialized parameters are input by the user to obtain an initial porous structure through the design module. Then, the structure and external physical conditions defined by the user are transmitted to the analysis module to conduct mechanical response analysis of the porous structure. Next, an objective function and constraint functions of the optimization module are defined according to application requirements, and gradient information obtained by the analysis module is input to drive the operation of the optimization module. Finally an optimal multi-scale porous structure is obtained. The present invention relies on a vectorization mode in computer programming, converts a loop problem into a memory storage problem, and benefits from the existing fast computer algorithms for solving a system of linear equations, thus accelerating the calculation process of the whole algorithm.

    Claims

    1. An efficient design and optimization algorithm framework of multi-scale porous structures, comprising a design module, an analysis module and an optimization module; the three modules are driven by data and integrated into a computer program to get optimized multi-scale porous structures: first, initialized parameters are input by a user to obtain an initial multi-scale porous structure through the design module; then, the multi-scale porous structure and external physical conditions defined by the user are transmitted to the analysis module to conduct mechanical response analysis of the multi-scale porous structure; next, an objective function and a constraint function of the optimization module are defined according to application requirements, and gradient information obtained by the analysis module is input to drive the operation of the optimization module; and finally an optimal multi-scale porous structure is obtained; the specific process is as follows: (1) design module for a P-surface which is a commonly used Triply Periodic Minimal Surface (TPMS), an implicit function of the P-surface is represented as:
    φ.sub.P(r)=cos(2π.Math.x)+cos(2π.Math.y)+cos(2π.Math.z)=c  (31) wherein r=(x, y, z)∈R.sup.3, and c is a value of extracted an iso-surface which controls porosity of a periodic surface; the multi-scale porous structure is designed based on an implicit method: after a geometric parameter c(r)>0 is input into the design module by the user, an implicit function of the multi-scale porous structure is represented as:
    ϕ.sup.s(r)=min(ϕ.sub.1(r),ϕ.sub.2(r))
    ϕ.sub.1(r)=ϕ.sub.P(r)+c(r)
    ϕ.sub.2(r)=c(r)−ϕ.sub.P(r)  (32) the geometric parameter c(r) is a continuous function distribution, which is used to control thickness and obtain a multi-scale porous structure with a continuously and gradually changing thickness; a region represented by ϕ.sup.s(r)>0 is the interior of the multi-scale porous structure; a topological parameter t(r)>0 is introduced by the user to construct a multi-scale porous structure with a gradually changing pore size, and φ.sub.P (r) in formula (2) is rewritten as:
    {tilde over (φ)}.sub.P(r)=cos(2π.Math.t(r).Math.x)+cos(2π.Math.t(r).Math.y)+cos(2π.Math.t(r).Math.z)  (33) therefore, as long as the topological parameter and the geometric parameter are defined by user, a multi-scale porous structure based on TPMS which possesses continuously and gradually changing thickness and pore size can be obtained; if the user wants to fill a 3D solid model with the multi-scale porous structure based on TPMS, thus to achieve the purpose of light weight, operations shall be carried out according to a function of the multi-scale porous structure of formula (4):
    ϕ.sup.M=ϕ.sup.s∩ϕ.sup.VDF=min(ϕ.sup.s,ϕ.sup.VDF  (34) wherein ϕ.sup.VDF is a distance field of the 3D solid model M, and ϕ.sup.M≥0 represents the interior of the model filled with the multi-scale porous structure; an iso-surface of the function of the multi-scale porous structure is extracted by a Marching Cube algorithm to obtain an explicit triangle mesh representation of the multi-scale porous structure; a topological structure of the multi-scale porous structure is controlled by the topological parameter t(r), and the thickness is controlled by the geometric parameter c(r); the geometric parameter: according to the linear relationship among the geometric parameter, the topological parameter and the thickness, the value range of the geometric parameter c(r) is set as [ ω min t 0 0 . 1 8 3 8 , 0.8 ] , wherein ω.sub.min is the default value of the minimum printing accuracy, and t.sub.0=1 is an initial topological parameter; the topological parameter c 0 = ( ω min t 0 0 . 1 8 3 8 + 0 . 8 ) / 2 is given, and then the value range of the topological parameter is t ( r ) ( 0 , 0 . 8 t 0 c 0 ) , wherein t.sub.0=1 is an initial topological parameter; during the design process of the multi-scale porous structure, the topological parameter t(r) influences the thickness of the multi-scale porous structure therefore, according to the linear relationship among the geometric parameter, the topological parameter and the thickness, formula (2) is modified in the process of topological optimization to fix the shell thickness: ϕ 1 ( r ) = φ ~ P ( r ) + c ˜ ( r ) ϕ 2 ( r ) = c ~ ( r ) - φ ~ P ( r ) c ~ ( r ) = c 0 ( r ) t ( r ) t 0 ( r ) ( 35 ) wherein {tilde over (c)}(r) is a modified geometric parameter used to eliminate the influence of the topological parameter on the thickness, so as to ensure that the thickness is always unchanged in the process of topological optimization; (2) analysis module the analysis module is a meshless analysis method, a design domain of the multi-scale porous structure is divided into an uniform primary elements set, and then divide each primary element uniformly into secondary elements set of the same size, wherein the primary elements set is used to interpolate a deformation field, and the secondary elements set is used to represent the model; the specific method is as follows: the function ϕ.sup.M of the multi-scale porous structure is obtained by the design module; then, values of the function of the multi-scale porous structure at all secondary element nodes are calculated, wherein a value greater than 0 indicates that a node is inside the multi-scale porous structure, a value equal to 0 indicates that a node is on the boundary of the multi-scale porous structure, and a value less than 0 indicates that a node is outside the multi-scale porous structure; next, integral calculus of a stress function, a strain function and a deformation function on the multi-scale porous structure is completed; and finally, a form of a problem to be solved is:
    KU=F  (36) wherein U is a deformation vector; F is a nodal force vector which is obtained according to an external load defined by the user; and K is a global stiffness matrix; (3) optimization module on the basis of the analysis module, optimal solutions of the parameters of the multi-scale porous structure are obtained according to the results of the mechanical response analysis to achieve the maximum stiffness of the multi-scale porous structure with required material consumption limitation, thus to achieve the purpose of light weight; a problem formulation of the optimization module is constructed by taking structural compliance minimization as an objective and taking model volume and gradient of pore size distribution as constraints: min c ( r ) , t ( r ) I = F T U thus ( 37 ) KU = F V = 1 8 .Math. j = 1 N b .Math. l = 1 8 H η ( ϕ l j ) v b V _ G = 1 .Math. Ω M .Math. .Math. j = 1 N b .Math. l = 1 8 ( .Math. t l .Math. g _ ) v b 1 ( 38 ) wherein I is structural compliance of the model, U is the deformation vector, F is the nodal force vector, K is the global stiffness matrix, V is a volume fraction, V is a designated volume constraint, ϕ.sub.l.sup.j is a value of ϕ.sup.s at the l.sup.th node of the j.sup.th secondary element, G is a periodic distribution gradient, g is a designated gradient constraint value, v.sub.b is the volume of the secondary element, N.sub.b is the number of the total secondary elements in a solution domain, ∥∇t.sub.l∥ is a value of a periodic distribution gradient ∥∇t(r)∥ at the l.sup.th node of the j.sup.th secondary element, and ∥Ω.sub.M∥ is the volume of the design domain; and H.sub.η(x) is a regularized Heaviside function: H η ( x ) = { 1 , if x > η , 3 ( 1 - α ) 4 ( x η - x 3 3 η 2 ) + 1 + α 2 , if - η x η , α , if x < - η , ( 39 ) wherein η is used to control the degree of regularization, whose value is 2 times the mesh accuracy of the secondary elements; α=0.01 is used to ensure the nonsingularity of the global stiffness matrix; and ℏ(x) is defined as follows: ( x ) = { ( x - 1 ) 2 + 1 , if x 1 1 , if x < 1 ( 40 ) optimization process for the problem formulation of the optimization module, it is only required to optimize the geometric parameters and topological parameters driven by the calculation results of the analysis module; during the optimization process, t(r) is optimized firstly to determine the topological shape of the porous structure, and then c(r) is optimized to determine the thickness of the porous structure, therefore the whole optimization process is divided into topological optimization and geometric optimization, and the process is as follows: step 1: topological optimization interpolating the topological parameter t(r) by a radial basis function interpolation method and converting the optimization of the function into the optimization of the parameter at an interpolation nodes; randomly selecting an interpolation points {p.sub.i}.sub.i=1.sup.n.sup.r∈Ω.sub.M in the design domain Ω.sub.M, so that the form of interpolation of the topological parameter t(r) is: t ( r ) = .Math. i = 1 n r R i ( r ) a i t + .Math. j = 1 m q j ( r ) b j t ( 41 ) wherein R.sub.i(r)=R(∥r−p.sub.i∥), R(x)=x.sup.2 log(|x|) is logarithmic radial basis function, {q.sub.j(r)} is a polynomial of coordinates, and a.sub.i.sup.t and b.sub.j.sup.t are undetermined coefficients; formula (10) is simplified through derivation as: t ( r ) = .Math. i = 1 n r S i ( r ) t i ( 42 ) wherein t.sub.i=t(p.sub.i) is a periodic value at a control point p.sub.i, and S.sub.i(r) is a polynomial form derived from matritization; thus, the topological optimization of the porous structure is converted into the optimization of parameters {t.sub.i}.sub.i=1.sup.n.sup.r; finally, calculating derivatives of the objective function and the constraint function about optimization variables to obtain sensitivity information of the variables as follows: l t i = - .Math. k = 1 N s U k T ( 1 8 .Math. j = 1 N b ( .Math. l = 1 8 H η ( ϕ l kj ) t i ) K 0 ) U k V t i = 1 8 .Math. j = 1 N b .Math. l = 1 8 H η ( ϕ l j ) t i v b G t i = 1 .Math. Ω M .Math. .Math. j = 1 N b .Math. l = 1 8 ( .Math. t l .Math. g _ ) .Math. t .Math. t i v b ( 43 ) wherein N.sub.s is the number of the primary elements, N.sub.b is the number of the total secondary elements in the design domain, U.sub.k is a node deformation vector corresponding to the k.sup.th element, K.sup.0=E.sub.0B.sup.TD.sup.0Bv.sub.b, E.sub.0 is a modulus of elasticity, B is a strain matrix, D.sup.0 is a constitutive matrix of the elements filled by solid material, ϕ.sub.l.sup.ij is a value of ϕ.sup.s at the l.sup.th node of the j.sup.th secondary element in the i.sup.th primary element; then, the sensitivity information is substituted into a Method of Moving Asymptotes (MMA) solver to obtain the solution of the problem under topological optimization, i.e., the value of an optimal parameter {t.sub.i}.sub.i=1.sup.n.sup.r; As a result, a topological shape of the multi-scale porous structure is determined; step 2: geometric optimization geometric optimization is the optimization of the geometric parameter c(r); the optimization of the function is converted into the optimization of parameter {c.sub.i}.sub.i=1.sup.n.sup.r at the control points; after randomly selecting an interpolation points {p.sub.i}.sub.i=1.sup.n.sup.r∈Ω.sub.M in the design domain Ω.sub.M, the geometric parameter c(r) is interpolated as: c ( r ) = .Math. i = 1 n r R i ( r ) a i c + .Math. j = 1 m q j ( r ) b j c ( 44 ) wherein a.sub.i.sup.c and b.sub.j.sup.c are undetermined coefficients, the interpolation form can be simplified as: c ( r ) = .Math. i = 1 n r S i ( r ) c i ( 45 ) wherein c.sub.i=c(p.sub.i) is a thickness value at the control point p.sub.i, and S.sub.i(r) is a polynomial form derived through matritization; then, the sensitivity information about the optimization variables is calculated and substituted into the MMA solver to obtain the solution of the problem under geometric optimization; I c i = - .Math. k = 1 N s U k T ( 1 8 .Math. j = 1 N b ( .Math. l = 1 8 H η ( ϕ l kj ) c i ) K 0 ) U k ( 46 ) V c i = 1 8 .Math. j = 1 N b .Math. l = 1 8 H η ( ϕ l j ) c i v b ( 47 ) driven by the data output from the analysis module, the structure parameters in the design module is optimized automatically, and finally the multi-scale porous structure with the maximum stiffness is obtained.

    Description

    DESCRIPTION OF DRAWINGS

    [0027] FIG. 1 is a flow chart of a design and optimization algorithm framework of multi-scale porous structures.

    [0028] FIG. 2 is a diagram of optimization results and printing models filled with the multi-scale porous structures.

    DETAILED DESCRIPTION

    [0029] A specific embodiment of the present invention is a process to finally obtain an optimal multi-scale porous structure based on data flow transmission in the design module, analysis module and optimization module. The main steps are as follows:

    [0030] Step 1: Initialization

    [0031] A user designating a type of Triply Periodic Minimal Surface (TPMS) (taking a P-surface as an example here) and conducting sampling in the design domain. Then initializing values of the geometric parameters and topological parameters at sampling points to obtain {t.sub.i.sup.0}.sub.i=1.sup.n.sup.r and {c.sub.i.sup.0}.sub.i=1.sup.n.sup.r (reference values: the user can set t.sub.i.sup.0≡1 and c.sub.i.sup.0≡0.2), thus continuous geometric parameters distribution and topological parameters distribution can be obtained by radial basis function (RBF) interpolation:

    [00014] t 0 ( r ) = .Math. i = 1 n r S i ( r ) t i 0 ( 18 ) c 0 ( r ) = .Math. i = 1 n r S i ( r ) c i 0 ( 19 )

    Then an initial porous surface can be constructed:


    {tilde over (φ)}.sub.P(r)=cos(2π.Math.t.sup.0(r).Math.x)+cos(2π.Math.t.sup.0(r).Math.y)+cos(2π.Math.t.sup.0(r).Math.z)  (20)

    Further constructing a porous structure with thickness:

    [00015] ϕ s ( r ) = min ( ϕ 1 ( r ) , ϕ 2 ( r ) ) ( 21 ) ϕ 1 ( r ) = φ ~ P ( r ) + c ~ ( r ) ( 22 ) ϕ 2 ( r ) = c ~ ( r ) - φ ~ P ( r ) ( 23 ) c ~ ( r ) = c 0 ( r ) t ( r ) t 0 ( r ) ( 24 )

    where ϕ.sup.s(r)>0 represents the region defined as Ω.sub.s, i.e., the interior of a porous shell structure based on TPMS.
    For a model M to be filled, representing the model filled with the porous structure by a function:


    ϕ.sub.M=ϕ.sub.s∩ϕ.sub.MDF=min(ϕ.sup.s,ϕ.sub.MDF)

    Then ϕ.sup.M≥0 represents the interior of the model filled with the porous structure.

    [0032] Step 2: Analysis

    [0033] The user designating boundary conditions such as an external load and a fixed point for the model and application practices. Dividing the design domain roughly into a primary elements set, and then dividing each primary element uniformly into secondary unit elements. Using the primary elements set to interpolate a deformation field, using the secondary elements set to represent the model and calculating integral calculus. Constructing local stiffness matrices of all primary elements, and then integrating the local stiffness matrices into a global stiffness matrix K, thus the corresponding physical problem model can be obtained:


    KU=F  (25)

    wherein U is deformation vector, i.e., the quantity to be solved; and F is nodal force vector which is obtained according to the boundary conditions designated by the user. After the deformation field is obtained, physical quantities such as strain energy and an equivalent stress field which can reflect mechanical properties of the structure can be further solved.

    [0034] Step 3: Optimization

    [0035] The present invention can optimize the parameters of the multi-scale porous structure by taking structural compliance minimization as an objective and taking model volume and gradient of pore size distribution as constraints. After mechanical response analysis of the structure is completed by step 2, gradient information of objective function and constraint functions about the geometric parameter {c.sub.i.sup.0}.sub.i=1.sup.n.sup.r and the topological parameter {t.sub.i.sup.0}.sub.i=1.sup.n.sup.r can be obtained:

    [00016] I t i = - .Math. k = 1 N s U k T ( 1 8 .Math. j = 1 N b ( .Math. l = 1 8 H η ( ϕ l kj ) t i ) K 0 ) U k ( 26 ) V t i = 1 8 .Math. j = 1 N b .Math. l = 1 8 H η ( ϕ l j ) t i v b ( 27 ) G t i = 1 .Math. Ω M .Math. .Math. j = 1 N b .Math. l = 1 8 ( .Math. t l .Math. g _ ) .Math. t .Math. t i v b ( 28 ) I c i = - .Math. k = 1 N s U k T ( 1 8 .Math. j = 1 N b ( .Math. l = 1 8 H η ( ϕ l k j ) c i ) K 0 ) U k ( 29 ) V c i = 1 8 .Math. j = 1 N b .Math. l = 1 8 H η ( ϕ i j ) c i v b ( 30 )

    [0036] Transmitting the gradient information to a Method of Moving Asymptotes (MMA) solver based on gradient, the new geometric parameters and the new topological parameters can be obtained. Then, transmitting the parameters to the design module in step 1 to construct the new porous structure. Next, conducting analysis and repeating the above steps until parameter change is less than a threshold value and a termination condition is reached. As a result, an optimal parametric solution can be obtained. The multi-scale porous structure produced is the structure with maximum stiffness under a constrained volume, and finally the purpose of light weight is achieved.

    [0037] The present invention proposes a new efficient algorithm framework for representation domain optimization of the porous structure, which comprises design module, analysis module and optimization module, where these three modules are tightly integrated and completely data-driven. The present invention relies on a vectorization mode in computer programming, converts a loop problem into a memory storage problem, and is based on the existing fast computer algorithms for solving a system of linear equations, thus accelerating the calculation process of the whole algorithm, which has high efficiency and robust algorithm performance. The present invention conducts experiments on many different 3D models and uses different types of TPMS to design the porous structure. An optimization model with high strength under the constrained volume can be obtained by the experimental results. The porous structure obtained by the experiments is observed. It can be found that under stress circumstances, an area with a large stress in the model has a small pore size and a large thickness, and mass is concentrated in this area. In contrast, an area with a small stress has a large pore size and a small thickness. Under a gradient constraint, the transition between pores of different sizes is natural, and no stress concentration part is generated. To describe high efficiency of the present invention, the time complexity of the algorithm is compared with the general mechanical analysis software ANSYS. Through comparison, it is found that the time for conducting the physical analysis in the present invention is several tenths of or even a few hundredths of the time of ANSYS, which fully demonstrates the high efficiency of the present invention. At the same time, the results of mechanical analysis are also compared with ANSYS in accuracy. The experiment can show that the present invention can also meet the manufacturing requirements in the calculation accuracy.