Space Node Topology Optimization Design Considering Anisotropy of Additive Manufacturing

Featured Application: In this paper, the anisotropy of the mechanical properties of additively manufactured products was investigated. When carrying out a lightweight design, considering the anisotropy during manufacturing, it can provide accurate performance estimates for subsequent manufacturing. The research object of this paper was the space node, which is very suitable for lightweight design because of its complex force. However, this method can also be used for those products that need to consider the performance after manufacture, especially in mass production, whereby the most suitable molding direction can be found using this method. Abstract: At present, a large number of scholars have conducted related research on topology optimization for additive manufacturing (AM). However, there are few relevant research reports on the impact of different directions of additive manufacturing on the optimal design and manufacturing results. In this paper, using the bidirectional evolutionary optimization (BESO) method, anisotropic optimization analysis was carried out on space nodes that are currently popular in the ﬁeld of additive manufacturing and topology optimization. The elastic constants in different directions were used as anisotropic material properties for optimization research in this paper through tensile testing, which was carried out on 316L stainless-steel specimens fabricated using Selective Laser Melting (SLM) technology. In addition, SEM analyses were performed to explore the microscopic appearance of the material. The study found that additive manufacturing is affected by the printing direction in terms of both macroscopic mechanical properties and microscopic material structure; the deformation obtained by anisotropic optimization was about 1.1–2.3% smaller than that obtained by isotropic optimization.


Introduction
Topology optimization is the most advanced type of optimization, which can redistribute the material of the structure and distribute the material in the most reasonable position.This idea originated from the parameter optimization of Michell [1] trusses in 1904.Later, Bendsøe and Kikuchi [2] introduced topology optimization to the optimal design of continuum structures.Over the past few decades, with the continuous in-depth research on the optimization method of continuum structure, many topology optimization methods such as the solid isotropic material with penalization (SIMP) method [3], the BESO method [4], the independent continuous mapping (ICM) method [5], the moving morphable component (MMC) method [6], and the level set method (LSM) [7] have been created on this basis.It is favored by engineers in topology optimization for carrying out lightweight design and ensuring structural strength without relying on human design experience.The development of some methods such as evolutionary topology optimization (ETO) [8], floating projection topology optimization (FPTO) [9], and smooth-edged material distribution for optimizing topology (SEMDOT) [10] can generate a clear and smooth boundary representation.These methods break the limitation of the finite element mesh to enable researchers to get a relatively accurate model boundary.This can be considered a significant key for promoting topology optimization in engineering.
Additive manufacturing technology is well known in the form of 3D printing, which enables the direct fabrication of topologically optimized structures.Brackett et al. [11] pointed out that the biggest bottleneck of the application of typical topology optimization methods to additive manufacturing is that the additive manufacturing constraints are not considered.However, with the development of technologies, some researchers have found some methods to solve the problems where the overhanging part of the structure may collapse during manufacture, and topology results are not smooth.For example, Langelaar [12] developed an AM filter to overcome the overhanging angle problem by combining a layer-wise nonlinear spatial filtering scheme using the SIMP method.Gaynor and Johnson et al. [13] developed a sub-support method for cone density filtering based on the SIMP method.Both methods have been used in commercial software.In recent years, YunFei Fu et al. developed a new SIMP-based method by integrating Langelaar's AM filter, which is capable of generating smooth boundaries [14].In addition, YunFei Fu et al. thoroughly investigated the influences of parameters including the filter radius, mesh size, and target volume fraction on the performance and manufacturability of smooth self-supporting topologies [15].Importantly, these methods have been validated in practical manufacturing, and the manufacturing of topology optimization results is no longer affected by the shape of complex structures.These advanced studies have brought AM and topology optimization closer together.Although topology optimization and additive manufacturing have only been used in fields with high-precision requirements such as high-end equipment and aerospace for a long time [16], with the advancement of additive manufacturing technology and the in-depth study of topology optimization design, many researchers have turned their attention to other industrial designs that can combine topology optimization and additive manufacturing.
As a prefabricated building, space structure is one of the application directions of additive manufacturing and topology optimization.It is important for the nodes to be stronger than the rods in the space structure; otherwise, the damage to nodes will cause extensive collapse as they are connected with many rods.In addition to being lightweight, topology-optimized space nodes will have greater stiffness, meeting this requirement.Zhao et al. [17,18] carried out topology optimization of maximum stiffness and minimum mass for cable-rod nodes in space structures.Wang [19] studied the optimization and additive manufacturing of bifurcated cast steel joints.Liu [20] took the spherical node as the research object and compared the mechanical properties of multi-objective optimization and single-objective optimization.Seifi [21] used the over-section method and the BESO method to study the topology optimization design of a six-bar box node in Sunshine Valley.These studies have greatly broadened the application scope of additive manufacturing and topology optimization, as well as accelerated the continuous innovation of manufacturing technology and industrial applications.
It should be noted that it is also necessary to consider the anisotropy problem caused by additive manufacturing in the application research of topology optimization for additive manufacturing, concerning components that require stiffness, especially space nodes with complex forces.The general topology optimization only considers isotropic materials, which ignores the anisotropy caused by the manufacturing process.Numerous articles have pointed out that anisotropy is common when most materials are used in additive manufacturing, where the mechanical properties of the manufactured components are almost different in all directions.Song [22] conducted tensile and compression tests in different directions on specimens made of PLA, which showed strong anisotropy in the test.In addition to PLA materials, AM specimens of other polymer materials, such as ABS [23], polypropylene [24], and polycarbonate [25], also showed anisotropy in the experiments.With regard to the anisotropy of metal materials, researchers have mainly studied 316L stainless steel.Alsalla [26], Zhou [27], and Dong [28] studied 316L stainless-steel specimens prepared by selective laser melting.Studies found that the metal specimens also had anisotropy, with the mechanical properties in the manufacturing direction being the weakest.The microstructure of the samples also showed grains with directional characteristics.Furthermore, the same was true in terms of microstructure.Ntintakis's [29] studies on topologically optimized microstructures showed that the additive manufacturing of microstructures also has anisotropic behavior.Rastegarzadeh [30] proposed a gradient-based algorithm to simultaneously optimize the microscale structures and macroscale material properties, and the high computational efficiency and superior structural mechanical properties of the orthotropic porous material were experimentally demonstrated.Therefore, it is necessary to consider the anisotropy caused by the manufacturing process in the optimization and manufacturing process.
Using the Abaqus solver and Matlab programming, this paper integrated an optimization platform for topology optimization and conducted an additive manufacturing mechanical test with 316L stainless steel as the research object to study the mechanical properties of the material in different directions.The elastic constants in different directions obtained from the experiment were used as anisotropic material properties for optimization research.In the optimization analysis, the anisotropic parameters are respectively substituted into the model optimized by the isotropic parameters for calculation, to analyze the mechanical properties of the isotropically optimized nodes in different directions during manufacture.In addition, unlike the general isotropic study, this paper also input the anisotropic parameters before topology optimization.This generated the best results for different manufacturing directions, enabling a comparison with isotropic optimization results and an exploration of how adding anisotropic parameters affects topology optimization.The conclusions obtained in this paper can provide a reference for the practical application of additive manufacturing and increase the applicability of topology optimization design.

