Main

Computational morphogenesis is used in engineering to determine the best possible shapes and material distributions for prescribed structural objectives. A very common goal is to minimize structural weight, subject to constraints on deflections and mechanical stresses. Similar goals are drivers of animal and plant evolution. For plants, the optimal ratio of loading capacity to weight ensures efficient use of limited resources; for animals, it minimizes energy consumption for walking and running. Whereas efficient structures in nature generally result from slow genetic evolution, in engineering fast solutions that also take manufacturing limitations into account are necessary. Topology optimization1,2 works by redistributing material within a predetermined design domain, not unlike natural bone-growth processes. Here, the design domain is defined as the geometric volume in which material can be distributed, such as the space above the building lot for a high-rise building, or the internal part of a car, less the space reserved for passengers, the engine and so on. Through an iterative, deterministic process that involves modelling of the physical system, gradient computations and mathematical programming-based design updates, structural material is gradually redistributed towards the optimal design (Extended Data Fig. 1).

Traditional stiffness-based topology optimization of components is well developed and used routinely in all major mechanical engineering industries, including the automotive8 and aerospace9 industries. In the automotive industry, this optimization typically results in weight savings of 20%–40% on structural parts and reduced development times compared to designs obtained using intuition or trial and error by skilled engineers, and eliminates the need to build prototypes. Despite its successes, the applicability of the topology optimization approach is still limited to the design of components or smaller structures. The main obstacle in applying it to large structures is resolution. Just as the visual quality of a television screen is limited by the number of pixels, the geometric quality and capability of the topology optimization process is limited by the number of voxels (three-dimensional equivalent of pixels) that are used to parameterize the design problem. Current state-of-the-art implementations limit voxel numbers to a few million and hence make their application to the detailed design of high-rise buildings, oil rigs or large aeroplanes impossible. This provokes the question of whether giga-voxel-resolution computational morphogenesis would lead to radical design changes. If so, we expect these new designs to result in substantial weight savings and reduced environmental impact.

We investigate this question using high-performance computing and demonstrate the potential of giga-voxel-resolution computational morphogenesis on a full-scale wing-design problem for an aircraft similar to a Boeing 777 (Fig. 1; see also Extended Data Figs 2 and 3, and Supplementary Figs 1 and 2 for high-resolution images). The extension to being able to solve problems with more than one billion voxels requires several non-trivial challenges to be overcome, including the efficient solution of huge systems of linear equations, tailoring of optimization algorithms, and data transfer and visualization (see Methods). Obtaining the optimized designs presented here required access to massive computational resources with run times of 1–5 days on 8,000 CPUs.

Figure 1: Optimized wing structure.
figure 1

The result of the giga-voxel morphogenesis process applied to full-scale aircraft wing design is shown after 400 steps of the morphogenesis procedure. Fixed upper layers have been removed to reveal the internal details. Apart from the thin, fixed outer layer, no a priori assumptions were made about the internal geometry of the wing structure. Hence, all of the intricate details, such as curved spars, truss and wall structures, that can be observed have appeared spontaneously as a result of the optimization process.

PowerPoint slide

The case study that we present considers the design of the load-carrying internal structure for a full aircraft wing based on the publicly available NASA Common Research Model10,11. This wing model is similar to the wing of a Boeing 777 and has a half wing span (length of a single wing) of 27 m and an inner and outer chord (the ‘widths’ of the wing at the root and the tip) of 12 m and 1.5 m, respectively. The fixed-shape wing is discretized into 1.1 billion voxels (corresponding to a mesh of 1,216 × 3,456 × 256 elements) with a maximum element size of 0.8 cm at the root, which is reasonable for a wing structure of this size12. From the NASA model we included two aerodynamic load scenarios, corresponding to angles of attack of 0° and 4° at Mach 0.85 and an altitude of 10,700 m. The outer layer of voxels is fixed to be solid, representing the outer layer of the aerofoil; material can then be freely distributed in the internal part of the wing with no further restrictions (Fig. 2a, top). The optimized design considering a simplified full-wing structure including flaps is shown in Fig. 1, with the top half of the outer layer removed to reveal the optimized interior structures (the full wing is shown in Extended Data Fig. 2). Remarkably, all of the internal structural details appeared spontaneously as a result of the morphogenetic process. A first and striking observation is the extremely intricate details and features that come out of the giga-voxel-resolution design studies, revealing structural details covering multiple length scales; Fig. 1 shows the presence of structural members covering the entire wingspan, measuring tens of metres, as well as truss-like structures at the leading and trailing edges with dimensions in the millimetre range (highlighted in the insets of Fig. 1). In addition, expected structural features do not occur; the structure does not have the standard straight-wing box feature, made up of two spars, straight ribs and reinforced bottom and top outer layers. Instead, on closer inspection and study of the cross-section (Fig. 2a), the spars of the wing box are revealed to be curved to optimize torsional stiffness (the optimal cross-section of a pure torsion rod is circular). Furthermore, the irregular wing box is reinforced by curved and diagonally placed ribs, which are not seen in conventional aircraft wing designs. A conservative estimate of the weight savings that are achievable compared to currently used designs is 2%–5%, corresponding to 200–500 kg per wing. Conversion of this weight reduction to fuel savings indicates that a potential saving of 40–200 tonnes of fuel per year is possible (see Methods for the analysis behind these predictions). The unconventional structural details provide new insight and will help aircraft designers to develop lighter and stronger wings in the future.

