Topology optimization has long been constrained by the computational cost of working at meaningful scale. For architectural and civil engineering applications - where domains span tens of meters and element counts run into the millions - that constraint has made high-fidelity structural synthesis largely impractical on standard hardware. In this episode recorded at CDFAM Barcelona 2026, Raul C. Llamas-Sandin presents a GPU-accelerated solver that addresses this directly, reducing solve times for large-scale problems to minutes on a workstation. He covers the key technical features that make it relevant for the built environment: asymmetric tension-compression stress constraints, thermoelastic analysis, and geometric constraint enforcement for fixed architectural elements and fenestration. Applications demonstrated include bridge design and high-rise structural cores at spans up to 80 meters, as well as free-form architectural geometries exported as watertight STL files ready for digital fabrication. The solver’s modular configuration approach decouples problem definition from the numerical backend, making it adaptable across project types without reengineering the workflow. Raul is a Future Projects Engineer at Airbus Operations SL and Assistant Professor of Aerospace Engineering at Universidad Europea de Madrid, with over two decades of experience in advanced aircraft design. He holds an MSc in Aerospace Vehicle Design from Cranfield University and 14 patents spanning aerodynamic devices and plasma actuation. Recorded at CDFAM Barcelona 2026 - https://cdfam.com/barcelona-2026/ This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit www.designforam.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
The following presentation was recorded at the CDFAM Computational Design Symposium
SPEAKER_01in Barcelona, April 2026. Learn more at CDFAM.com.
SPEAKER_02I think you can hear me. So, good morning. My name is Raul Llamas, and I am presenting today my PhD topic on GPU-enabled large-scale structural output optimization. About me, I am a student, a PhD student at a late age, not too late. I have also another two jobs, a full-time job as an aeronautical engineer in a well-known company,
SPEAKER_02and also a part-time lecturer at the European University of Madrid. The PhD is under the University of Seville. Before I started my PhD, I had hobbies, as you can see there. I'll come back to them. As a lecturer at the European University, I teach two main groups of subjects, flight mechanics and aircraft design. In aircraft design, I don't miss any opportunity to mention about topology optimization, and the students have to do exercises and get acquainted with technology.
SPEAKER_02As an aircraft designer, I've done a few big things. The biggest, in many ways, is the wing covers of the Airbus A380 wing. This is a picture which is almost to the date 25 years old. I produced the picture when I was working on this for an internal presentation. It was used for a paper later on. Everything I will present about my work in the industry is open domain, from conferences and other sources. So this was a very interesting job.
SPEAKER_02The algorithm used here, I cannot be too explicit, but it's not very different to the stuff I'll talk about later on. This was, to my knowledge, the first application of genetic algorithms in a significant structure. In parallel, the year 2000, 2001, I was the guy who introduced structural topology optimization in ERBAS. This is a well-known and very well-published example. In my view today, we have an overabundance of topology optimization.
SPEAKER_02Many people are abusing the tool, in my opinion. 25 years ago, it was exactly the opposite. It was quite hard to convince people that there was value and effectively to explain what it was about. I think all of you understand the technology now, and we have different challenges today that I will talk about later. Even before introducing that tool, I was interested in the topic from reading papers. This is a video of my computer at the time.
There leads my first topology optimization example, which was the Eiffel Tower.
SPEAKER_02It had 1,000 elements. I used the student version of Nastran and Quick Basic. At some point, I will recover it, and I will be able to show it. But around the same time, I started playing with the algorithm. The early versions of the algorithm are talking in a second, and I used Nastran and Lisp to get a little bridge. So I feel interested in the topic for a long time. some public works that I can show a patent from 2007 this is a
fuselage of an aircraft with propellers at the back to simplify things and we have to consider the
SPEAKER_02failure of a propeller that can cut the structure so this is a structural optimization of the structure taking into account the possible trajectories of the propellers so it's a a very early case using in-house methods, effectively my algorithm, of failure, topology optimization under failure conditions. The last example is on 2020. This is quite a A quite complex example where we have aeroelastic loads in the loop. So at every iteration loop, we are computing aeroelastic loads.
SPEAKER_02The loads become internal loads, and then we do the structural sizing of a composite structure with compatible laminates. And you see in these bulkheads topology optimization. So this is topology optimization with laminate sizing and aeroelastic loads fully consistent. Part of the job that I can show today from a conference in 2012, this is an aircraft design modeling tool,
SPEAKER_02a state of the art. We still use it. In 2012, it was usable, but not at the States today, but I cannot show much more on this. The tool lived or became a hydrofoil design tool for America's cab boats. And in fact, the main developer now is working full-time on that. You can take his company, Takeoff Technologies. You can play there with the state-of-the-art aerofoil or hydrofoil modeling tool and analysis.
SPEAKER_02So the main topic, GPU enabled large-scale topology optimization. Super simple algorithm, three lines. In fact, the Julia, I use Julia as a language, code to do that sequence of optimization is 42 lines of code. Most of you will be familiar with the 88 lines of Python code for TopOpt. You can do it in much less lines of codes with a comparable code structure. So the algorithm belongs to the family of fully stressed design.
SPEAKER_02It's even simpler than fully stressed design. So we assign a density based on the allowable. The secret sauce here is what stress we use, and that's part of the publications that I will publish hopefully soon. So you assign the density based on the stress divided by the allowable, then you average the densities, it's a convolution, it's a filtering process, and then you threshold the Eucal elements which are not working
very hard.
SPEAKER_02This is a well-known algorithm, has been discredited during many years by academia, because sometimes it's optimum, sometimes you can prove that it's not optimum, and most of the research has been focused on showing that it's not optimum, but in fact, for most practical cases, it is a very good solution. I'll show you a little animation. On the left, we have... a picture from the original Mitchell paper on topology optimization, even though he didn't call it that way. This is a continuum solution.
SPEAKER_02I guess many people overlook what Mitchell's theorem says. The optimal solution is almost a continuum. It's not a continuum. It's an infinitely dense lattice of infinitesimal elements in compression and tension, pure tension and compression. When we do topology optimization, or what we apply in practice, It's a degenerative version of that, so we need to remove complexity, so we find a heuristic method, and every topology optimization method has heuristics, so it's not optimum,
SPEAKER_02by any means, regardless of any claims, because we are reducing the mesh density, in a way, until we are happy with the final solution. In this animation, you see that we start from a fully stress design, they are embedded are all these infinitesimal load paths. And these are being called by the algorithm. And all of these topologies belong to different families. And this is a key point in my research.
SPEAKER_02So this evolution that we have seen in animation, effectively, we are traversing several manifolds that I will mention in a second, with different topologies, all of them valid. or most of them valid, except for the transitions. If you look at the green curve, this is the evolution of the compliance, so the flexibility of the structure. As we progress in the topical optimization, there are little spikes. Those spikes are transitions from valid solutions,
where the structure becomes a mechanism.
SPEAKER_02There is a very big one at the end. because we are now breaking significant structural members and the structure becomes a mechanism until it readjusts. And here, the diffusion, the convolution that we do, the averaging of the material, is what allows the structure to redistribute material and become isostatic again. Normally people talk about the filtering method as a way to remove checkerboard artifacts and so on. It's much more fundamental than that.
SPEAKER_01So, A large part of my research consists in exploring the theoretical underpinnings of
SPEAKER_02the algorithm, and these are very deep and very surprising, even for this three-line algorithm method. What we've discovered is that each of these solutions, these isostatic solutions, belong to a manifold, a topological manifold, with a different number of members. You can imagine that we can take this structure, which is a finite element model made of shell elements, but you can very easily interpret it as a lattice structure.
SPEAKER_02And there is trivial to assign it a dimension. How many bars, how many nodes. So there is an intrinsic dimensionality. As we progress in the optimization, we cross manifolds with different intrinsic dimensionality. So we go This is a bit difficult to understand in a short time, but here we have the most basic structure with three elements, and the gray level is the density of the elements. We can go to the same color or the same gray level in all elements.
SPEAKER_02This will be the diagonal of the design space. And if this was a truss structure and only two elements were necessary in a plane, we would end up in one manifold in one of the planes. So one of the structures, one of the elements becomes fully white or fully black, depending on how you call it. So this evolution in the design space from the grey structure to a topological manifold is actually driven by the fully steady-side method,
which is very parallel or very close to the diffusion methods that people are using now for image generation and the generation of other devices that we have seen in
SPEAKER_02the previous presentation. So, the mathematics are quite daunting. But the meaning is quite simple. We have a force that pushes the structure, in this case, to a certain solution. The structure wants to become isostatic, and this is the gradient there, plus the isostatic attractor. This is what the Mitchell's theorem says. And the diffusion is a diffusion. So we are spreading the point in the design space to allow it to move to the attractor.
SPEAKER_02Then the culling is just forcing the dimensionality reduction to get black and white. The culling is a control parameter as well in the process. So we see different solutions, all of them are valid, all of them belong to different manifolds, and we are just moving between manifolds. And the decision of the engineer is where do we stop? The most complex solution is the stiffest, but the most expensive to make or impossible to make. in which manifold do we stop? And I see very often that people reach the final solution and
they don't care about
SPEAKER_02the intermediate solutions in other methods, which is fine, but we are missing a lot of richness in the design space. Like this. Certainly the lower row, all of these are isostatic valid solutions, and the first one is what people call now variable thickness solution, which is effectively the implementation or the realization of the mid-cell fully-stress design. Other interesting parallel to the algorithm is that
convolutional neural networks
SPEAKER_01function exactly the same as this algorithm,
SPEAKER_02exactly the same. So we have a linear process, the phi analysis, which is the normal neural network. We have a convolution. A neural network is made of a matrix multiplications plus a nonlinearity. So we have a linear solver is the matrix multiplication of the neural network in each layer. The convolution is the convolution, it's the diffusion operator. And then the thresholding is a non-linearity. In neural networks,
we often use ReLU, which is just clipping the negative part.
SPEAKER_02Here, we have a threshold that clips values below a certain threshold. Almost any non-linearity could work in a neural network. So, in the end, you end up with a reduced dimensionality manifold representing the topology of the structure. This is very, very similar to what people are doing with neural networks when they trune the system to make it fit in a smaller device. I will not pursue this line of work, but it's super interesting.
Certainly, for the mathematical framework that I'm developing, this source is extremely rich.
SPEAKER_02So the method, being based on stress, is not a compliance optimization method, deals with the stresses. So in the end, the objective function is to maximize the utilization of the material. So try to force that every element is working at its maximum capacity for at least one load case. When we have many load cases is when people find that this method can be non-optimum, but still is practical. So we have the control loop.
SPEAKER_02that follows the trajectory of the stress state in the structure, and there is a simple PID process with some tricks and some controls, and the control parameters are the diffusion radius and the threshold. With only those two parameters, you can end up in one of the topological manifolds. which you can choose, right? Since we have a control system in the loop, we need to be quick in the iterations. So it's essential that the FE solver is very fast.
SPEAKER_02In 2D, this is not too difficult. The animation that I showed before is using a simple linear solver from Julia, nothing exotic. When you go to 3D, things become a bit more expensive numerically. So here is the crux of the algorithm that enables to have a control system in the 3D optimization loop. And we are using GPUs. I have a tiny NVIDIA GPU at home, 10 gigabytes of RAM,
SPEAKER_02dying to get access to a larger GPU. But even with a home kind of consumer-grade GPU, if you tailor the algorithm exactly to the problem, so we have a mesh which is made of elements of the same size, so we can map almost directly the algebraic structure of the mesh to the GPU structure. and do this in a matrix-free approach with a conjugate gradient solver using a
SPEAKER_02queue of solver in the GPU that needs a preconditioner, and this is the key. The algorithm is quite smart in finding a very efficient preconditioner. This is a bit theoretically unpleasant to discuss, but it's the key. If you find a robust preconditioner or a cascade of preconditioners, because the algorithm finds and chooses the best depending on available VRAM and other parameters, the solver is incredibly fast. So I'll show you some examples.
SPEAKER_02The code is written in Julia, 100%. As features, you can read domains in STL, OBJ, and 3MF. Now, thanks to Duan and his team, there is a 3MF library for Julia, which is very interesting because it enriches the definition of the geometry, and we can add attributes to the mesh to refine the mesh or set the stress values or whatever. The outputs are specific binary plus para-view, as you would expect.
We can model actuators in the structure by defining thermal expansion coefficients
SPEAKER_02in different regions. We can define regions for voids or hard areas. If we want to model a bridge, like this case, we can have a void for the car passage if you like and then the deck we can give it the attribute of being non-designable and having a certain weight and certain stiffness then we don't need necessarily to apply point loads just the distributed weight will will work when we have so the process considers self-weight and gravity
SPEAKER_02loads when you consider gravity loads or body forces, is the only case where a topology can have curved elements. I see very often even flying in space. Topology optimizes structures with curved members. That's not optimal, unless you have body forces which you don't have in space. Anyway, the method can deal with gravity and body forces. Some examples.
SPEAKER_02The whole structure is a bridge. was modeled using symmetry, so only that part was optimized. This is 26 million elements. This was run in my home computer in two hours. The complexity is significant to pick up the fine detail. I think two hours for this is pretty much state-of-the-art, I would say. You see how the deck has been defined with a non-designable material, but flexible and potentially with different
SPEAKER_02density and thermal properties. You can have different allowables in tension and compression. This is quite difficult to deal with in a stiffness-based optimization. Here, since we are explicit with stress, we can control the local stress state as we like, even having different allowables in different regions of the model or different diffusion ratios in different parts of the model. I started many years ago with an Eiffel Tower,
and this is now where I am.
SPEAKER_02That's how you define the designable domain. So the bounding boss is where potentially you could have material, then there are some point forces, and then the decks for the restaurants and the foundations. When you run that, depending on which parameters you use, you can end up with different interesting structures. At some point, I matched the Eiffel Tower exactly, but I think I lost the result, unfortunately. So, the topic was large-scale topology optimization.
SPEAKER_02Let's get a sense of scale, what scale means. That bridge overall has 108 million elements. I have run cases like of this size, but in this case the preconditioner has to be Jacobi in my computer, and Jacobi has certain numerical effects that don't allow to get so fine detail. But then again, I'm running in a 10 gigabytes GPU. If you run in a state-of-the-art GPU, you can go to a
several hundreds or billions of elements today, and certainly more in the future. What does that mean is that in aerodynamics you can run aeroacoustic analysis with
SPEAKER_02billions of elements, in structures you can do what AIDS did in 2017, With a cluster, 8,000 CPU hours of compute, that's 1 billion was the first giga-scale topology optimization. You can do this today in a single GPU if you have access to it. In terms of aerodynamics, again, to get a sense of scale, this is a 60 million Lattice-Bosman analysis that we did in a research project. It's difficult to see, but you have the results between the comparison wind tunnel and CFD,
SPEAKER_02and they are spot on. So 60 million, 100 million A few hundred million elements in structures and in aerodynamics allow you to do pretty much whatever you want. The giga scale is beyond a billion. Again, to get a sense of scale, La Sagrada Familia, the cathedral in Barcelona, I did the calculation. If you use standard bricks, European bricks, you just need 1.2 billion bricks to model the bounding box. So all the details that you can get inside of Amelia could fit
in a single GPU if you have access to enough memory with today's algorithms and infrastructure.
SPEAKER_02So where is all this going? The picture there is... I have good memories from it. This was done by this guy here who's looking for a job. It's a bright guy. He did this as part of his bachelor thesis, undergraduate thesis, and this is a Julia optimization. Fluid structure interaction, so you are getting top optimization of an airfoil and the aerodynamic loads,
SPEAKER_02where the aerodynamic loads, you get the idea. This is where things are going. In terms of civil engineering, you need wind loads, so I also developed CFD code, and it's now integrated in topology optimization code. It's not running the fluid solve for each optimization of a structure. This could be done, but it's extremely expensive. Well, it could be done. But the thing is, if you want to design a building, if you have a facade, at least you need the facade loads, and then you get internal structure.
SPEAKER_02So this is now possible. So where we are going is to fluid structure interaction. And the frontier is structural stability. This is what limits topology optimization in use in industry, especially in aerospace. Buckling, it's still a big issue for this.
SPEAKER_01Final remarks.
SPEAKER_02All the algorithms that I've shown you, all the results, and topology optimization and CFD that I've written have been written by AI. The algorithms have some secret sauce, but, I mean, there's nothing totally radical here. What I think is radical is that this has been done in the last four months using a cloud code or codex or whatever. And this is a revolution, in my opinion. GPUs. feed, or AI development is feeding GPU development,
SPEAKER_02which feeds the simulation, which feeds the need to develop simulation codes using AI to run the GPU. So this spiral is accelerating, and the repercussions in industry, I don't think we have started to fill them, but this is coming, so we need to be ready for that. Normally I would finish the presentation here, but... I want to talk about the future. So I don't know what is the future future,
but I know what was the future when I was a kid.
SPEAKER_02And when I was a kid, the future consisted in a few things. Video telephones, and we are there. Flying cars, and we could claim we are there. And when I was a kid, I was very fond of this movie.
SPEAKER_00and attempted a live AI demo that required internet connectivity. That did not work.
SPEAKER_02If it doesn't work, we'll stop here. So this is the future, and the future is today, basically, at least the future when I was a kid. So use computational design for peace and to create things, not to destroy the world. Thank you.
SPEAKER_01To learn more about the CDFAM Computational Design Symposium, access the archive of previous presentations, interviews with speakers, and information about future events around the world, visit cdfam.com.
CDFAM Computational Design Symposium - Tokyo 2026 Onur Yüce Gün · New Balance Technology pushes the prototype to the next level, but the prototype often remains alien. Beyond the prototype, Computational Design unfolds...
CDFAM Computational Design Symposium - Tokyo 2026 Danilo Gigantelli & Umar Hossain · Alloyed Additive manufacturing is enabling a new generation of vapour chamber designs with geometries and functionalities not...
CDFAM Computational Design Symposium - Tokyo 2026 Jordan Taylor · VIZCOM The distance between a designer’s first sketch and a manufacturable product has traditionally been measured in weeks of handoffs: sketch, render,...
CDFAM Computational Design Symposium - Tokyo 2026 Zinab Eisa & Esha Morakhiya · Harvard University Aeroforms emerges from a shared curiosity of how the invisible sensory phenomena of scent can be modelled, mapped and...