Secondary Development of the BESO Method
The BESO method is one of the most popular topology optimization methods of continuum structures.BESO is optimized by continuously reducing the volume, which can avoid falling into the local optimal solution, with broad prospects for secondary development.
Compliance is usually taken as the objective function when optimizing the space nodes that require stronger stiffness, and optimizing the structural shape with the smallest deformation while taking into account the lightweight design.This paper uses the BESO method based on the finite element method, which can ensure the efficiency and effect of the optimization, using the equal-volume regular hexahedron square as the variable element to get the energy density of the element as the design variable.
Its mathematical description is as follows: where C is the compliance, F is the force matrix, U is the displacement (deformation) matrix, V* is the target volume fraction, V i is the volume of the i-th element, X i is the design variable of the i-th element, n is the total number of solid elements, x min is a nonzero minimum value, Ω 1 is the solid region, and Ω 0 is the hole region.
The formula takes compliance C as the objective function and strives to minimize the compliance, which means that the deformation U is the smallest when the load F is unchanged, and the structural configuration at V* volume is obtained, so as to achieve lightweight and maximize stiffness.When i belongs to the solid area, the design variable X i is itself; when i belongs to the hole area, it is necessary to carry out the X i penalty.This is to make it approximate to air, but not exactly equal to 0, to avoid matrix singularity [31].
To make the results continuous in the finite element calculation, the most commonly used BESO method introduces the material interpolation formula of the SIMP method.The material interpolation method can make the hole area unit get the sensitivity penalty in the iterative calculation, and then effectively distinguish the solid unit and the hole area unit.
where E 1 denotes the Young's modulus of the solid material, x i is the design variable of the i-th element, and p is the penalty exponent.
After the model is calculated by finite element software, the energy density of each element is obtained.Generally, the large value is not corrected, but the material method is used to penalize the value of the element in the hole area to reduce the weight of sensitivity filtering.
This paper adopts a solid-void design; hence, according to the relevant literature, it can be expressed by the following formula [32]: where K i is the elemental stiffness matrix.The design variable is discrete because materials in solid and void are different, and every design variable of the individual element is represented by a sensitivity, thereby the formula can be defined by: Then the sensitivity number will decline to nearly 0 with the penalty exponent increasing to infinity.
In general, when using an optimization program based on finite element software, it cannot be calculated to define a void region material as zero; therefore, the void material is defined as a material with lower performance.In this way, two materials need to be defined in the optimization, and the formula is defined as which can be simplified as where α is the element sensitivity, E 1 and E 2 are the element elastic moduli of the solid area and the hole area, respectively, K is the stiffness matrix calculated from the elastic moduli E 1 and E 2 , and P is the penalty index, whose increase will decrease the sensitivity α, thus achieving the effect of increasing the penalty.
According to the material interpolation method described above, the elements in the hole area are assigned a sensitivity value that is approximate and not equal to 0, while the element's sensitivity in the solid area receives the appropriate adjustments.
A sensitivity filter needs to be added because the structure cannot be kept smooth.Although the use of the material interpolation method enables the elements to better Appl.Sci.2022, 12, 9396 5 of 18 participate in the iterative calculation, island elements are prone to appear adjacent to the solid element and the hole area element.
Figure 1 is a schematic diagram of the sensitivity filter.The sensitivity filtering method is introduced to solve the checkerboard effect caused by the discontinuity of the grid sensitivity of the elements.A spherical filter is usually used in the three-dimensional optimization algorithm, which can ensure the smoothness of the structure after filtering.In the figure, the blue elements are the elements involved in filtering, and these elements are all within the scope of the sphere.By processing the elements within a certain radius Rmin near the target element according to the distance weighted average, the grid becomes stable and continuous.In this way, even element values with large differences can be made continuous.moduli E1 and E2, and P is the penalty index, whose increase will decrease the sensitivity α, thus achieving the effect of increasing the penalty.
According to the material interpolation method described above, the elements in the hole area are assigned a sensitivity value that is approximate and not equal to 0, while the element's sensitivity in the solid area receives the appropriate adjustments.
A sensitivity filter needs to be added because the structure cannot be kept smooth.Although the use of the material interpolation method enables the elements to better participate in the iterative calculation, island elements are prone to appear adjacent to the solid element and the hole area element.
Figure 1 is a schematic diagram of the sensitivity filter.The sensitivity filtering method is introduced to solve the checkerboard effect caused by the discontinuity of the grid sensitivity of the elements.A spherical filter is usually used in the three-dimensional optimization algorithm, which can ensure the smoothness of the structure after filtering.In the figure, the blue elements are the elements involved in filtering, and these elements are all within the scope of the sphere.By processing the elements within a certain radius Rmin near the target element according to the distance weighted average, the grid becomes stable and continuous.In this way, even element values with large differences can be made continuous.
where rmin is the filtering range, rj is the distance between unit j and the target unit, and m is the number of units within the range of rmin.The unit sensitivity is calculated according to the following formula [33]: where i represents the serial number of the target unit, and j represents the serial number of the unit participating in the filtering within the filtering range.As the iterative process The weights are calculated as follows [33]: where r min is the filtering range, r j is the distance between unit j and the target unit, and m is the number of units within the range of r min .The unit sensitivity is calculated according to the following formula [33]: where i represents the serial number of the target unit, and j represents the serial number of the unit participating in the filtering within the filtering range.As the iterative process progresses, the boundaries of soft and solid elements become smooth.The sensitivity filtering method not only solves the checkerboard problem but also effectively reduces the dependence on the grid, which is one of the cores of the topology optimization method.Lastly, the solid elements and the pore elements are divided according to the volume fraction using the bisection method.This step requires finding a critical value that distinguishes solid elements from hole area elements.The maximum and minimum sensitivities of all units are summed before taking the average.When using this average as the critical value, if the number of solid elements is greater than the volume constraint, the average is again averaged with the maximum value.Otherwise, the average is summed with the minimum value.In the recycling process, the most accurate critical value is obtained by continuous approximation through the bisection method, to carry out the unit division.
The formula is as follows [34]: where a th is the critical value of the division unit, a min is the minimum sensitivity, a max is the maximum sensitivity, V is the current volume value, and V goal is the target volume under the control of the current evolution rate.
With a certain number of optimization iterations, the convergence of the algorithm iteration is judged according to the historical change of sensitivity.
The formula is as follows [31][32][33]: where C is the compliance of each iteration, K is the iteration order, and N is a positive integer.When it is smaller than the relative error e, it is judged to be converged.On the basis of the above optimization theory, the algorithm flow of secondary development is shown in Figure 2: ranged into a three-dimensional matrix.Sensitivity analysis and filtering are then performed.Lastly, on the basis of the filtered design variables, the unit is divided using the bisection method, and a new .inpfile is written in Matlab through the 'fopen' and 'fprintf' commands.On the basis of the set evolution rate, the volume is continuously reduced until the target volume fraction is reached.This can be achieved with the help of 3D modeling software and a 3D printer.This completes the optimization, followed by actinic processing and additive manufacturing.
Relying on mature commercial finite element solvers, this method has good reliability and can be easily invoked when solving optimization problems.

