EFFICIENT DESIGN AND OPTIMIZATION ALGORITHM FRAMEWORK OF MULTI-SCALE POROUS STRUCTURES
20220327258 · 2022-10-13
Inventors
Cpc classification
G06F2119/18
PHYSICS
G06F2119/14
PHYSICS
G06F2113/10
PHYSICS
G06F30/23
PHYSICS
G06T17/20
PHYSICS
International classification
G06F30/23
PHYSICS
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
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:
Description
DESCRIPTION OF DRAWINGS
[0027]
[0028]
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.
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:
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.
[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.