CDFAM Computational Design Symposium - Barcelona 2026 Thomas Rees · ToffeeX Machine learning and Artificial Intelligence have enormous potential as tools for generative design in engineering. However, most industry efforts remain stuck in research prototypes, brittle bespoke models, or disconnected add-ons that rarely survive real engineering workflows. In this talk, we will present an engineer’s approach to integrating machine learning directly into production-ready generative design tools, drawing on our experience building the fastest physics-driven thermo-fluid optimization platform on the market. Rather than replacing physics with opaque black boxes, our methodology uses ML only where it strengthens engineering outcomes. I will show how ToffeeX’s ML developments accelerate design exploration and automation while preserving full control of engineering intent, seamlessly extending our existing topology optimization engine which is already used daily in real production environments. This talk highlights why our approach, built on smart algorithmic design rather than brute-force model training, achieves the reliability, manufacturability, and speed required for real-world engineering. Links Talk page with full transcript Watch the talk on YouTube Cite this talk Search the full text of every recorded CDFAM presentation 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.
[music]
SPEAKER_01Hi, everyone. My name's Tom Treese. Obviously, I'm from ToppyX. That's the title of my talk. This is kind of a bit of a hodgepodge of my thoughts about applying machine learning in generative design after working in the development of engineering software for about 10 years now. Last go? No. Cool. First I'll talk a little bit about what CoffeeX is, who we are, for those of you who don't already know, although we've been around for almost six years now.
SPEAKER_01So we're a generative design software tool based on topology optimization primarily, but we specialize in thermal fluids, so things like heat exchangers, cold plates, manifolds, valves, all this kind of good stuff. And we're cloud-based and we're really fast. And yeah, it's physics driven. So underlying it all, there's a CFD solver. So if you go buy Toffee X off the shelf right now, there's no like surrogate modeling or anything like that.
SPEAKER_01It's all based on good old fashioned from the 70s finite volume CFD. And thus, that's how big we are. We're based in central London. We're spin out from Imperial College London. We work with all these people. So primarily we work in aerospace, energy, automotive, and... Nuclear, all sorts. We work with a lot of companies. There we go. All right. So what is topology optimization? What is multiphysics topology optimization? So the principle is you start with a design domain.
SPEAKER_01So basically, where can I build stuff? Then you kind of set up your physics problem. So you set up your CFD problem. So what is my flow rate? What are my heat fluxes? And so on. That's what it looks like. You make a mesh, then you solve your CFP, you solve your topology optimization algorithm, you update the design, on and on and on and on. Yes, it has converged. This is what it looks like sped up like 5,000 times.
SPEAKER_01So what you can imagine here is you have a coolant coming through. You've got hot walls. You're trying to cool the hot walls as much as possible. And the optimal design is a series of fins that cause recirculation without separation. So you get high convective heat transfer, and there's no turbulence to cause losses. Although, obviously, in some cases, it might generate turbulence, generating structures, because turbulence is also really good for heat transfer. That's what it looks like. So that's kind of the underlying technology. But what we quickly discovered is that,
SPEAKER_01you know, most engineers don't like black boxes where you kind of like give a bunch of inputs and you press go and then you go away and you come back two hours later and you got a design with no explanation of how you got there. So primarily what we've been developing over the last several years is controllability over the topology optimization. And this doesn't just mean Manufacturing constraints doesn't just mean we satisfy some overhang angle for additive or some radius for a stamping process. It means capturing engineering design intent.
SPEAKER_01So engineers can say, I need to achieve this and this is how I want to achieve that. I want to achieve it with a lattice. I want to achieve it with some sort of existing structure that I can only change by some percentage. I want to achieve it by maintaining these regions And so it's kind of like bringing into this kind of like CAD based design intent while also in the regions where we want to allow design freedom to allow basically
SPEAKER_01the topology optimization algorithm to work. We're used, like I said, by all those companies. So if people were here last year, you know all these. But this is a liquid natural gas vaporizer installed in several natural gas terminals in Northern Europe. This is a piece of high-pressure die-casting tooling, one of several installed on Toyota production lines. And this is a cold plate for an AC-DC inverter which may go on,
SPEAKER_01well hopefully, fingers crossed, it's going to go on a German car in 2028. And that's why it's called CoffeeX. Okay, so machine learning. Okay, I did not look at the time when we started, so let go. So we're pretty quick as a topology optimization tool. We're not as quick as some sort of native machine learning or AI-based tool. And by the way, everything I say now, I'm going to be talking about physics surrogates rather than agents. Agents is a whole separate thing.
SPEAKER_01And I'm speaking in Rapid in Boston next week about agents. So come to that if you want to know what I think about agents. So people in the room working with surrogate models probably recognize these. It's certainly very true at ToffeeX, right? So there's three problems, right? So one, you try to develop something and it works really well and it's a research prototype and you've got really good benchmarks and it gets really good results. But that's the only thing it's good at. And then it breaks or whatever. So it pins like...
SPEAKER_01Pins seemed very promising about five years ago. Has anyone tried to make a good pin recently? No, cool. Or you make a bespoke model, which is really good at making pumps, so like the talking sim scale, that's probably really good, but it's only good at making pumps. That's not a problem, but how do you then scale that to different sized pumps, for example? And also Uncertainly Bound. I'll talk a little bit about this a little bit later.
SPEAKER_01And then another add-on, right? So how do you get people to use it rather than develop it, put it in your product, and then cross your fingers? Yeah, agents. Okay. And in many cases, you get three for the price of one. So I don't know why all my formatting has gone wrong now, but there you go. So when we're working on machine learning at Tophias, these are kind of the questions I've sort of narrowed down to. If we can answer yes to all four of these questions, then it probably will work.
SPEAKER_01I mean, you can read it, right? Is there a well-characterized physical approximation that we can address? Can we generate training data? We talk a lot about data, but for fluids, which is what we work in, you need a lot of data, right? So there was thousands of simulations to get that pump working, that pump model working. Are the failure modes physically interpretable? Again, I'll show you some pictures, and I think That would be the most convincing thing for you guys.
SPEAKER_01And can your engineers work without having a PhD in machine learning? So here are some projects we've worked on at ToffeeX. So this one, I should have put it on here. This was funded by the UK, Innovate UK. About several years ago. And our idea was like, we do a lot of internal flows in heat exchangers and so on. And conventional RANDs modeling for fluid flows is pretty garbage at modeling turbulence in internal flows. So you get these huge kind of errors. But most people in industry don't do that, so they want to use RANs.
SPEAKER_01But we thought, well, RAND models basically, they're physically sound. There's a couple of questionable approximations, but generally, they're physically sound, and they rely on these experiments empirically The generated coefficients. But these empirical coefficients are generated on a subset of data, and you need to try and basically tailor these to your problem. And they're really bad at predicting separated fields.
SPEAKER_01So this is kind of like a periodic thing here. OK, now it works again. You see these things here. These are big separations. And so if you do a RAND model, it's pretty bad. And what we wanted to do was basically say, OK, can we find better coefficients We don't want to wholesale replace CFD. We just want to be able to make it better so we can get LES or DNS quality results
SPEAKER_01at the cost of a RAM simulation. So here you go. Oh, this is all messed up again as well. Interesting. Hmm.
SPEAKER_00OK.
SPEAKER_01I don't know what's going on here. But OK, so this was the LES here. No, this was the RAND, sorry. This was the machine learning, and this is the LES. So I don't know why these got flipped. But you can see, essentially, you get much closer compared to the RANDs here as well. And so what you're doing is for these internal flow geometries, you can run a simulation, which takes as long as it runs, and you get the same fidelity as an LES, which is a speedup of like 50%, 50 times. So another project
SPEAKER_01We worked on. This is actually done by an intern. It's completely insane that she did this all in three months. But basically to build a machine learning surrogate of a flow through a key exchanger, which is OK, people have done this, fine, whatever. But the idea is then if we can use this machine learning surrogate Can we then use that as a boundary condition for a topology optimization? So the manifolds delivering fluid to a heat exchanger obviously have a big effect on the performance of the heat exchanger because you want to get a uniform flow across the heat exchanger. Maybe you get a higher flow in regions where there's larger delta T and so on.
SPEAKER_01But if you're designing a manifold using topology optimization, you cannot predict, say, if I change this in my manifold, how will the flow change in my heat exchanger without some sort of model for that heat exchanger? So basically, that's what we did. And we trained again on three different types of data, RAND, LES, and DNS. And the idea was we do loads of RANDs, because we do loads of RANDs, and then we do lower numbers of LES and DNS because they're quite expensive. And we can basically assign importance to these results.
SPEAKER_01So basically, these weights basically say to the regression we're building, this is most accurate, this is middle accurate, and this is least accurate. And what we found, essentially, if all these dots were on this dashed line, you'd get a perfect prediction. And what happens around here is basically the wheel fall off. And that's basically where you go from a laminar flow through the transition to turbulence, and the non-linearity of the Navier-Stokes really takes over.
SPEAKER_01What that means is you need heaps more data in between here to get these all to land on the line. Interestingly, it's also where our DNS data ran out, but I think that's just a coincidence. Heat transfer predictions, they're equivalent essentially to the pressure loss predictions. Last thing, so I talked a little bit about engineering design intent, I talked a little bit about manufacturing constraints on the topology optimization. So one manufacturing constraint is the overhang angle for additive manufacturing.
SPEAKER_01And this is quite an expensive computation. You need to first calculate basically where you're violating it and then how to repair it in a way that is least disruptive to the fluid flow. And then you want to try and incorporate that into your topology optimization loop. So at every iteration of the topology, you can Basically, find the correction to satisfy your self-supporting overhangle. I'm not going to tell you our approach, but it's a deterministic algorithmic approach.
SPEAKER_01It's a little expensive, but it works really well. And it gets called thousands of times now. But it depends on three parameters, and it depends non-linearly on these three parameters. And so when we basically were trying to figure out what are the optimal parameters to use in our topology optimization algorithm, we got kind of lost. And what happens is you start running it, and it kind of gets stuck here.
SPEAKER_01And so you can see these steps are just iterations. But yeah, it gets stuck and it stops moving. And if you choose an optimal set of parameters, basically it finishes it real quick like that. Bang. And so basically you go from like thousands or tens of thousands of steps from this hot one to the other components. And basically all our regression is doing is calculating what are the optimal parameters for my overhang correction for a given mesh.
SPEAKER_01And so we're accelerating heaps of machine learning, but probably not in the way you're thinking. And suddenly this is now very tractable in esophology optimization. So what do these have in common? I have no idea where I am on time, but... Yeah, we had a known target we wanted to do that we could physically represent, whether it was surrogate modeling or some sort of representation of the overhang.
SPEAKER_01We had high fidelity data we could generate at a reasonable cost, and we'll talk about cost in a little bit. Failure modes were kind of clear, so in the turbulence we could balance the coefficients that the model generates. Clearly, we can check the overhang angle. We know what is the correct pressure loss and not. And also, the engineer can look at the output. So again, the engineer can look at the coefficients predicted by the turbulence and say, this is a weird coefficient that might not be correct, and so on.
SPEAKER_01Okay, so now zoom out, kind of like what's going on In the industry right now. Maybe I should also say, when I speak to our customers, or to our prospects even, and we go, hey, we got this really great tool, it's going to save you so much money. No one says, hmm, but can I do AI most of the time? Most of the time, they just care if it works.
SPEAKER_01It's a question if there's so much interest. And to be clear, we're super interested in building these surrogates as well, because obviously if we can take our topology optimization time from five hours to five minutes, that'd be incredible. And what we've found, first of all, there is a data problem, especially for simulation data. Simulation data is like hard-won IP for these large engineering companies. They're not They're not going to share it with anyone else. You have to work with the simulation data within a single organization,
SPEAKER_01or you can generate your own. And if you want to generate your own, this is from a paper. Everyone probably already knows about this paper. But yeah, if you want to generate your own, you're going to be spending hundreds of millions just to generate data before you even change your model. At Topi, we don't have a hundred million dollars. So there's this one as well, which I think this is the low fidelity simulation ceiling, which is kind of like what I was talking about earlier about like RANS versus LES in the context of fluids. So it's not just the difference between low fidelity and high fidelity simulation tools,
SPEAKER_01it's within a single RANS tool, there's a huge amount of variation. This is a graph from a NASA, oh sorry, A-I-A-A Drag Prediction Workshop, it's on the NASA website, which is why I said that. But they do They did this in like 2000 or something like that, basically, and these like CFD tools basically characterize the drag around an airfoil. And they evaluated like 270 CFD tools. So this is just 30 tools. And this is the variation in the drag coefficient around this airfoil predicted by each tool.
SPEAKER_01And by the way, the average here, this black line is actually above the experimental measurement. So when you're training on CFD tools, you're training already on... Questionable data that is often not backed up by experiment. So if you have a 7% error here, which is what this is, and then your machine learning model has a 7% error on top of that 7% error, at what point does it become unacceptable for your surrogate? And then there's also the interpretability problem. Here's two results.
SPEAKER_01One of them is from A simulation tool. The other one is from a machine learning sort of guest trained on that. Which is the correct one? This is the same Reynolds number, same everything. It should be interpreted by an engineer, which is the correct one. This is turbulence. This has a huge effect on the pressure loss across your system. And I've blacked out here what's going on here, but you can see the scale is a bit the same. I wouldn't be able to tell. I doubt any other engineer would be able to tell. So if your machine learning model is giving you this difference, how do you know it's correct?
SPEAKER_01You've got to run the CFD. Just run the CFD in the first place. Here, same sort of question. It's the same thing. I've inserted another one there as well. And there's this other interesting paper I found, published at ML4PS last year, which kind of tried to build a formal proof of why neural networks are pretty poor at extrapolation beyond their training data. I'm not sure I buy it completely, but it's an interesting paper.
SPEAKER_01I encourage you to check it out. But yeah, again, which one's great? Finally, the regulatory void. So we work a lot with aerospace, nuclear energy and so on. So we have this, our customers have this problem to work with as well. There's no regulatory framework for any of these engineering fields about the use of machine learning tools. They have their surrogate model, I guess, like frameworks, and I've used them in the past and in a previous life.
SPEAKER_01But if you're trying to build, I guess, what we're calling foundation models now, where there is no very clearly defined sort of like area where you work, there's no regulatory framework for this. And like, yeah, this is kind of like, okay, it's really cool if you use it in Formula One, but I watched that Chernobyl miniseries last week again, and yeah. Okay, so finally, this is kind of like where we sit at this with ToppyX, which is kind of like, What are we actually trying to do here, basically?
SPEAKER_01Are we still trying to do physical modeling based on the fundamental laws of physics, just conservation of mass, momentum and energy? In which case, let's just solve some equations because they capture it all perfectly. And then when we do, we need to know when not to trust it. So I mean, these pictures... Yeah. Okay, and then agentic AI, yeah, I got lots of thoughts about agents. I'm much more positive about agents, but come to my talk in Boston next week.
SPEAKER_00All right, thank you. To 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...