316L Stainless-Steel Anisotropy and Microscopic Research
To obtain the anisotropic mechanical properties of 316L stainless-steel components manufactured using SLM technology, this paper printed small-sized samples based on the ASTM-E8 specification, conducted tensile tests, and studied the mechanical properties in each molding direction.The morphological changes of the samples before and after When using this method, the finite element analysis model is first established and meshed in Abaqus.Then, the .inpformat of the Abaqus calculation file is exported.
Then, the DOS command 'dos(strcat('abaqus job=',Name,' double interactive cpus=2'))' based on Matlab programming is called, the finite element .inpfile is calculated in the background, and the .ODB result file is obtained.
The resulting data from the .ODB file are then extracted by calling a Python program, which contains the stress and energy of the element.The extraction method is to open the .ODB file through the openOdb() command in python, and to accurately extract the target SET's data with the help of the command 'odb.When analyzing, the material properties, penalty index, evolution rate, unit range, and filter radius are firstly set.In Matlab, according to the arrangement of elements of the finite element model, the element values obtained from .odb are correspondingly arranged into a three-dimensional matrix.Sensitivity analysis and filtering are then performed.Lastly, on the basis of the filtered design variables, the unit is divided using the bisection method, and a new .inpfile is written in Matlab through the 'fopen' and 'fprintf' commands.On the basis of the set evolution rate, the volume is continuously reduced until the target volume fraction is reached.This can be achieved with the help of 3D modeling software and a 3D printer.
This completes the optimization, followed by actinic processing and additive manufacturing.
Relying on mature commercial finite element solvers, this method has good reliability and can be easily invoked when solving optimization problems.