Figure 2: Morphogenesis evolution, 3D printing and comparison to the hornbill bird beak.
figure 2

a, Steps of the morphogenesis process for the full-wing structure, demonstrated for a slice around the third connector from the wing root (see Extended Data Fig. 2 for precise location). The top figure corresponds to the initial design, in which only the outer aerofoil layer is given. The middle figure shows a snapshot during the morphogenesis process. The bottom figure shows the final design. b, A piece of the wing printed using additive manufacturing reveals additional details of and insight into the intricate but very regular structure of the optimized wing. The dimensions of the wing section are 300 mm × 100 mm × 45 mm. c, Hornbill bird beak with internal structure similar to that of the optimized aircraft wing. Photograph (taken at the Natural History Museum, London, UK) used with permission by J. Miller-Camp (copyright 2014).

PowerPoint slide

The outcome of the optimization process depends strongly on the choice of loading cases. To illustrate this aspect we investigate the influence of varying loading scenarios (Extended Data Fig. 3). Optimizing for single aerodynamic loads results in open-walled wing boxes (Extended Data Fig. 3a, b) and hence designs that have very low torsional stiffness. On the other hand, optimizing for two (or more) load situations results in closed and torsionally stiff wing boxes (Extended Data Fig. 3c, d). In practice, engineers will first optimize for what are expected to be the most critical load cases. Subsequently, the resulting wing structure will be checked for all design load cases and, if it turns out that some load cases that were not considered originally are critical for the new design, they will be included in a new optimization run.

When comparing the results presented here with the state of the art in engineering design, we note that currently available methods and software have limited design resolutions of approximately five million voxels and hence a minimum feature size of 5 cm for the wing example. This feature size is too large to capture typical wing features and hence design studies based on coarse discretizations produce blurred and unclear designs with no spar- or rib-type formations. This issue has been discussed in previous studies of full-scale wing-structure optimization9,13,14,15. In ref. 15, the lack of appearance of classical features such as ribs and spars is attributed to inappropriate physics, too few load cases and incorrect boundary conditions, or incomplete formulation of the optimization problem. In contrast, on the basis of our high-resolution study, we suggest that the real problem stems from a lack of resolution. With a giga-voxel framework, we can solve engineering design challenges that hitherto were considered insurmountable.

The optimized wing designs from our giga-voxel-resolution case study are subject to limitations and manufacturing challenges. In the analyses we included only linear elasticity; we leave the inclusion of anisotropic and nonlinear materials, dynamic effects, buckling, aero-elasticity, and so on, for future studies. Also, the fabrication of the complex design is currently infeasible. However, we imagine that large-scale additive manufacturing (3D printing) will be a possibility in the future, and we illustrate the potential use of additive manufacturing by printing a small section of the wing design (Fig. 2b). Despite these limitations, we expect that our designs will be of interest to structural engineers, who can use our case study for inspiration for future, simplified designs based on the intriguing curved and diagonal ribs seen in the optimized designs.

As a last remark on our case study, it is striking that the optimized designs resemble natural bone structures, such as the hornbill bird beak structure shown in Fig. 2c. This is not a coincidence. Wolff’s law states that animal bone adapts to applied loads16, and computational morphogenesis works in a similar way. Both structures have closed outer shells (for aerodynamic or food containment purposes) and need to be stiff against longitudinal bending and applied surface pressure, thus resulting in similarly looking internal reinforcement structures. In other words, the outcome of the computational morphogenesis approach can be compared to those of evolutionary design processes in nature, with one key difference—it is obtained in a small fraction of the time, owing to the efficient, deterministic optimization approach.

