Embodiments described herein include methods and systems for topology optimization with locally differentiable complement space connectivity. In one embodiment, a method involves defining one or more physical constraints selected from a plurality of physical constraints for a part. The one or more physical constraints are for use by a physics solver and define a physical performance of the part. One or more connectivity constraints are defined for use by the physics solver. The one or more connectivity constraints enforce connectivity to or from at least one region over a complement space of the part. The one or more connectivity constraints comprise locally differentiable violation measures that are modeled after at least one of the physical constraints. The method further involves optimizing a topology of the part in the physics solver by enforcing the one or more physical constraints and the one or more connectivity constraints while satisfying a primary objective function that optimizes the physical performance of the part. A computer-aided design of the part is produced based on the optimized topology. The computer-aided design used to produce the part via a manufacturing instrument.
These and other features and aspects of various embodiments may be understood in view of the following detailed discussion and accompanying drawings.
The discussion below makes reference to the following figures, wherein the same reference number may be used to identify the similar/same component in multiple figures. The drawings are not necessarily to scale.
The present disclosure relates to automated optimization of designs for manufactured parts and assemblies. Enforcing connectivity of parts or their complement space during automated design is used for various manufacturing and functional considerations such as removing powder, wiring internal components, and flowing internal coolant. The global nature of connectivity makes it difficult to incorporate into generative design methods that rely on local decision making, e.g., topology optimization (TO) algorithms whose update rules depend on the sensitivity of objective functions or constraints to locally change the design. Connectivity is commonly corrected for in a post-processing step, which may result in suboptimal designs.
Methods described herein recast the connectivity constraint as a locally differentiable violation measure, defined as a “virtual” compliance, modeled after physical (e.g., thermal or structural) compliance. Such measures can be used within TO alongside other objective functions and constraints, using a weighted penalty scheme to navigate tradeoffs. By carefully specifying the boundary conditions of the virtual compliance problem, the designer can enforce connectivity between arbitrary regions of the part's complement space while satisfying a primary objective function in the TO loop. We demonstrate the effectiveness of our approach using both 2D and 3D examples, show its flexibility to consider multiple virtual domains, and confirm the benefits of considering connectivity in the design loop rather than enforcing it through post-processing.
Topology optimization (TO) has emerged as a useful tool for generating complex geometries whose intricacies extend beyond the design capabilities of human designers. Generally, the material is laid out to optimize performance metrics determined by physics-based solvers based on numerical methods such as finite element analysis (FEA). The rise of TO as an automated design tool has coincided with a number of advancements in additive manufacturing (AM) which allow for the fabrication of complex geometries that were previously infeasible.
The manufacturing freedom afforded by AM is not unlimited, though. AM imposes a new set of complex constraints on feasible material distributions and geometries. Design for AM (DfAM) has focused on identifying and incorporating these constraints into design frameworks. The incorporation of manufacturing constraints into the TO framework can be broadly classified into two approaches which are (1) post-processing optimized part after generation; and (2) incorporating the constraints into the optimization loop.
The post-processing approach generally results in suboptimal designs with respect to the optimized objective functions. For example, when considering powder removal after selective laser sintering (SLS), the part's optimized structural stiffness can be adversely affected after drilling holes to reach internal cavities to facilitate powder removal. Whenever possible, it is preferable to incorporate manufacturing constraints, such as connectivity between internal cavities and exterior space, into the optimization process, as opposed to introducing them later.
Connectivity of the complement space is only one example of a manufacturing constraint that is considered to design functional parts. Other examples are lower-bounding minimum feature size, avoiding excessive overhangs to ensure self-supporting structures for fused deposition modeling (FDM), and enforcing accessibility of the complement space by machine tools. Incorporating these constraints into TO frameworks hinges on the ability to locally evaluate them—or their violations, to penalize TO objective functions via continuous measures which are differentiable with respect to local changes in the design representation, such as density fields.
Connectivity is a global constraint which cannot be directly differentiated with respect to the design representation. Although its global nature is problematic for its incorporation into a TO framework, enforcing connectivity of interior and exterior space (the part and its complement) is essential in multiple design contexts. For example, complement space connectivity (CSC) can be used when designing parts requiring connected channels for powder removal after SLS, wiring across mounted components on the part surface or within its interior cavities, embedded conductors, coolant fluid flow, etc. Earlier studies applied path finding algorithms that use combinatorial search such as A* to find the shortest path between specified points within the interior of a part. However, such methods do not provide a locally evaluable measure to incorporate into TO, thus can only be used in post-processing leading to suboptimal parts.
Enforcing CSC in TO was considered to eliminate entrapped powder or resin for AM parts by ensuring that all internal cavities were connected to the boundaries of the design domain. The approach recasts the connectivity enforcement problem as a maximum “virtual” temperature minimization which leads to a simply-connected complement space, resulting in a design in which no standalone disconnected cavities are created. This approach was extended such that the location of internal cavities could be partially specified by imposing additional internal Dirichlet boundary conditions (fixed virtual temperatures) at locations where a cavity is desired. With this modified approach, the complement space is not necessarily simply-connected. The previous implementations, specifically the exclusive use of Dirichlet boundary conditions in the virtual problem, though, cannot ensure any two points are connected in the void space which is necessary when considering wiring between mounted and embedded components.
A similar physics-inspired approach can be used to enforce CSC in TO that can be composed with other physics-based performance criteria such as structural stiffness or thermal conductance to enforce connectivity in the complement space between any two arbitrary points or regions. This approach can utilize minimization of a “virtual” energy function or compliance of a hypothetical structure representing the complement space, but utilizing both Neumann and Dirichlet boundary conditions to enforce the desired connectivity in the complement space. The approach involves combinatorial path finding (e.g., A*-based) methods that is able to generate locally evaluable sensitivity fields to incorporate into gradient-descent TO. To this end, the part and its complement are implicitly represented by the super- and sub-level sets of a density field. At each TO iteration, we use the density field and its negation to evaluate physical and artificial stiffness matrices needed to compute the corresponding quantities of interest using an FEA solver. As a result, designers can specify both physics-based performance criteria and CSC constraints and assign relative weights to navigate the tradeoffs between them.
One goal is to demonstrate that optimal topologies can be generated in such a way that two specified points or regions in the complement space are guaranteed to be path-connected. This approach allows the designer to enforce CSC in anticipation of embedded components that must be connected (e.g., conductors) or channels to enable powder removal in SLS or accommodate wires/cables, while simultaneously optimizing or physics-based performance criteria. The approach can be in principle extended to combine CSC with other manufacturability constraints that are also locally evaluable and differentiable (e.g., accessibility, self-support, and accessible support).
This disclosure introduces a general approach to enforce connectivity between arbitrary pairs of points in the design space during TO using “virtual” compliance measures. Complement space connectivity can be enforced while optimizing structural stiffness for representative 2D and 3D problem. The CSC can be incorporated into the TO loop, as opposed to post-process modifications of optimized parts, to avoid suboptimal designs and enable navigating tradeoffs between the design criteria.
The remainder of the disclosure is organized as follows: Section 2 describes the problem formulation; Section 3 provides preliminary parameter studies to finetune the virtual compliance and its weighted combination with physics-based structural stiffness; Section 4 demonstrates how incorporating CSC constraints into the TO loop can change the part structure relative to TO without CSC constraints, in nontrivial ways; Section 5 provides a conclusion of what was presented and future directions.
The diagram in
A typical (structural or thermal) TO problem (without CSC constraints) can be formulated as follows:
where φ(Ω) ∈ R is the objective function (1a) over the design domain. The FEA arrays [f], [uΩ], and [KΩ] are the discretized external load vector, response vector, and stiffness matrix, respectively, whose relationship is constrained by (1b) resulting from physics-based governing equations. VΩ is the volume of Ω that is upper-bounded in (1c) by a fixed budget Vtarget. In addition to these two constraints, we aim to introduce the CSC constraint in such a way that a local sensitivity field can be defined to penalize design modifications that compromise CSC.
To recast the CSC constraint into a locally differentiable form, we begin from a key observation that minimizing the (thermal or structural) compliance over a domain naturally leads to a path-connected structure joining the surfaces at which loads are applied (e.g., Neumann boundary conditions) to surfaces where the response to that load is fixed (e.g., Dirichlet boundary conditions). Intuitively, if such connectivity is violated, the part would undergo rigid motions, leading to zero-valued eigenvalues of the stiffness matrix used in the static equilibrium FEA. Therefore, to enforce connectivity in the complement space, we formulate a virtual compliance function over the design space, for the hypothetical response of a virtual part to virtual loads applied at ΓCON
c
Ω
con
=[f
con]T[uΩcon]=[uΩcon][KΩcon][uΩcon] (2)
where [fcon], [[uΩcon], and [KΩcon] are the virtual discretized external load vector, displacement vector, and stiffness matrix, respectively. A variety of virtual physics-based interpretations could be selected, e.g., thermal physics would lead to scalar values for the load and response (namely, heat fluxes and temperatures) whereas structural physics would lead to vector values (namely, forces and displacement). The impact of the selected virtual physics will be explored later. In general, we specify Neumann boundary conditions at one region of Γ678, referred to as the ‘inlet’, and a Dirichlet boundary condition at another region, referred to as the ‘outlet’. The diagram in
With the CSC constraint recast into a locally differentiable form, we return to the primary TO problem to introduce how the virtual connectivity is incorporated. To begin, we ignore the connectivity constraint to form the prototypical Lagrangian, LΩ for the primary TO:
By performing a representation-agnostic differentiation of the Lagrangian with respect to Ω, we obtain
Computation of [u′Ω] is challenging, but (4) can be simplified by selecting [λ2], one of the Lagrange multipliers, as the solution to the adjoint problem to obtain:
If the objective is the compliance, φ(Ω):=[f][[uΩ], then [λ2] reduces to −[uΩ] because compliance is self-adjoint.
Let Sφ: Ω0→ represent the sensitivity field of the primary objective, that is the field provided by the second term on the RHS of (5). We can define a similar field Scon: Ω0→
for the virtual compliance used to quantify the violation of the CSC constraint. We use a weighted convex sum of the two fields, in which the weighting factor 0≤wcon≤1 controls the degree to which the CSC constraint is enforced and can either be static or dynamically changed during TO iterations:
S
Ω:=(1−wcon)Sφ+wconScon (6)
where Sφ=−[uΩ]T[K′Ω][uΩ] and Scon=−[uΩcon]T [KΩcon′][uΩcon]. With the formulation provided, we provide the CSC constrained formulation below for clarity where cΩφ is the primary objective.
To generate results and provide more detail on how CSC is enforced, we use a density-based approach, namely the solid isotropic material penalization (SIMP) approach, although the idea is, in principle, extensible to other (e.g., levelset) TO methods. The primary objective in this approach is to minimize the structural compliance while enforcing connectivity in the complement space between two regions. We start with the density field, ξΩ: Ω0→[0,1] that maps every point x ∈ Ω0 in the design domain to a density value ξΩ(x) ∈ [0,1]. The discretization of the density field, [ξΩ], is a finite array of design variables in the range [0,1] to be optimized. To compute the elasticity for intermediate densities, we first use a Heaviside projection:
ρ0(x)=1−e−βξ
in which we use β:=2 for 2D and β:=10 for 3D examples.
The discretized density field [ρ0] can be mapped to a discretized elasticity field (e.g., elemental Young's modulus) as follows:
[E]=E
min[1]+(Emax−Emin)[ρΩ] (9)
where the elasticity bounds Emin and Emax and the penalization parameter p>1 are constants. With the elemental Young's modulus defined, the elemental stiffness (which depends on the physics), and global stiffness matrix [KΩ] can also be formed in a standard fashion (see, e.g., Bendsøe, M. P., and Sigmund, O., 1999, “Material Interpolation Schemes in Topology Optimization,” Arch. Appl. Mech., 69(9), pp. 635-654.)
The virtual stiffness used to quantify the virtual compliance for CSC is defined in a similar fashion where the material interpolation scheme is used to determine the global stiffness matrix, [KΩcon] that depends on the desired virtual physics. The exception is that it uses the negation of the density field that implicitly represents the complement space:
[Econ]=Emin[1]+(Emax−Emin)[1−ρΩ] (10)
The impact of this negation will appear in the sensitivity field in (6) where the sign of Scon will be negated due to the chain rule applied to [KΩcon′] term. We use the method of moving asymptotes (MMA) (see, e.g., Svanberg, K., 1987, “The Method of Moving Asymptotes—a New Method for Structural Optimization,” Int. J. Numer. Methods Eng., 24(2), pp. 359-373) to update the discretized density during optimization rather than optimality criteria (OC), as the former provides a more straightforward path to optimizing non-convex functions. Additionally, it should be noted that the artificial material properties used in (10) need not be the same as those used for the primary problem.
The diagram in
From the formulation of connectivity enforcement, there are multiple parameters that can influence the connectivity results. The most interesting is the virtual physics domain on which the virtual (e.g., thermal or mechanical) compliance is formulated. While previous work on connectivity enforcement focused on the thermal formulation, we investigate the impact of different physics on CSC enforcement within our framework.
We performed three studies to both demonstrate the effectiveness of our approach for CSC enforcement and compare the impacts of each virtual physics domain. All three studies were performed on the same or slightly modified design domain shown in
The first study was used to ensure the approach enforced connectivity between inlets and outlets regardless of virtual physics. Therefore, the domain shown in
We used both thermal and structural formulations of the virtual compliance to enforce CSC. For the former, we applied a unit flux at the inlet 400 shown in
The diagram in
Additionally, the location of the outlet (and inlet) drastically influence the final geometry of the part regardless of physics. If the location of the inlets and outlet is not defined a priori or can vary over some region, then it is unclear what the best locations are. Including the inlet/outlet locations as design variable in the optimization loop is an area of future work.
For the second case study, the purpose was to understand the impact of 0<wcon<1 on the optimized shape for both virtual domains. Therefore, the configuration shown in
It is clear that increasing wcon affects the resulting shape. As expected, when CSC is not enforced, the inlet and outlet are not connected. Once CSC is enforced, even for small wcon>0, the inlet and outlets are connected for both virtual physics, although the means by which connectivity is enforced for smaller weights varies significantly between the two virtual domains. It appears that the thermal formulation leads to more direct paths, while the structural domain favors paths with diverging and converging routes. As shown in
Additionally, we computed the structural compliance of each structure as shown in Table 2 with the associated weights and virtual physics. The values are provided as ratios of the compliance to that of the extreme case wcon=0.
As wcon is increased, the primary structural compliance also increased. There is good agreement between the values across the virtual physics domains, indicating that the selected physics do not drastically affect the performance with respect to the primary objective function, although, this may not always be the case.
The final case study was to understand the behavior of the approach when an obstacle is introduced along with a low void material budget (high target volume fraction). The domain is shown in the diagram of
Once again, we see both domains enforce connectivity, but the thermal domain creates more direct paths while the structural domain creates more complex paths. It should be noted that the computational complexity of solving the thermal finite element problem is significantly smaller than that of the structural domain due to the number of degrees of freedom. It seems then, that the virtual thermal domain is likely preferable to the structural domain unless there is a need for complex pathways.
This section presents the impact of incorporating CSC into the TO loop on the shape/topology and physical performance of structurally optimized parts compared to unconstrained TO followed by post-process correction for CSC. We show that that latter may result in designs with drastically lower performance. The first example is in 2D where we used the domain shown in
With the domain established, we selected a target volume fraction of 0.25 and generated four optimized designs on a 400×200 voxel mesh. The results are shown in the plots of
The example in
In
We selected a target volume fraction of 0.5 and, once again, four designs were generated on a 400×200 voxel mesh. The first design did not consider connectivity (wcon=0). The second design was generated by removing material between inlet and outlet after generating a structure in which connectivity is not enforced (wcon=0). The third and fourth designs were generated using wcon=0.5 using both thermal and structural virtual physics for enforcing CSC, respectively. The results are shown in
The results shown in
To once again demonstrate the need to enforce CSC in the design loop, the compliances were computed for all of the structures show in
The next example demonstrates the effectiveness of the approach on 3D structural problems where we used the domain shown in
We used a target volume fraction of 0.3 and generated designs on a 100×50×50 voxel mesh. We varied wcon at the following values: 0, 0.1, 0.5, and 0.8. For each weight, we used both thermal and structural virtual physics to enforce CSC. The resulting parts as well as various views are shown in
The group in
Table 4 once again demonstrates that considering connectivity in the design loop results in more optimal results than if connectivity were enforced by post processing. The decrease in performance is less in 3D because more material paths can be formed when compared to 2D. Importantly the results show that the optimized designs that consider the connectivity constraint are more complex than intuitive modifications done with post-processing.
As discussed previously, the manner in which connectivity was enforced has a few things in common with how the authors incorporated other manufacturing constraints in previous work, in that the global constraints such as accessibility and connectivity are recast into locally evaluable and differentiable forms, leading to sensitivity fields that can be used to guide TO. As a precursor to potential future work, a demonstration of the composability of manufacturing constraints is provided.
For example, consider a case where both accessibility and CSC constraints are considered simultaneously. The example is the same as that of
In
The methods and processes described above can be implemented on computer hardware, e.g., workstations, servers, as known in the art. In
The network interface 1712 facilitates communications via a network 1714, using wired or wireless media, e.g., with one or more manufacturing instruments 1716. Examples of the manufacturing instrument 1716 include 3D printers, selective laser metal sintering machines, computer numeric controlled (CNC) mills, CNC lathes, CNC laser cutters, CNC water cutters, etc. Data may also be transferred to the manufacturing instrument 1716 using non-network data transfer interfaces, e.g., via portable data storage drives, point-to-point communication, etc.
The apparatus 1700 includes software 1720 such as an operating system 1722 and drivers 1724 that facilitate communications between user-level programs and the hardware. The software 1720 includes a topology optimizer 1726 that receives a definition of a design domain, which may include physical constraints on size, material, orientation, weight, etc. The topology optimizer 1726 uses one or more optimization objectives and/or penalty functions to iteratively change a geometry of the design in order to optimize the topology of a part. The topology optimizer 1726 interfaces with a physics solver 1730 that uses techniques such as finite element analysis, finite different analysis, computational fluid mechanics, etc., to predict physical performance of the part design as it is being optimized.
Generally, the physics solver 1730 uses the physical constraints and inputs (e.g., heat flow, applied forces) to predict a physical performance of the part (e.g., temperatures, deflections, vibrational modes). One or more connectivity constraints 1735 are also used by the physics solver 1730. The connectivity constraints 1735 enforce connectivity to or from at least one region over a complement space of the part. The connectivity constraints 1735 include locally differentiable violation measures that are modeled after at least one of the physical constraints. A topology of the part is optimized using the physics solver 1730 by enforcing the one or more physical constraints and the one or more connectivity constraints 1735 while satisfying a primary objective function of the topology optimizer 1726 that optimizes the physical performance of the part. The topology optimizer 1726 produces a computer-aided design of the part based on the optimized topology. The computer-aided design can be used, e.g., via CAx software 1734 to produce the part via the manufacturing instrument 1716. The CAx software 1734 may include any computer-aided product, such as computer-aided design (CAD), computer-aided manufacturing (CAM), computer-aided engineering (CAE), computer-aided process planning (CAPP), etc. The CAx software 1734 may be used to further develop the part design produced by the topology optimizer 1726, e.g., adding mount points, fluid ports, defining manufacturing processes, producing production drawings, etc.
In this paper a method for enforcing the connectivity between two points/regions over the complement space of a part was introduced, motivated by a desire to enforce connectivity of embedded components. Then enforcement of connectivity was recast into a “virtual” compliance minimization problem where the precise selection of Neumann and Dirichlet boundary conditions at the desired inlets and outlets enforce the path connectivity of two regions within the complement space. The introduced approach builds on previous work that utilized only Dirichlet boundary conditions that does not enforce connectivity between any two points of interest. More importantly, we demonstrated an effective approach to compose the CSC constraint with physics-based and (potentially) manufacturing constraints of different kinds within iterative TO.
After performing a parameter study of the approach to understand its capabilities and behavior, we integrated it into various structural compliance minimization problems in both 2D and 3D to show how CSC can be enforced. The CSC constrained results were compared to the results of naive postprocessed connection of inlets to outlets. The results indicated that considering connectivity while optimizing for structural compliance resulted in stiffer structures compared to postprocess corrections. Future work should focus on demonstrating connectivity for a variety of TO domains in 2D and 3D beyond minimizing structural compliance.
Additionally, the location of the inlets and outlets was defined a priori but one can easily encounter domains where the best choice for inlet and outlets positions is unclear. Future work should investigate how to actively determine the best location for inlets and outlets in the design loop.
Determining the optimal weightings of the primary and virtual problem is another area of future work. While we demonstrated small weighting can enforce CSC, without drastically impacting performance, the geometry of the connected pathways may not be sufficiently wide for internal wiring or powder removal. By changing the weighting, the size of the pathways, generally, increases which may be desirable. Providing the designer with a systematic approach for selecting the proper weighting based off their needs would be desirable.
From a broader view, the manner in which connectivity was imposed is similar to how other manufacturing constraints can and have been imposed. The constraints are recast into a locally differentiable functions whose sensitivities can augment the primary objective function. In general, this procedure can be repeated for a multitude of constraints creating a general workflow for TO. A simple example of composing connectivity and accessibility within TO was provided to demonstrate the capabilities of the workflow. As more manufacturing constraints are recast locally, they can be seamlessly integrated into a single generative workflow for part design.
Unless otherwise indicated, all numbers expressing feature sizes, amounts, and physical properties used in the specification and claims are to be understood as being modified in all instances by the term “about.” Accordingly, unless indicated to the contrary, the numerical parameters set forth in the foregoing specification and attached claims are approximations that can vary depending upon the desired properties sought to be obtained by those skilled in the art utilizing the teachings disclosed herein. The use of numerical ranges by endpoints includes all numbers within that range (e.g. 1 to 5 includes 1, 1.5, 2, 2.75, 3, 3.80, 4, and 5) and any range within that range.
The various embodiments described above may be implemented using circuitry, firmware, and/or software modules that interact to provide particular results. One of skill in the arts can readily implement such described functionality, either at a modular level or as a whole, using knowledge generally known in the art. For example, the flowcharts and control diagrams illustrated herein may be used to create computer-readable instructions/code for execution by a processor. Such instructions may be stored on a non-transitory computer-readable medium and transferred to the processor for execution as is known in the art. The structures and procedures shown above are only a representative example of embodiments that can be used to provide the functions described hereinabove.
The foregoing description of the example embodiments has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the embodiments to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. Any or all features of the disclosed embodiments can be applied individually or in any combination are not meant to be limiting, but purely illustrative. It is intended that the scope of the invention be limited not with this detailed description, but rather determined by the claims appended hereto.
This application claims the benefit of U.S. Provisional Application No. 63/398,636, filed on Aug. 17, 2022, which is incorporated herein by reference in its entirety.
This invention was made with government support under contract number G011.3809.00 awarded by Defense Advanced Research Projects Agency (DARPA). The government has certain rights in the invention.
Number | Date | Country | |
---|---|---|---|
63398636 | Aug 2022 | US |