316L Stainless-Steel Anisotropy and Microscopic Research
To obtain the anisotropic mechanical properties of 316L stainless-steel components manufactured using SLM technology, this paper printed small-sized samples based on the ASTM-E8 specification, conducted tensile tests, and studied the mechanical properties in each molding direction.The morphological changes of the samples before and after stretching were analyzed by SEM, and the failure mechanism was explored.
The tensile properties of the specimen were determined according to the ASTM-E8 metal tensile test specification, which is a dumbbell-shaped specimen, as shown in Figure 3, and the specific dimensions are shown in Table 1.In order to compare the influence of the mechanical properties of the 316L stainlesssteel printed parts in all directions, the test pieces in this paper were printed in three orientations: vertical, side, and flat.The scanning path direction and printing direction of the samples manufactured in this paper are shown in Figure 4.In order to compare the influence of the mechanical properties of the 316L stainlesssteel printed parts in all directions, the test pieces in this paper were printed in three orientations: vertical, side, and flat.The scanning path direction and printing direction of the samples manufactured in this paper are shown in Figure 4.In order to compare the influence of the mechanical properties of the 316L stainlesssteel printed parts in all directions, the test pieces in this paper were printed in three orientations: vertical, side, and flat.The scanning path direction and printing direction of the samples manufactured in this paper are shown in Figure 4.The coding of the sample in Figure 4 indicates the plane on which the largest surface of the sample is located.For example, the largest surface of the vertically printed sample is in the ZX plane in Figure 4; hence, ZX is used to represent vertical printing.
There was a difference between vertical and flat printing.When the vertically printed sample was stressed, the bonding of each layer of the printed surface was relatively weak, which affected the tensile properties.For the flat-printed style, the performance in this direction was best since the direction of the tensile test was the direction of the scanning path and stretched along the grain.Side-printed samples also performed better in tensile tests than those printed vertically.However, the side-printed samples did not stretch according to the scanning path during the tensile test; hence, the mechanical properties were weak.In general, the mechanical properties of the flat-printed samples should be the strongest, and the vertical-printed samples should be the weakest.
The parameters of 316L stainless-steel material are shown in Table 2, and the sample printing process parameters are shown in Table 3.The coding of the sample in Figure 4 indicates the plane on which the largest surface of the sample is located.For example, the largest surface of the vertically printed sample is in the ZX plane in Figure 4; hence, ZX is used to represent vertical printing.
There was a difference between vertical and flat printing.When the vertically printed sample was stressed, the bonding of each layer of the printed surface was relatively weak, which affected the tensile properties.For the flat-printed style, the performance in this direction was best since the direction of the tensile test was the direction of the scanning path and stretched along the grain.Side-printed samples also performed better in tensile tests than those printed vertically.However, the side-printed samples did not stretch according to the scanning path during the tensile test; hence, the mechanical properties were weak.In general, the mechanical properties of the flat-printed samples should be the strongest, and the vertical-printed samples should be the weakest.
The parameters of 316L stainless-steel material are shown in Table 2, and the sample printing process parameters are shown in Table 3.In order to ensure that the performance comparison of the specimens was valid, all printed specimens were manufactured and printed under the same process parameters.
In this paper, the failure of the sample before and after the tensile test was observed, and the difference in the internal structure of the sample was observed through SEM analysis.The results are compared in Section 3.3.