The methodology that we have presented is directly applicable to similar morphogenesis problems in other engineering disciplines, as well as in architecture and industrial design. Structures relevant to this approach are ships, offshore structures, wind turbine blades and towers, power masts, high-rise buildings, bridges and other complex built structures. Giga-voxel-resolution capability is expected to revolutionize design outcomes and yield new insights into optimal design. The computing time and resources reported here provide a severe bottleneck and will, for the time being, limit the use to early design stages in research-intensive (large) companies and academia. However, procedures for reducing the number of degrees of freedom by model reduction17,18, reducing the number of iterations, and increasing the granularity by deeper hierarchy19, are being developed and are expected to result in substantial reductions in computing requirements in the near future. In addition, improvements are needed in peripheral computational tools such as meshing algorithms and visualization, as discussed in Methods.

Methods

General

Among the many topology optimization methodologies available, we work with the so-called density approach. We first describe the basic methodology and, second, the details of extending this approach to the giga-voxel-resolution regime.

Topology optimization

The structural design problem considered here, that is, stiffness maximization, is solved on the basis of an assumption of static, linear elastic behaviour. Hence, the governing physics corresponds to the linear Navier–Lamé equations with appropriate boundary conditions. The partial differential equation is solved using the finite element method, using eight-node hexahedral elements, which results in a linear system of equations:

Here K(r) is the stiffness matrix, with properties that depend on the spatial coordinate r, u is the displacement vector and F is the load vector. The stiffness dependence on the spatial coordinate is introduced to facilitate the structural optimization procedure presented next. By smoothly interpolating between a reference solid (here aluminium with Young’s modulus Esolid = 70 GPa) and a very weak material (Evoid = 10−9Esolid) using the ‘solid isotropic material with penalization’ (SIMP)1,2 model, we are able to use gradient-based optimization methods to solve the stiffness maximization problem. In the following, we assign a single density variable to each element in the mesh and state the SIMP interpolation scheme as

Here ρ [0, 1] is a continuous, relative density and p ≥ 1 is a penalization parameter that enforces almost discrete final designs with ρ being either 0 or 1 through penalization of the stiffness for intermediate densities. The final ingredient, before stating the mathematical optimization problem, is to introduce compliance (C) as the objective function for structural design. Compliance is the work done by the external forces, C = FTu, and is inversely proportional to structural stiffness. Hence, to maximize structural stiffness we pose the following minimization problem:

subject to

Here x is a vector of mathematical design variables with length corresponding to the number of design elements and ϕ is a sum of multiple compliances arising from L loading scenarios. The three constraints are as follows: the first ensures mechanical equilibrium; the second poses a limit on the amount of available material, with V(x) being the volume of the current structure and V* the total amount of available material; and the third constitutes box constraints on the design variables. Owing to inherent issues with numerical stability and mesh dependence2, we use a filtering technique to relate the mathematical design variables x to the physical density ρ (refs 20, 21). The filter operation is a convolution-type operator, which can be stated for the discretized model as

