Self-supporting structure topological optimization design method and system for five-axis additive manufacturing
Through the topological optimization design method of self-support structure oriented towards five-axis additive manufacturing, combined with heat conduction and printing direction field, the design variables are optimized, and the problem of insufficient freedom of self-support structure design in the existing technology is solved, and the five-axis printing conditions are realized Optimal mechanical properties and efficient production.
Patent Information
- Application Number
- CN202410923114.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-08
AI Technical Summary
The existing topology optimization technology of self-support structures is mostly aimed at three-axis printing. The self-support constraints under the requirements of a single printing direction reduce the freedom of structural design, and cannot fully utilize the advantages of five-axis printing, which limits the five-axis printing technology on thin walls. Application in the manufacturing of self-support structures.
Using the topological optimization design method of self-support structures for five-axis additive manufacturing, the self-support constraints are optimized to achieve the self-support of optimal mechanical properties by constructing objective functions, volume constraints and self-support constraints, combining transient thermal conduction equations and printing direction fields. Structural design.
It significantly improves the freedom of self-support structure design under five-axis printing conditions, realizes optimal structural design, reduces weight, saves materials, and improves production efficiency.
Smart Images

Figure CN118917130A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of additive manufacturing, and in particular to a self-supporting structure topology optimization design method and system for five-axis additive manufacturing. Background Art
[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.
[0003] Traditional three-axis 3D printing technology is often limited by the inherent characteristics of layered printing, which means that a large amount of support material is required when printing complex structures, especially when manufacturing thin-walled structural parts. This not only increases material consumption, but also requires additional post-processing steps to remove these supports, reducing production efficiency and the surface quality of the final product. Five-axis 3D printing technology introduces an additional rotation axis to add two rotational degrees of freedom to the print head on the basis of the traditional three axes (X, Y, Z). These rotation axes enable the print head to move freely in five directions, allowing for more complex and sophisticated printing paths. This multi-degree-of-freedom control enables five-axis 3D printing to produce complex geometric structures and shapes that cannot be accomplished by traditional three-axis printing technology, especially in structures that require overhangs, complex cavities or multi-angle supports.
[0004] In the processing and manufacturing of complex structures, five-axis 3D printing technology demonstrates its excellent design freedom. For example, in the fields of aerospace, automobiles, medical devices, etc., it is necessary to manufacture thin-walled structural parts with complex shapes and functions. Through five-axis 3D printing, designers can give full play to their creativity and design parts that meet the requirements of mechanical properties and have high structural complexity. This can not only fully implement the results of topological optimization, but also manufacture complex cavities, free-form surfaces and porous structures that cannot be achieved by traditional processes, thereby improving the performance and functional integration of parts.
[0005] Five-axis printing introduces a rotating axis to achieve dynamic adjustment of the printing direction of parts, and the design freedom of thin-walled structural parts is further improved. In the topology optimization of thin-walled structures, the combination of surface layering and structural strength can be fully considered to achieve self-supporting design, thereby reducing weight, saving materials, and improving production efficiency, so that thin-walled structural parts can be designed and produced with minimal material and optimal mechanical properties. However, existing self-supporting structure topology optimization technologies are mostly aimed at three-axis printing. The self-supporting constraints under the requirements of a single printing direction reduce the freedom of structural design and cannot give full play to the advantages of five-axis printing, limiting the application of five-axis printing technology in the manufacture of thin-walled self-supporting structures. Summary of the invention
[0006] In order to address the deficiencies in the prior art, the present invention provides a self-supporting structure topology optimization design method and system for five-axis additive manufacturing, which can achieve the design of a self-supporting structure with optimal mechanical properties under five-axis printing conditions.
[0007] In order to achieve the above object, the present invention adopts the following technical solution:
[0008] In a first aspect, the present invention provides a topology optimization design method for a self-supporting structure for five-axis additive manufacturing.
[0009] A topology optimization design method for self-supporting structures for five-axis additive manufacturing includes the following processes:
[0010] Based on the target model to be 3D printed, an objective function with the minimum structural flexibility value is constructed, and the sensitivity of the objective function to the design variables is determined;
[0011] Construct the volume constraints of the target model and determine the sensitivity of the volume constraints to the design variables;
[0012] Construct the self-supporting constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct the printing direction field, construct the self-supporting constraint based on the printing direction field, and determine the sensitivity of the self-supporting constraint to the design variables;
[0013] The design variables are obtained by solving the sensitivity of the objective function to the design variables, the sensitivity of the volume constraint to the design variables, and the sensitivity of the self-support constraint to the design variables;
[0014] Determine whether the design variables converge. If the design variables do not converge, repeat the previous solution steps. When the design variables converge, end and obtain the final design variables.
[0015] In a second aspect, the present invention provides a topology optimization design method for a self-supporting structure for five-axis additive manufacturing.
[0016] A topology optimization design method for self-supporting structures for five-axis additive manufacturing includes the following processes:
[0017] Based on the target model to be 3D printed, meshing is performed (for example, using APDL), the design domain is discretized using shell elements, given boundary conditions are applied to the discretized mesh model, the equivalent strain modulus of each element is obtained based on the interpolation of the design variables, and finite element analysis is performed to obtain the element strain energy information under given stress conditions;
[0018] An objective function with the minimum structural flexibility value is constructed, and the sensitivity of the objective function to the design variables is determined based on the unit strain energy information;
[0019] Construct the volume constraints of the target model and determine the sensitivity of the volume constraints to the design variables;
[0020] Construct the self-supporting constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct the printing direction field, construct the self-supporting constraint based on the printing direction field, and determine the sensitivity of the self-supporting constraint to the design variables;
[0021] The design variables are obtained by solving the sensitivity of the objective function to the design variables, the sensitivity of the volume constraint to the design variables, and the sensitivity of the self-support constraint to the design variables;
[0022] Determine whether the design variables converge. If the design variables do not converge, repeat the previous solution steps. When the design variables converge, end and obtain the final design variables.
[0023] In a third aspect, the present invention provides a self-supporting structure topology optimization design system for five-axis additive manufacturing.
[0024] A self-supporting structure topology optimization design system for five-axis additive manufacturing, comprising:
[0025] A first sensitivity determination unit is configured to: construct an objective function with a minimum structural flexibility value based on a target model to be 3D printed, and determine the sensitivity of the objective function to the design variable;
[0026] A second sensitivity determination unit is configured to: construct a volume constraint of the target model and determine the sensitivity of the volume constraint to the design variable;
[0027] A third sensitivity determination unit is configured to: construct a self-support constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct a printing direction field, construct a self-support constraint based on the printing direction field, and determine the sensitivity of the self-support constraint to the design variable;
[0028] The design variable solving unit is configured to solve the design variable according to the sensitivity of the objective function to the design variable, the sensitivity of the volume constraint to the design variable, and the sensitivity of the self-support constraint to the design variable;
[0029] The convergence judgment unit is configured to: judge whether the design variables converge, repeat the previous solution step when the design variables do not converge, and end when the design variables converge to obtain the final design variables.
[0030] In a fourth aspect, the present invention provides a self-supporting structure topology optimization design system for five-axis additive manufacturing.
[0031] A self-supporting structure topology optimization design system for five-axis additive manufacturing, comprising:
[0032] The unit strain energy information acquisition unit is configured to: perform meshing based on the target model to be 3D printed, discretize the design domain using shell units, apply given boundary conditions to the discretized mesh model, obtain the equivalent strain modulus of each unit based on the design variable interpolation, perform finite element analysis, and obtain the unit strain energy information under given stress conditions;
[0033] A first sensitivity determination unit is configured to: construct an objective function with a minimum structural flexibility value, and determine the sensitivity of the objective function to the design variable according to the unit strain energy information;
[0034] A second sensitivity determination unit is configured to: construct a volume constraint of the target model and determine the sensitivity of the volume constraint to the design variable;
[0035] A third sensitivity determination unit is configured to: construct a self-support constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct a printing direction field, construct a self-support constraint based on the printing direction field, and determine the sensitivity of the self-support constraint to the design variable;
[0036] The design variable solving unit is configured to solve the design variable according to the sensitivity of the objective function to the design variable, the sensitivity of the volume constraint to the design variable, and the sensitivity of the self-support constraint to the design variable;
[0037] The convergence judgment unit is configured to: judge whether the design variables converge, repeat the previous solution step when the design variables do not converge, and end when the design variables converge to obtain the final design variables.
[0038] In a fifth aspect, the present invention provides a computer device, comprising: a processor and a computer readable storage medium;
[0039] a processor adapted to execute a computer program;
[0040] A computer-readable storage medium having a computer program stored therein, wherein the computer program, when executed by the processor, implements the self-supporting structure topology optimization design method for five-axis additive manufacturing as described in the first aspect or the second aspect of the present invention.
[0041] In a sixth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program is suitable for being loaded by a processor and executing the self-supporting structure topology optimization design method for five-axis additive manufacturing as described in the first aspect or the second aspect of the present invention.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] 1. The present invention utilizes the heat conduction method to complete the temperature field calculation in the design domain and the surface slicing of the optimized structure during the topology optimization process, thereby realizing the self-supporting constraint under five-axis printing conditions.
[0044] 2. The present invention utilizes a structural topology optimization method to solve the optimal structure according to the self-support constraint conditions under five-axis printing conditions, which can significantly improve the degree of freedom of structural design under self-support requirements.
[0045] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0047] Figure 1 The design domain and boundary conditions in Example 1 of the present invention;
[0048] Figure 2 is the optimization result in Example 1 of the present invention;
[0049] Figure 3 The surface layering of the optimization result in Example 1 of the present invention;
[0050] Figure 4 This is a flow chart of Embodiment 3 of the present invention;
[0051] Figure 5 The target part model and boundary conditions in Example 3 of the present invention;
[0052] Figure 6 This is the optimization result in Example 3 of the present invention;
[0053] Figure 7 This is the surface layering of the optimization result in Example 3 of the present invention. DETAILED DESCRIPTION
[0054] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0055] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0056] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0057] Embodiment 1:
[0058] This implementation proposes a topology optimization design method for self-supporting structures for five-axis additive manufacturing. Taking SIMP (Solid Isotropic Material with Penalization) as an example, the design domain and boundary conditions of this embodiment are as follows: Figure 1 As shown in the figure, the minimum flexibility value of the structure, that is, the maximum stiffness of the structure, is taken as the objective function to optimize the solution, which specifically includes the following steps:
[0059] S1.1: Construct the optimization equation as follows:
[0060]
[0061] Set a design variable ρ for each unit after discretization e , ρ min is the lower limit of the design variable, n e is the number of units in the design domain, c(ρ) is the objective function, i.e., the structural flexibility, K, U, and F represent the overall structural stiffness matrix, displacement vector, and load vector, respectively, and k e and u e are the stiffness matrix and displacement vector of the unit, k0 is the initial unit stiffness matrix, and p is the penalty value used to drive ρ e is close to 0 or 1 to reduce the generation of intermediate density units. Usually, the penalty value p of SIMP is greater than 3. G is the volume constraint function, P α is a self-support constraint function, and the sensitivity is the derivative of the target value with respect to the design variable. Its correct solution will directly affect the result of the structural topology design. The target function has a direct influence on the design variable ρ. e The sensitivity is:
[0062]
[0063] Among them, E0 is the Young's modulus of the material, E min is the Young's modulus at the point without material (hole).
[0064] S1.2: Construct volume constraint G, is the total volume of the optimized structure, where v e is the unit volume, V0 is the initial volume before structural optimization, f is the retained volume fraction, and the sensitivity of volume constraint to design variables is:
[0065]
[0066] S1.3: Construct self-supporting constraints P α ≤0, solve the temperature field T based on the heat conduction equation as shown below:
[0067] (I-Lt)T=T0 (4);
[0068] Where L represents the Laplace operator matrix, T0 is the initial thermal boundary condition, and L is constructed using the following method:
[0069]
[0070]
[0071] Among them, L e represents the unit Laplacian matrix of the quadrilateral unit, p k is the penalty factor, k0 is the thermal conductivity coefficient at the material location, k min is the thermal conductivity coefficient without material, A k.e represents the assembly matrix of the unit Laplacian operator to the global Laplacian operator;
[0072] Calculate the temperature gradient field
[0073] right For special treatment:
[0074] in, The temperature gradient of the unit after treatment is expressed as represents the unit temperature gradient field, is the cell density after filtering and Heaviside mapping. This step is used to avoid the influence of temperature gradient in the place without material on filtering. Further, the smooth temperature gradient field is obtained by PDE filtering.
[0075] right After normalization, we get the printing direction field B:
[0076]
[0077] Self-supporting constraint function P α It can be expressed as follows:
[0078]
[0079] Where H represents the Heaviside function, and the parameter β is used to control the approximation degree of the Heaviside function to the step function. Indicates the unit printing direction, represents the cell density gradient, Ω represents the design domain space, represents the set self-support constraint threshold, α is the overhang angle threshold for self-support printing (usually 40° to 50°), and the sensitivity of the self-support constraint to the design variable x is:
[0080]
[0081] in,
[0082]
[0083] Among them, B x and B y Represent the component fields of B in the x and y directions respectively.
[0084] It can be expressed as:
[0085]
[0086] in, The specific form is:
[0087]
[0088] in, express The component in the x direction, and The specific forms of are shown in formula (15) and formula (16) respectively.
[0089]
[0090] in,
[0091]
[0092] in, express In the x-direction, Gx is the global gradient operator matrix used to calculate the x-direction component of the gradient. Solve using the adjoint method:
[0093]
[0094] In the formula, A=(I-Lt).
[0095] Similarly, based on the derivation process from equation (14) to equation (18), we can get
[0096] S1.4: Use the Method of Moving Asymptotes (MMA) solver to solve the design variable ρ.
[0097] S1.5: Determine whether the result converges. If the result does not converge, repeat S1.4. If the result converges, stop the iteration.
[0098] The final optimized structure of this embodiment is as follows Figure 2As shown in Figure 2, the surface stratification is as follows: Figure 3 shown.
[0099] Embodiment 2:
[0100] This implementation provides a self-supporting structure topology optimization design system for five-axis additive manufacturing, including:
[0101] The first sensitivity determination unit is configured to: construct an objective function with a minimum structural flexibility value based on the target model to be 3D printed, and determine the sensitivity of the objective function to the design variable; the specific working process of this unit is shown in the process of step S1.1 in embodiment 1, which will not be repeated here;
[0102] The second sensitivity determination unit is configured to: construct a volume constraint of the target model and determine the sensitivity of the volume constraint to the design variable; the specific working process of this unit is shown in the process of step S1.2 in embodiment 1, which will not be repeated here;
[0103] The third sensitivity determination unit is configured to: construct a self-support constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct a printing direction field, construct a self-support constraint based on the printing direction field, and determine the sensitivity of the self-support constraint to the design variable; the specific working process of this unit is shown in the process of step S1.3 in Example 1, which will not be repeated here;
[0104] The design variable solving unit is configured to solve the design variable according to the sensitivity of the objective function to the design variable, the sensitivity of the volume constraint to the design variable, and the sensitivity of the self-support constraint to the design variable; the specific working process of this unit is shown in the process of step S1.4 in Example 1, which will not be repeated here;
[0105] The convergence judgment unit is configured to: judge whether the design variables converge, repeat the previous solution step when the design variables do not converge, and end when the design variables converge to obtain the final design variables; the specific working process of this unit can be seen in the process of step S1.5 in Example 1, which will not be repeated here.
[0106] It is understandable that the above-mentioned units can be separately or all combined into one or several other units to constitute, or some of the units can be further divided into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the design system may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.
[0107] According to another embodiment of the present application, the system described in this embodiment can be constructed and the design method of the embodiment of the present application can be implemented by running a computer program (including program code) capable of executing the steps involved in the corresponding method described in Example 1 on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). The computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.
[0108] Embodiment 3:
[0109] This implementation proposes a topology optimization design method for self-supporting thin-walled structures for five-axis additive manufacturing. Taking the SIMP (Solid Isotropic Material with Penalization) method as an example, the minimum flexibility value of the structure, that is, the maximum structural stiffness, is taken as the objective function. The finite element parametric design language APDL (ANSYS Parametric Design Language) is used for optimization and solution to achieve the self-supporting topology optimization design of vertically printed thin-walled structures. Figure 5 As shown, the specific steps include:
[0110] S2.1: Figure 5 The target model shown is imported into APDL, meshed, and the design domain is discretized using shell elements;
[0111] S2.2: Apply given boundary conditions to the discretized grid model. The boundary conditions are as follows: Figure 5 As shown, the equivalent strain modulus of each unit is obtained based on the interpolation of the design variables, and the finite element analysis is performed using APDL to obtain the unit strain energy information E under given stress conditions;
[0112] S2.3: The optimization equation is the same as that in equation (1). Here, the sensitivity of the design variable ρ is expressed using the unit strain energy information E:
[0113]
[0114] S2.4: Construct volume constraints in the same way as (3);
[0115] S2.5: Construct the self-supporting constraint in the same way as equations (4) to (18);
[0116] S2.6: Use the Method of Moving Asymptotes (MMA) solver to solve the design variable ρ.
[0117] S2.7: Determine whether the result converges. If the result does not converge, repeat S2.2 to S2.6. If the result converges, stop the iteration.
[0118] The final optimized structure of this implementation is as follows Figure 6 As shown in Figure 2, the surface stratification is as follows: Figure 7 shown.
[0119] Embodiment 4:
[0120] This implementation provides a self-supporting structure topology optimization design system for five-axis additive manufacturing, including:
[0121] The unit strain energy information acquisition unit is configured to: perform meshing based on the target model to be 3D printed, discretize the design domain using shell units, apply given boundary conditions to the discretized mesh model, obtain the equivalent strain modulus of each unit based on the design variable interpolation, perform finite element analysis, and obtain the unit strain energy information under given stress conditions; the specific working process of this unit is shown in the process of step S2.1 and step S2.2 in embodiment 3, which will not be repeated here;
[0122] The first sensitivity determination unit is configured to: construct an objective function with a minimum structural flexibility value, and determine the sensitivity of the objective function to the design variable according to the unit strain energy information; the specific working process of this unit is shown in the process of step S2.3 in Example 3, which will not be repeated here;
[0123] The second sensitivity determination unit is configured to: construct a volume constraint of the target model and determine the sensitivity of the volume constraint to the design variable; the specific working process of this unit is shown in the process of step S2.4 in embodiment 3, which will not be repeated here;
[0124] The third sensitivity determination unit is configured to: construct a self-support constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct a printing direction field, construct a self-support constraint based on the printing direction field, and determine the sensitivity of the self-support constraint to the design variable; the specific working process of this unit is shown in the process of step S2.5 in Example 3, which will not be repeated here;
[0125] The design variable solving unit is configured to solve the design variable according to the sensitivity of the objective function to the design variable, the sensitivity of the volume constraint to the design variable, and the sensitivity of the self-support constraint to the design variable; the specific working process of this unit is shown in the process of step S2.6 in Example 3, which will not be repeated here;
[0126] The convergence judgment unit is configured to: judge whether the design variables converge, repeat the previous solution steps when the design variables do not converge, and end when the design variables converge to obtain the final design variables; the specific working process of this unit can be seen in the process of step S2.7 in Example 3, which will not be repeated here.
[0127] Embodiment 5:
[0128] This implementation provides an electronic device, which includes a processor, a communication interface, and a computer-readable storage medium, wherein the processor, the communication interface, and the computer-readable storage medium may be connected via a bus or other means.
[0129] Among them, the communication interface is used to receive and send data, the computer-readable storage medium can be stored in the memory of the electronic device, the computer-readable storage medium is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer-readable storage medium.
[0130] A processor (or CPU (Central Processing Unit)) is the computing core and control core of an electronic device, which is suitable for implementing one or more instructions, and specifically suitable for loading and executing one or more instructions to implement corresponding method flows or corresponding functions.
[0131] The processor is configured to perform the following process:
[0132] Based on the target model to be 3D printed, an objective function with the minimum structural flexibility value is constructed, and the sensitivity of the objective function to the design variables is determined; the specific working process is shown in the process of step S1 in embodiment 1, which will not be repeated here;
[0133] Constructing the volume constraint of the target model and determining the sensitivity of the volume constraint to the design variable; the specific working process is as shown in step S2 of embodiment 1, which will not be described here;
[0134] Constructing a self-supporting constraint of the target model, solving the structural temperature field based on the transient heat conduction equation, and constructing a printing direction field, constructing a self-supporting constraint based on the printing direction field, and determining the sensitivity of the self-supporting constraint to the design variable; the specific working process is shown in the process of step S3 in Example 1, which will not be repeated here;
[0135] According to the sensitivity of the objective function to the design variables, the sensitivity of the volume constraint to the design variables, and the sensitivity of the self-support constraint to the design variables, the design variables are obtained by solving; the specific working process is shown in the process of step S4 in embodiment 1, which will not be repeated here;
[0136] Determine whether the design variables converge. When the design variables do not converge, repeat the previous solution step. When the design variables converge, end and obtain the final design variables. The specific working process is shown in step S5 of Example 1, which will not be repeated here.
[0137] Alternatively, the processor is configured to perform the following process:
[0138] Based on the target model to be 3D printed, meshing is performed, the design domain is discretized using shell elements, given boundary conditions are applied to the discretized mesh model, the equivalent strain modulus of each unit is obtained based on the interpolation of the design variables, and finite element analysis is performed to obtain the unit strain energy information under given stress conditions; the specific working process is shown in the process of step S1 and step S2 in embodiment 3, which will not be repeated here;
[0139] Construct an objective function with the minimum structural flexibility value, and determine the sensitivity of the objective function to the design variables according to the unit strain energy information; the specific working process of this unit is shown in the process of step S3 in embodiment 3, which will not be repeated here;
[0140] Constructing the volume constraint of the target model and determining the sensitivity of the volume constraint to the design variable; the specific working process is as shown in step S4 in embodiment 3, which will not be described here;
[0141] Construct a self-support constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, construct a printing direction field, construct a self-support constraint based on the printing direction field, and determine the sensitivity of the self-support constraint to the design variable; the specific working process of this unit is shown in the process of step S5 in Example 3, which will not be repeated here;
[0142] According to the sensitivity of the objective function to the design variables, the sensitivity of the volume constraint to the design variables, and the sensitivity of the self-support constraint to the design variables, the design variables are obtained by solving; the specific working process is shown in the process of step S6 in embodiment 3, which will not be repeated here;
[0143] Determine whether the design variables converge. When the design variables do not converge, repeat the previous solution step. When the design variables converge, end and obtain the final design variables. The specific working process is shown in step S7 of Example 3, which will not be repeated here.
[0144] Embodiment 6:
[0145] This implementation provides a computer-readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the electronic device and, of course, extended storage media supported by the electronic device. The computer-readable storage medium provides a storage space that stores the processing system of the electronic device.
[0146] In addition, the storage space also stores one or more instructions suitable for being loaded and executed by the processor, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage; optionally, it may also be at least one computer-readable storage medium located away from the aforementioned processor.
[0147] In one embodiment, the computer-readable storage medium stores one or more instructions; the processor loads and executes the one or more instructions stored in the computer-readable storage medium to implement the following process:
[0148] Based on the target model to be 3D printed, an objective function with the minimum structural flexibility value is constructed, and the sensitivity of the objective function to the design variables is determined; the specific working process is shown in the process of step S1 in embodiment 1, which will not be repeated here;
[0149] Constructing the volume constraint of the target model and determining the sensitivity of the volume constraint to the design variable; the specific working process is as shown in step S2 of embodiment 1, which will not be described here;
[0150] Constructing a self-supporting constraint of the target model, solving the structural temperature field based on the transient heat conduction equation, and constructing a printing direction field, constructing a self-supporting constraint based on the printing direction field, and determining the sensitivity of the self-supporting constraint to the design variable; the specific working process is shown in the process of step S3 in Example 1, which will not be repeated here;
[0151] According to the sensitivity of the objective function to the design variables, the sensitivity of the volume constraint to the design variables, and the sensitivity of the self-support constraint to the design variables, the design variables are obtained by solving; the specific working process is shown in the process of step S4 in embodiment 1, which will not be repeated here;
[0152] Determine whether the design variables converge. When the design variables do not converge, repeat the previous solution step. When the design variables converge, end and obtain the final design variables. The specific working process is shown in step S5 of Example 1, which will not be repeated here.
[0153] Alternatively, implement the following process:
[0154] Based on the target model to be 3D printed, meshing is performed, the design domain is discretized using shell elements, given boundary conditions are applied to the discretized mesh model, the equivalent strain modulus of each unit is obtained based on the interpolation of the design variables, and finite element analysis is performed to obtain the unit strain energy information under given stress conditions; the specific working process is shown in the process of step S1 and step S2 in embodiment 3, which will not be repeated here;
[0155] Construct an objective function with the minimum structural flexibility value, and determine the sensitivity of the objective function to the design variables according to the unit strain energy information; the specific working process of this unit is shown in the process of step S3 in embodiment 3, which will not be repeated here;
[0156] Constructing the volume constraint of the target model and determining the sensitivity of the volume constraint to the design variable; the specific working process is as shown in step S4 in embodiment 3, which will not be described here;
[0157] Construct a self-support constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, construct a printing direction field, construct a self-support constraint based on the printing direction field, and determine the sensitivity of the self-support constraint to the design variable; the specific working process of this unit is shown in the process of step S5 in Example 3, which will not be repeated here;
[0158] According to the sensitivity of the objective function to the design variables, the sensitivity of the volume constraint to the design variables, and the sensitivity of the self-support constraint to the design variables, the design variables are obtained by solving; the specific working process is shown in the process of step S6 in embodiment 3, which will not be repeated here;
[0159] Determine whether the design variables converge. When the design variables do not converge, repeat the previous solution step. When the design variables converge, end and obtain the final design variables. The specific working process is shown in step S7 of Example 3, which will not be repeated here.
[0160] A person skilled in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0161] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium or transmitted by a computer-readable storage medium. The computer instruction can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (for example, coaxial cable, optical fiber, digital line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data processing device such as a server, a data center, etc. that contains one or more available media integration. Available media can be magnetic media (for example, floppy disk, hard disk, tape), optical media (for example, DVD), or semiconductor media (for example, solid-state drive (Solid State Disk, SSD)) and the like.
[0162] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A topology optimization design method for self-supporting structures for five-axis additive manufacturing, characterized in that: The process includes: Based on the target model to be 3D printed, an objective function with the minimum structural flexibility value is constructed, and the sensitivity of the objective function to the design variables is determined; Construct the volume constraints of the target model and determine the sensitivity of the volume constraints to the design variables; Construct the self-supporting constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct the printing direction field, construct the self-supporting constraint based on the printing direction field, and determine the sensitivity of the self-supporting constraint to the design variables; The design variables are obtained by solving the sensitivity of the objective function to the design variables, the sensitivity of the volume constraint to the design variables, and the sensitivity of the self-support constraint to the design variables; Determine whether the design variables converge. If the design variables do not converge, repeat the previous solution steps. When the design variables converge, end and obtain the final design variables.
2. The method for topological optimization design of a self-supporting structure for five-axis additive manufacturing according to claim 1, characterized in that: The objective function is: Among them, ρ e A design variable set for each unit after discretization of the domain, ρ min is the lower limit of the design variable, n e is the number of units in the design domain, c(ρ) is the objective function, K, U, and F represent the overall stiffness matrix, displacement vector, and load vector of the structure, respectively, and k e and u e are the stiffness matrix and displacement vector of the unit, k0 is the initial unit stiffness matrix, p is the penalty value, G is the volume constraint function, P α is the self-support constraint function; The sensitivity of the objective function to the design variables is: Among them, E0 is the Young's modulus of the material, E min is the Young's modulus without material.
3. The method for topological optimization design of a self-supporting structure for five-axis additive manufacturing according to claim 1, characterized in that: Construct volume constraint G, is the total volume of the optimized structure, where v e is the unit volume, V0 is the initial volume before structural optimization, f is the retained volume fraction, and the sensitivity of volume constraint to design variables is: Among them, ρ e A design variable set for each element after discretizing the domain.
4. The method for topology optimization design of a self-supporting structure for five-axis additive manufacturing according to any one of claims 1 to 3, characterized in that: Construct a self-supporting constraint P α ≤0, solve the temperature field T based on the heat conduction equation as shown below: (I-Lt)T=T0; Where L represents the Laplace operator matrix, T0 is the initial thermal boundary condition, and t represents time; Calculate the temperature gradient field right To process: in, The temperature gradient of the unit after treatment is expressed as represents the unit temperature gradient field, The cell density after filtering and Heaviside mapping is obtained by PDE filtering to obtain a smooth temperature gradient field. right After normalization, the printing direction field B is obtained: Self-supporting constraint function P α It is expressed as follows: Where H represents the Heaviside function, β is used to control the approximation degree of the Heaviside function to the step function, α is the overhang angle threshold for self-supporting printing, and Ω represents the design domain space. Indicates the unit printing direction, represents the cell density gradient, represents the set self-support constraint threshold, and the sensitivity of the self-support constraint to the design variable is: in, 5. A topology optimization design method for self-supporting structures for five-axis additive manufacturing, characterized in that: The process includes: Based on the target model to be 3D printed, meshing is performed, the design domain is discretized using shell elements, given boundary conditions are applied to the discretized mesh model, the equivalent strain modulus of each element is obtained based on the interpolation of the design variables, and finite element analysis is performed to obtain the element strain energy information under given stress conditions; An objective function with the minimum structural flexibility value is constructed, and the sensitivity of the objective function to the design variables is determined based on the unit strain energy information; Construct the volume constraints of the target model and determine the sensitivity of the volume constraints to the design variables; Construct the self-supporting constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct the printing direction field, construct the self-supporting constraint based on the printing direction field, and determine the sensitivity of the self-supporting constraint to the design variables; The design variables are obtained by solving the sensitivity of the objective function to the design variables, the sensitivity of the volume constraint to the design variables, and the sensitivity of the self-support constraint to the design variables; Determine whether the design variables converge. If the design variables do not converge, repeat the previous solution steps. When the design variables converge, end and obtain the final design variables.
6. The method for topological optimization design of a self-supporting structure for five-axis additive manufacturing according to claim 5, characterized in that: The sensitivity of the objective function to the design variables is determined based on the unit strain energy information E, including: Among them, p is the penalty value, ρ e A design variable set for each unit after discretization of the domain, E0 is the Young's modulus of the material, E min is the Young's modulus without material.
7. A self-supporting structure topology optimization design system for five-axis additive manufacturing, characterized in that: include: A first sensitivity determination unit is configured to: construct an objective function with a minimum structural flexibility value based on a target model to be 3D printed, and determine the sensitivity of the objective function to the design variable; A second sensitivity determination unit is configured to: construct a volume constraint of the target model and determine the sensitivity of the volume constraint to the design variable; A third sensitivity determination unit is configured to: construct a self-support constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct a printing direction field, construct a self-support constraint based on the printing direction field, and determine the sensitivity of the self-support constraint to the design variable; The design variable solving unit is configured to solve the design variable according to the sensitivity of the objective function to the design variable, the sensitivity of the volume constraint to the design variable, and the sensitivity of the self-support constraint to the design variable; The convergence judgment unit is configured to: judge whether the design variables converge, repeat the previous solution step when the design variables do not converge, and end when the design variables converge to obtain the final design variables.
8. A self-supporting structure topology optimization design system for five-axis additive manufacturing, characterized in that: include: The unit strain energy information acquisition unit is configured to: perform meshing based on the target model to be 3D printed, discretize the design domain using shell units, apply given boundary conditions to the discretized mesh model, obtain the equivalent strain modulus of each unit based on the design variable interpolation, perform finite element analysis, and obtain the unit strain energy information under given stress conditions; A first sensitivity determination unit is configured to: construct an objective function with a minimum structural flexibility value, and determine the sensitivity of the objective function to the design variable according to the unit strain energy information; A second sensitivity determination unit is configured to: construct a volume constraint of the target model and determine the sensitivity of the volume constraint to the design variable; A third sensitivity determination unit is configured to: construct a self-support constraint of the target model, solve the structural temperature field based on the transient heat conduction equation, and construct a printing direction field, construct a self-support constraint based on the printing direction field, and determine the sensitivity of the self-support constraint to the design variable; The design variable solving unit is configured to solve the design variable according to the sensitivity of the objective function to the design variable, the sensitivity of the volume constraint to the design variable, and the sensitivity of the self-support constraint to the design variable; The convergence judgment unit is configured to: judge whether the design variables converge, repeat the previous solution step when the design variables do not converge, and end when the design variables converge to obtain the final design variables.
9. A computer device, characterized in that: include: a processor and a computer readable storage medium; a processor adapted to execute a computer program; A computer-readable storage medium having a computer program stored therein, wherein the computer program, when executed by the processor, implements the self-supporting structure topology optimization design method for five-axis additive manufacturing as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is suitable for being loaded by a processor and executing the self-supporting structure topology optimization design method for five-axis additive manufacturing according to any one of claims 1 to 6.