Effects of Anisotropy on Node Optimization
Additive manufacturing is based on its stacked manufacturing method; thus, it can be regarded as a composite sheet, and the material elastic constant obtained from the tensile test is added as a material property.The tensile test results of different manufacturing directions can be approximately regarded as the properties of the direction.By changing the elastic constant, the printing direction of the model is defined in the algorithm.As shown in Figure 5, there will be different mechanical properties in different three directions in any layer which taken out from the printed part (small cube).It can be represented by the mechanical properties of flat, vertical, and side printed samples.
ysis.The results are compared in Section 3.3.

Effects of Anisotropy on Node Optimization
Additive manufacturing is based on its stacked manufacturing method; thus, it can be regarded as a composite sheet, and the material elastic constant obtained from the tensile test is added as a material property.The tensile test results of different manufacturing directions can be approximately regarded as the properties of the direction.By changing the elastic constant, the printing direction of the model is defined in the algorithm.As shown in Figure 5, there will be different mechanical properties in different three directions in any layer which taken out from the printed part (small cube).It can be represented by the mechanical properties of flat, vertical, and side printed samples.
Shear modulus is expressed as follows according to [35]: where E is the elastic modulus, ν is the Poisson's ratio, and G is the shear modulus.Shear modulus is expressed as follows according to [35]: where E is the elastic modulus, ν is the Poisson's ratio, and G is the shear modulus.

Optimization of Space Nodes
To highlight the stress complexity of the optimized nodes and to show the robustness of the secondary development algorithm, this paper chose to use ideal cube nodes [17,18,31] under combined tension and shear load as a calculation example.The size of the cube design domain was 80 mm × 80 mm × 80 mm.As shown in Figure 6, one end of the node was fixed, and the other three ends were subjected to axial tension and vertical shear.The shear force was 10,000 N, and the axial force was applied using a pressure of 500 Pa.

Optimization of Space Nodes
To highlight the stress complexity of the optimized nodes and to show the robustness of the secondary development algorithm, this paper chose to use ideal cube nodes [17,18,31] under combined tension and shear load as a calculation example.The size of the cube design domain was 80 mm × 80 mm × 80 mm.As shown in Figure 6, one end of the node was fixed, and the other three ends were subjected to axial tension and vertical shear.The shear force was 10,000 N, and the axial force was applied using a pressure of 500 Pa. Figure 6.Initial shape and load layout of nodes (the green part is the design domain, the gray part is the ear plate area, the yellow arrow is the combined load of axial force and pressure, and the blue area is the binding boundary).
The sample was defined as an isotropic material with an elastic modulus of 2.06 × 105 MPa and a density of 7.85 g/cm 3 .The calculation results are shown in Figure 7.With further iterations, the target volume was reached at the 12th step, and the stress after the final convergence is shown below, highlighting its overall uniform distribution.As a result, Figure 6.Initial shape and load layout of nodes (the green part is the design domain, the gray part is the ear plate area, the yellow arrow is the combined load of axial force and pressure, and the blue area is the binding boundary).
The sample was defined as an isotropic material with an elastic modulus of 2.06 × 105 MPa and a density of 7.85 g/cm 3 .The calculation results are shown in Figure 7.With further iterations, the target volume was reached at the 12th step, and the stress after the final convergence is shown below, highlighting its overall uniform distribution.As a result, there were fewer low-stress areas, with an overall state of high stress.
Figure 6.Initial shape and load layout of nodes (the green part is the design domain, the gray part is the ear plate area, the yellow arrow is the combined load of axial force and pressure, and the blue area is the binding boundary).
The sample was defined as an isotropic material with an elastic modulus of 2.06 × 105 MPa and a density of 7.85 g/cm 3 .The calculation results are shown in Figure 7.With further iterations, the target volume was reached at the 12th step, and the stress after the final convergence is shown below, highlighting its overall uniform distribution.As a result, there were fewer low-stress areas, with an overall state of high stress.Therefore, the BESO secondary development procedure was reasonably reliable.