Here Ne = {i | ri − re≤ R} is a neighbourhood set, with R being the filter radius, ri the spatial (centre) coordinate of element i, re the spatial (centre) coordinate of element e, w(ri,re) = R − ri − re the weighting function and vi the volume of element i. The sensitivities of the objective function are determined efficiently without additional analysis using the adjoint method, and the filtering operation is included by the chain rule22. The optimization problem is solved using a nested approach and an optimality criteria algorithm2,23 (simple MATLAB code available at http://www.topopt.dtu.dk). Owing to the massive increase in computational power over the past decades, the design problem in equations (1)–(2) can now be solved interactively even on hand-held devices such as smartphones or tablets for ‘small’ values of n (up to several thousand).

Example problem

To demonstrate the iterative procedure of the topology optimization method, we present the solution to a simple part-design problem (Extended Data Fig. 1). We consider the design of a jet-engine bracket used in the 2013 GrabCAD challenge. Extended Data Fig. 1a shows the design domain together with supports and a number of applied mechanical loading cases. Extended Data Fig. 1b shows snapshots of the material distribution during the 200-step morphogenesis process, starting from a blank design.

An animation of the iteration process is provided in Supplementary Video 1. The optimized design, obtained by topology optimization, saves an additional 10% in weight compared to the winner of the GrabCAD challenge, which had 638 participants world-wide. Interestingly, even though we optimized for only compliance, the resulting design easily satisfies the strength requirement set in the competition. This is partly due to the filtering process, which not only enforces a minimum length scale, but also avoids sharp corners and thereby stress concentrations. The example demonstrates that compliance-based topology optimization generally, but not always, results in structures with favourable strength response. Remarkably, but unsurprisingly, the lack of initial geometric constraints and bindings to computer-aided design parameterizations result in the morphogenesis process producing rather organic looking structures that provide optimal force paths from applied forces to the supports, with features reminiscent of human and animal bone structure.

Meshing for giga-voxel resolution

Generating a body-fitted mesh with more than one billion finite elements is not a trivial task for standard mesh tools; hence, we use alternative procedures. In this work we have used a structured, logical mesh, which is then mapped, slice-by-slice, to the geometry of the NASA Common Research Model. Although a shell-element discretization of the outer shell would increase accuracy of the model, on the basis of experience and tests of various element types, we do not expect that a mixed solid/shell formulation will change the resulting morphologies in any substantial way.

Ensuring structural details

Owing to the non-convexity of the stiffness-penalized optimization problem in equations (1)–(2), any gradient-based solution method is likely to end at a local minimum. To ensure that the designs produced are of high quality, that is, a strong local minimum, we use a continuation strategy for the penalization parameter in the SIMP interpolation. This is motivated by two factors. First, equations (1)–(2) with p = 1 is a convex problem. However, without stiffness penalization it will not result in pure solid–void designs, also called ‘0–1 solutions’, and so intermediate densities will dominate the optimized design. Second, it is of key interest that this study produces optimized designs with a high level of structural detail; a limitation on structural details would inadvertently result in a reduced design space and thus lead to sub-optimal structures. Starting the optimization procedure with, for example, p = 3 will quickly force the design into a 0–1 solution, but with very little and crude detail. Both of these issues are alleviated by a continuation strategy in which the penalization parameter is slowly raised in steps of 0.25 from 1 to 3, distributed over a total of 400 design cycles.

Giga-voxel-scale solution procedure

By far the most costly and challenging part of the topology optimization process is the solution of the huge linear systems that originate from the finely discretized finite-element problem. For a one-billion-element discretization, the linear systems have more than three billion unknowns. Despite sparsity, they cannot be solved using direct solvers owing to storage and memory requirements, and so require iterative approaches that make use of efficient preconditioners. Construction of a powerful and robust linear solver and preconditioner is hard for several reasons. First, the equation system is ill-conditioned owing to high stiffness contrast. Second, depending on the design problem, high aspect ratios of the design domain and ill-formed elements may challenge convergence further. Therefore, solution strategies that work well for coarser problems are inadequate when the problem is scaled up24. The solution methodology proposed next is based on the large-scale topology optimization framework presented in ref. 25.

We applied Krylov-subspace-equivalent methods as the overall tool for both the solver and preconditioning steps. These are chosen because of their explicit dependence on (sparse) matrix–vector products and, hence, very efficient parallel computer implementation. The key to a robust and efficient linear solver lies in the construction of a good preconditioner—that is, one that is fast to compute and to apply. Doing so can require long development times, which are often not reported26. The present methodology is built as an add-on to the numerical library PETSc (ref. 27). The result is a very robust multi-level preconditioner strategy that uses Galerkin-projected multigrid with successive over-relaxation preconditioned Chebyshev smoothers down to a coarse level of approximately six million degrees of freedom using four geometric multigrid levels. The resulting coarse-grid problem is then solved using an algebraic-multigrid, preconditioned conjugate-gradient method. As the outer solver we use the flexible generalized minimum-residual approach28 owing to the slightly varying preconditioner that arises from the smoothers. The ultra-large-scale problems considered require massive computer storage capability, and visualization is also a challenge when the designer wishes to inspect the results of the morphogenesis process.

Computations

The giga-voxel-scale optimization problem, and the solution strategy that we have presented, requires a massive amount of computational resources. All results presented here were generated on the Curie Supercomputer (GENCI@CEA) in France. The optimal number of processors capable of solving the problem was found by numerical experiments and memory requirements to be around 8,000.

Estimate of potential weight savings

The wing study presented is qualitative. To determine an exact figure of weight savings would require more detailed studies and tens of thousands of engineering hours for one specific aircraft. However, some simpler, partly analytical studies can be performed to obtain an estimate of potential weight savings. The topology optimization process resulted in two major geometrical findings: first, wing-box spars are rounded instead of straight; and second, the few wing ribs that appear have odd geometries, represented by curved and diagonally placed ribs.

First, we perform an analytical study to estimate the stiffness improvement (or weight saving) that is achievable by rounded instead of straight wing spars. Here the wing box is assumed to be straight, with constant wall thickness and rectangular cross-section with aspect ratio Γ = L/H (for definitions of parameters see inset in Extended Data Fig. 4). The torsional stiffness of the wing box is proportional to the ratio of the squared cross-sectional area and its perimeter (this is why a circular cross-section represents the optimal torsion rod). The torsional stiffness can therefore be improved by substituting the straight spars with circular ones. Assuming constant perimeter, the relative torsional stiffness improvement for a cross-section with circular end caps of relative width h/H can be found analytically, resulting in a simply derivable, but complicated expression. The resulting stiffness improvement for three different wing-box aspect ratios is shown in Extended Data Fig. 4. The improvement is largest for smaller aspect ratios (for which the torsional stiffness difference between a circular and a square cross-section is the largest). For all aspect ratios, cross-sections with half-circular (h/H = 1/2) end caps are the stiffest. The improved torsional stiffness comes at the cost of decreased bending stiffness. The curved shear webs (spars) are less efficient in carrying shear loads. This time, again assuming constant material volume, a circular end cap results in a longer and thinner shear web, resulting in a substantial decrease in stiffness. The analytical study for bending assumes a thin-walled prismatic wing box with ratio of height to span length of 20. The optimal spar curvature for the full-wing structure thus represents a compromise between increase in torsional stiffness and decrease in bending resistance. Estimating cap sizes from the wing design studies to be h/H = 0.12 and the wing-box aspect ratio to be around Γ = 6 (see cross-sectional plot in Fig. 2a (bottom) and Fig. 2b), the expected torsional stiffness improvement or similar weight saving is 4% (see Extended Data Fig. 4). At the same time, the loss in bending stiffness is only 0.5%. Depending on the actual distribution between bending and torsional forces, the increase in stiffness or corresponding weight saving may be 1%–4%. Considering that a full aircraft wing can weigh 10 tonnes (ref. 29) and that 100–200 kg of fuel may be saved per kilogram of saved weight per year for a commercial aeroplane30, this weight saving is important—even a small percentage can have a huge influence.

Second, we perform a numerical study on a crudely simplified wing-box model to estimate the stiffness improvements achieved by curved and diagonal ribs placements compared to conventional straight ribs. As a basis for the study, we use the optimized wing box shown in Extended Data Fig. 3c as inspiration for an engineering interpretation. The result of this post-processing step is shown in Extended Data Fig. 5, in which the two reinforced wing-box models are fitted to have the same mass. The study is performed on a mesh of 141 million elements (430 million degrees of freedom), which is fully capable of capturing the details of the post-processed wing-box designs, and the numerical experiment is conducted using 640 cores on a small cluster. To quantify the performance improvement of the optimized rib/spar design compared to the conventional rib/spar design, we subject both models to the two aerodynamical load scenarios as described and depicted in Extended Data Fig. 2, that is, the same two load cases used in the initial topology optimization. The numerical results are shown in Extended Data Table 1. From the results in Extended Data Table 1, we observe that even a crude interpretation of the optimized wing-box design leads to a performance improvement of 0.8%–0.9% for the two load scenarios.

Finally, we summarize the possible weight savings identified through the study of two of the main features observed in the optimized wing structure. The weight of both wings is about 20 tonnes, and our work indicates that a total weight reduction of 2%–5% is possible using both the curved spars and the new rib layout. With regard to weight reduction, this corresponds to a total saving of 400–1,000 kg, corresponding to an estimated reduction in fuel consumption of 40–200 tonnes per year29,30.

Data and code availability

The basis code used for this work is publicly available at https://github.com/topopt/TopOpt_in_PETSc (ref. 25) and the results, that is, the optimized designs in the form of STL files, are available from the corresponding author on reasonable request.