The 316L Stainless-Steel Tensile Test Results
As shown in Figure 8, the instrument used for the tensile test was the German Zwick electronic universal testing machine.Tensile tests were performed on nine samples in turn.The speed used in this test was 2 mm/min.Therefore, the BESO secondary development procedure was reasonably reliable.

The 316L Stainless-Steel Tensile Test Results
As shown in Figure 8, the instrument used for the tensile test was the German Zwick electronic universal testing machine.Tensile tests were performed on nine samples in turn.The speed used in this test was 2 mm/min.The measured stress-strain curve is shown in Figure 9: It can be seen from Figure 9a-c that the tensile properties of the samples were similar in the same printing direction.This shows that the additive manufacturing technology had good stability, in addition to providing stable support for the research of anisotropic topology optimization based on its process.
The obtained data in each direction are shown in Figure 10.It can be seen from Figure 9a-c that the tensile properties of the samples were similar in the same printing direction.This shows that the additive manufacturing technology had good stability, in addition to providing stable support for the research of anisotropic topology optimization based on its process.
The obtained data in each direction are shown in Figure 10.According to Figure 10, the yield strength, elastic modulus, tensile strength, and elongation of flat printing were stronger compared to other layouts, while the results of vertical printing were the lowest.This result is consistent with the previous conclusions of other researchers [26,27], suggesting that the experimental data are reasonable.According to Figure 10, the yield strength, elastic modulus, tensile strength, and elongation of flat printing were stronger compared to other layouts, while the results of vertical printing were the lowest.This result is consistent with the previous conclusions of other researchers [26,27], suggesting that the experimental data are reasonable.

SEM Microscopic Analysis
Figure 11 shows the observation pictures at 200× and 1000× magnification.The flat-printed samples performed well, showing uniform melting and fewer surface defects.The vertically printed samples had many pores, with mixed powders, poor quality, and unmelted metal powder.Such defects are often the main cause of stress concentration and will cause catastrophic damage.This situation may be due to two reasons: shrinkage defects caused by too fast cooling during manufacture or incomplete melting caused by fast scanning speed.According to Figure 10, the yield strength, elastic modulus, tensile strength, and elongation of flat printing were stronger compared to other layouts, while the results of vertical printing were the lowest.This result is consistent with the previous conclusions of other researchers [26,27], suggesting that the experimental data are reasonable.

SEM Microscopic Analysis
Figure 11 shows the observation pictures at 200× and 1000× magnification.The flatprinted samples performed well, showing uniform melting and fewer surface defects.The vertically printed samples had many pores, with mixed powders, poor quality, and unmelted metal powder.Such defects are often the main cause of stress concentration and will cause catastrophic damage.This situation may be due to two reasons: shrinkage defects caused by too fast cooling during manufacture or incomplete melting caused by fast scanning speed.Figure 12 is a surface photograph of stretching results in different manufacturing directions.As shown in the figure, both samples had a well-shaped fracture path when fractured.In addition, at 200× magnification, it can be seen that both had unmelted metal powder but the melting quality of the flat-printed sample was significantly better.At the same time, it can be seen that the cracks of the flat-printed sample were small at 1000× magnification, while the vertical printing led to greatly expanded cracks on the surface of the sample, with a loose sliding phenomenon.
In Figure 13, it can be seen that the powder particles with a large number of secondphase particles at the fracture were not melted and showed a lot of dimples at 2000× magnification.The dimples were significantly denser and smaller under vertical printing.In terms of materials [36], the appearance of dimples was caused by the plastic deformation of the structure, with larger dimples indicating better ductility.The elongation of the vertically printed samples was lower than that of the flat-printed samples with larger dimples.At the same time, the large pores could also cause stress concentration, resulting in the vertically printed samples being more easily damaged during the test.
Figure 12 is a surface photograph of stretching results in different manufacturing directions.As shown in the figure, both samples had a well-shaped fracture path when fractured.In addition, at 200× magnification, it can be seen that both had unmelted metal powder but the melting quality of the flat-printed sample was significantly better.At the same time, it can be seen that the cracks of the flat-printed sample were small at 1000× magnification, while the vertical printing led to greatly expanded cracks on the surface of the sample, with a loose sliding phenomenon.In Figure 13, it can be seen that the powder particles with a large number of secondphase particles at the fracture were not melted and showed a lot of dimples at 2000× magnification.The dimples were significantly denser and smaller under vertical printing.In terms of materials [36], the appearance of dimples was caused by the plastic deformation of the structure, with larger dimples indicating better ductility.The elongation of the vertically printed samples was lower than that of the flat-printed samples with larger dimples.At the same time, the large pores could also cause stress concentration, resulting in the vertically printed samples being more easily damaged during the test.

Anisotropic Optimization Analysis of Space Nodes
According to the above test data, the six elastic constant setting parameters shown in Table 4 could be obtained [35].

Anisotropic Optimization Analysis of Space Nodes
According to the above test data, the six elastic constant setting parameters shown in Table 4 could be obtained [35].The nodal conditions were kept consistent, and the material properties of the engineering elastic constants were set in the finite element calculation software to define the application direction of the parameters.The calculation file of the model was called in Matlab for analysis.

Anisotropic Analysis of Optimization Results for Isotropic Materials
In this Section, the optimization results of the isotropic materials in Section 3.1 are re-analyzed, the six parameters in Table 4 are substituted as engineering elastic constants, and the deformation analysis is carried out in Abaqus.
The analysis results in all directions are shown in Figure 14. Figure 14 shows the effect of anisotropy during actual manufacturing, which was relatively large.It can be seen in the displacement cloud map that the node deformation of the Y-direction print with Z-scan was the smallest.In addition, the deformation of the node printed in the Z direction of this node was significantly larger than that of the other two directions.The difference between the maximum deformation and the minimum deformation was about 21.4%; hence, the anisotropy problem of additive manufacturing could not be ignored.

Anisotropic Optimization of Space Nodes
In addition to optimization with isotropic materials, this section performed topology optimization on nodes that incorporated anisotropic materials.Before optimization, the anisotropy parameters were taken as material properties and substituted into the space node model in Section 3.1 for optimization to compare the similarities and differences in Figure 14 shows the effect of anisotropy during actual manufacturing, which was relatively large.It can be seen in the displacement cloud map that the node deformation of the Y-direction print with Z-scan was the smallest.In addition, the deformation of the node printed in the Z direction of this node was significantly larger than that of the other two directions.The difference between the maximum deformation and the minimum deformation was about 21.4%; hence, the anisotropy problem of additive manufacturing could not be ignored.

Anisotropic Optimization of Space Nodes
In addition to optimization with isotropic materials, this section performed topology optimization on nodes that incorporated anisotropic materials.Before optimization, the anisotropy parameters were taken as material properties and substituted into the space node model in Section 3.1 for optimization to compare the similarities and differences in optimization with and without taking into account anisotropy.
The results are shown in Figure 15.
relatively large.It can be seen in the displacement cloud map that the node deformation of the Y-direction print with Z-scan was the smallest.In addition, the deformation of the node printed in the Z direction of this node was significantly larger than that of the other two directions.The difference between the maximum deformation and the minimum deformation was about 21.4%; hence, the anisotropy problem of additive manufacturing could not be ignored.

Anisotropic Optimization of Space Nodes
In addition to optimization with isotropic materials, this section performed topology optimization on nodes that incorporated anisotropic materials.Before optimization, the anisotropy parameters were taken as material properties and substituted into the space node model in Section 3.1 for optimization to compare the similarities and differences in optimization with and without taking into account anisotropy.
The results are shown in Figure 15.As shown in Figure 15, the topology optimization of anisotropic materials resulted in quite differently shaped nodes compared to the results of isotropic optimization.In the X printing direction, since the force in the X direction was the largest but the material was the weakest when scanning in the Z direction, the shear modulus became weaker, and the shear force was affected, generating more hole areas.Compared with the results when scanning in the Y direction, larger holes also appeared in the center of the node.When printing in the Y direction and the Z direction, the difference between different scanning directions was small, but it can be seen that the shape was different.During Y-direction printing, due to the weak material properties in the Y-direction, more material accumulated on the boundary of the fixed end to provide more structural stiffness.When printing in the Z direction, the difference in the scanning direction resulted in the two sides being As shown in Figure 15, the topology optimization of anisotropic materials resulted in quite differently shaped nodes compared to the results of isotropic optimization.In the X printing direction, since the force in the X direction was the largest but the material was the weakest when scanning in the Z direction, the shear modulus became weaker, and the shear force was affected, generating more hole areas.Compared with the results when scanning in the Y direction, larger holes also appeared in the center of the node.When printing in the Y direction and the Z direction, the difference between different scanning directions was small, but it can be seen that the shape was different.During Y-direction printing, due to the weak material properties in the Y-direction, more material accumulated on the boundary of the fixed end to provide more structural stiffness.When printing in the Z direction, the difference in the scanning direction resulted in the two sides being significantly affected by the shear force, while X-direction scanning weakened the shear stiffness on both sides of the node.Therefore, there was a little more material buildup at the boundary relative to the Y direction.
As shown in Figure 16, in the cases of isotropic optimization and anisotropic optimization, there was an optimal manufacturing solution for this node, i.e., printing in the Y direction and scanning in the Z direction.In this paper, the optimal manufacturing direction was shown at the blue flower, where the maximum deformation after optimization of the two was closest.However, in other directions, the optimization results considering the anisotropic parameters performed better than the isotropic optimization.In summary, it is necessary to take the manufacturing direction into account when optimizing space nodes that require greater stiffness.

Conclusions
This study was based on numerous previous studies by other researchers, and it integrated an optimization platform for topology optimization considering the anisotropy of AM.The anisotropy test and SEM analysis were carried out on the additive manufacturing samples in different printing directions, and the obtained anisotropy parameters were substituted into the optimization analysis.The following conclusions could be drawn: (1) By testing 316L stainless-steel products of SLM manufacturing technology, it was found that the mechanical properties of the printing direction were the weakest.(2) Under electron microscopy observation, there were more dimples and second-phase particles at the fracture of the sample stretched along the printing direction, which may have been due to incomplete powder melting caused by the interval of scanning speed between layers.(3) The attribute parameters of the forming direction had a significant influence on the optimized stiffness and optimized shape of the structure.In the case of the node in this paper, when adding parameters in various directions for analysis, both had the same direction most beneficial to actual manufacturing.(4) The deformation obtained by anisotropic optimization was about 1.09-2.19%smaller than that obtained by isotropic optimization.Therefore, when topology optimization is combined with additive manufacturing, it is necessary to consider the performance

Conclusions
This study was based on numerous previous studies by other researchers, and it integrated an optimization platform for topology optimization considering the anisotropy of AM.The anisotropy test and SEM analysis were carried out on the additive manufacturing samples in different printing directions, and the obtained anisotropy parameters were substituted into the optimization analysis.The following conclusions could be drawn: (1) By testing 316L stainless-steel products of SLM manufacturing technology, it was found that the mechanical properties of the printing direction were the weakest.(2) Under electron microscopy observation, there were more dimples and second-phase particles at the fracture of the sample stretched along the printing direction, which may have been due to incomplete powder melting caused by the interval of scanning speed between layers.(3) The attribute parameters of the forming direction had a significant influence on the optimized stiffness and optimized shape of the structure.In the case of the node in this paper, when adding parameters in various directions for analysis, both had the same direction most beneficial to actual manufacturing.
(4) The deformation obtained by anisotropic optimization was about 1.09-2.19%smaller than that obtained by isotropic optimization.Therefore, when topology optimization is combined with additive manufacturing, it is necessary to consider the performance difference caused by the printing orientation.

Figure 5 .
Figure 5. Schematic diagram for adding properties of anisotropic materials.Figure 5. Schematic diagram for adding properties of anisotropic materials.

Figure 5 .
Figure 5. Schematic diagram for adding properties of anisotropic materials.Figure 5. Schematic diagram for adding properties of anisotropic materials.

Figure 12 .
Figure 12.Surface photo of the sample after tensile test: (a) overall appearance of the flat-printed sample after stretching; (b) overall appearance of the vertically printed sample after stretching; (c) particles in the crack of the flat-printed sample; (d) particles in the cracks of the vertically printed sample; (e) crack morphology of the flat-printed sample; (f) crack morphology of the verticalprinted sample.

Figure 12 . 19 Figure 13 .
Figure 12.Surface photo of the sample after tensile test: (a) overall appearance of the flat-printed sample after stretching; (b) overall appearance of the vertically printed sample after stretching; (c) particles in the crack of the flat-printed sample; (d) particles in the cracks of the vertically printed sample; (e) crack morphology of the flat-printed sample; (f) crack morphology of the verticalprinted sample.Appl.Sci.2022, 12, 9396 14 of 19

Figure 16 .
Figure 16.Deformation comparison between anisotropy and isotropy (yellow line is the deformation in six directions after isotropic optimization; red line is the deformation in six directions after anisotropic optimization).

Figure 16 .
Figure 16.Deformation comparison between anisotropy and isotropy (yellow line is the deformation in six directions after isotropic optimization; red line is the deformation in six directions after anisotropic optimization).

Table 2 .
The stainless-steel metal powder parameters.

Table 3 .
The 316L stainless-steel sample printing process information.