The Neil Ashton Podcast
Daniel Mira on Hydrogen Combustion Modelling and Future Propulsion
Watch on YouTube
Daniel Mira on Hydrogen Combustion Modelling and Future Propulsion
YouTube video
Watch this episode
YouTube is contacted only after you choose to play the video, keeping this page fast and private by default.
Listen to the audio
Episode overview
Hydrogen combustion, high-fidelity CFD and the future of aircraft propulsion are the focus of this conversation with Dr. Daniel Mira, Head of the Propulsion Technologies Group at the Barcelona Supercomputing Center. Neil and Dani discuss why reacting flows are so difficult to simulate, how hydrogen changes combustion and aircraft design, the limits of RANS, LES and DNS, GPU-native solvers, coding agents and AI surrogate models.
Chapters
- 00:00 Podcast intro
- 00:39 Introducing Daniel Mira
- 03:00 Conversation begins
- 04:55 Why combustion CFD is so hard
- 10:23 Daniel’s path into hydrogen and jet-engine combustion
- 12:48 Hydrogen versus hydrocarbon combustion
- 17:58 Industrial adoption of hydrogen
- 20:54 Gas turbines, aviation and fuel infrastructure
- 25:35 How jet engines must change
- 30:43 Redesigning the whole aircraft
- 34:46 What will trigger commercial adoption?
- 37:27 Why aerospace projects take a decade
- 42:14 RANS, LES and DNS for reacting flows
- 44:31 Replacing expensive tests with high-fidelity CFD
- 46:01 The biggest accuracy gaps in combustion LES
- 49:26 Where the computational cost goes
- 52:06 Chemistry, species and source-term bottlenecks
- 55:35 Wall modelling in combustion LES
- 59:49 GPUs, algorithms and solver redesign
- 01:08:52 Can coding agents accelerate combustion CFD?
- 01:12:27 AI surrogate models for combustion
- 01:24:20 Closing thoughts
References and links
- Daniel Mira and the Propulsion Technologies Group ptg.bsc.es
- opulsion Technologies Group — research lines ptg.bsc.es
- BSC — Combustion research bsc.es
- Center of Excellence in Combustion (CoEC) coec-project.eu
- High-fidelity simulations of the mixing and combustion of a technically premixed hydrogen flame upcommons.upc.edu
Transcript
This transcript was created from the corrected YouTube captions, with names and technical terminology reviewed. Download the corrected SRT file.
Hi, welcome back to the Neil Ashton podcast. Combustion is one of those areas of CFD and fluid mechanics where everything gets harder once. Turbulence, thermodynamics, hundreds of chemical species, vastly different time scales, and heat releasing and all interacting. My guest today is somebody who has spent his whole career trying to make those problems computable, trying to solve them. Daniel Mira Martínez is head of the propulsion technologies group at the Barcelona Supercomputing Center. It's a wide-ranging conversation, I think, about physics, computing, and the future of propulsion. And I hope you enjoy it. what makes combustion so hard compared to let's say incompressible flow over
a car? Well, I don't know. Perhaps the first answer is thermodynamics. think one of the aspects that make the... this application field a little bit more complex than conventional aerodynamics or conventional flows is the fact that you have to satisfy the thermodynamics. And the thermodynamics involving multi-component flows, gases that have a different composition. And then because they have different composition, they have different partial pressures. And therefore, when you want to describe the evolution of the
flow having these different compositions then the equations and the closers that you need to provide increase and then if you add also the fact that you can have combustion that you have a heat release. Heat release always occurs in a very very thin layer then you start having interaction with this heat release with the flow this couple system combined with the thermodynamics again, with the enthalpy variation, with the properties that change, then this is why it makes, for example, I don't know, multiphase flows for combustion a little bit more complex or compressible flows for combustion a little bit more complex
or supercritical fluids for combustion also more complex. So when you add the kind of problems that you have always in in CFD and then you add a multi-component reacting flows everything becomes a little bit more messy at the end. And your main focus has been more on the jet engine side, right? Would that be fair to say? Yes, yes exactly. from my PhD it's quite funny at this point because when I started the PhD I did my PhD in hydrogen combustion. I started in 2009 and then I found it very interesting as turbine hydrogen enriched.
flows or fuels for gas turbine applications and then I enjoyed very much. There were of course quite a lot of activities related to hydrogen but it was from my understanding more related to that hydrogen is a small, I mean it's a fuel that the chemistry is well characterized, it's small so people prefer to look at hydrogen because they don't have as many species as hydrocarbon, for example methane or propane. But then it was quite interesting and it was of course quite... well explained in the literature back then that hydrogen was quite special because it had some particular properties that make the combustion of hydrogen
quite different from hydrocarbon fuels. But then after I started the PhD, I talked to my supervisor and I said, I like hydrogen. So I said, Just hydrogen is not a fuel, it's more like a vector, energy vector. So maybe you can try to find something else if you still like combustion. And then that was what happened. And then after that, after some years, hydrogen started to take a lot of momentum and a lot of interest. And now hydrogen is really at the heart of the new generation of sustainable fuels or electricity. based fuels so So yeah, and since then, my main background has been aerospace, fuel
combustors, gas turbine combustors. But more recently, with my current position, we try to model also other applications related to combustion, like furnaces, for example. And this has been a new topic for me over the last three, four years that I was trying to understand and was trying to deal with these configurations. And so maybe before we get to the CFD modeling challenges, what's the main changes and benefits and challenges between hydrocarbon combustion and hydrogen combustion? Why is the aerospace industry so interested in hydrogen combustion? Well, I would say there is one main reason.
Well, there is one and it's actually related to a few others, which is the carbonization and energy dependency. So in general, the best fuel is the most energetic fuel, the one, but you can measure the energetic fuels in terms of energy. per kilogram or energy per volume per liter. So depending on your application, you might be interested in having fuels that have a lot of energy, kilojoules per kilogram or kilojoules per liter. So. Liquid fuels are dominant in the industry because they have lot of
high density. So in a liter, then you can have lot of kilograms of fuel. Hydrogen is not the case to... per volume is not that interesting. You need big volumes at room temperature or room conditions to have a lot of mass of fuel. So one of the major problems of the utilization of hydrogen is how you are going to bring the hydrogen in the application. If it's a stationary application, then perhaps it's easier because you can build a pressurized cryogenic storage and then you can store the hydrogen there. are some problems, embrittlement and these kind of things that can happen
there. Safety also because it's a very high pressure and low temperature. But if you have a mobility application like an airplane or a car, then things get a little bit more complicated from the vehicle point of view. So you need to accommodate the storage into the system and then you end up having to reshape the vehicle eventually. But hydrogen is also quite interesting from the combustion characteristics point of view because it's very reactive and then it burns very fast. If it burns fast it means that you can produce a lot of heat very fast. compared to hydrocarbon. So you can have a system that can be
also smaller because it burns faster. So from the operational point of view, there are differences that can have certain advantages or certain disadvantages. The major disadvantage of hydrogen is that very likely that you will have to reshape the combustion system. to accommodate the injection and also to accommodate the flame or the combustion system to operate in the way you want. And perhaps... especially in Europe but also in other countries, in Asia as well and in the United States there are at this point a little bit less interested in these particular fuels or applications but because they have a lot of oil.
then if you are able to burn hydrogen, hydrogen can be easily produced locally, for example, from renewable electricity and an electrolyser, can produce hydrogen free. after of course a lot of investment, lot of infrastructure, but at the end you become let's say independent from the generation of the fuel or the energy system and then you do not participate in these geopolitical situations about availability of fuels, that combustion is very integrated in the society, so we use combustion for many applications, mobility, heating, domestic use also. So if you are able somehow to avoid
the dependency of variations in the market prices and everything, then you are in a good position. And how far, you know, before we get into more of the modeling challenges, where would you track from when you did your PhD in 2009 to now, how is this hydrogen combustion going from an industrial adoption? You know, are we 20 years away from it being something feasible? Is it 10? Is it five? You know, is there a sense of where that is? Okay, no, in fact, it is... I mean, I was gonna say surprisingly, but it's not surprising because at the end, the technological evolution... at the end is mainly taken, I would say, by the companies
and by the demands of the society and also by the companies that, you know, they can make profit providing the technology that the society actually needs. And this is in fact what happened with hydrogen. Of course, there are some political investment and the European Commission has a vision for the future associated to cover partially or the use of conventional hydrocarbon fuels by not by only hydrogen because ammonia is also a quite interesting fuel nowadays especially for some applications that I can go a little bit in detail. So yeah this question requires a very long answer so I will try to be a bit sure here but you can see if we go sector by
sector you can actually see that in the gas turbine sector that their main priority is a stationary system and it can be located in the Middle East, in Asia, in Europe or the United States and so the priority is flexibility of fuel so if you are in a place that you can produce, I don't know, you have... biogas or you have, I don't know, methane or propane or you can produce a lot of hydrocarbon. What you would like is to be able to burn this and to not bring hydrogen by ships or anything. And in this flexibility of operation, the industry is moving
quite strong towards the accommodation of these synthetic fuels, ammonia and hydrogen. the I would say not refer to brands, I would say 30 % hydrogen in the fuel has been easily accommodated by all the manufacturers. There is a small trick here because 30 % by volume in hydrogen is almost nothing in kilograms, but then there has been demonstration plants, very few already, over the last years in which they can operate with 50%, 60%, 70 % in volume that make now a big contribution and also 100 % hydrogen in a real system. The problem nowadays is that my technology can burn hydrogen, but where
do I get the hydrogen? You just give me the hydrogen and then I can more or less burn it. In the aviation sector, there was a, it's a little bit more peculiar. If you allow me to go sector by sector quickly, I can do it and... And then I can give you more or less what is my perspective. It could be a little bit off in some areas that I work a bit less, but more or less the ideas are more or less this. These are mainly the discussions that we're having nowadays in the community are about this. So for the aviation sector, there was a huge effort by the manufacturers to accommodate
hydrogen. There was quite a lot of push from the political sector for the carbonization of the aviation sector. And then the manufacturers were saying, hey, we are only representing 4 % of the CO2 emissions worldwide. Why are we? Why do we have to invest so much money on changing everything? But this is a very, I mean, you know this well, you have worked in it also in the aerospace sector. It's highly technological. So they like challenges and they have invested and they have pushed a lot to develop technologies for hydrogen combustion. And then there has been quite a few demonstrators like with some airlines that they have already done some flights.
I'm talking about commercial aviation, civil aviation flying from one country to another. And that is really happening in most of the aero engine manufacturers nowadays they have technology for hydrogen combustion at quite a mature stage. For commercialization it is unclear but for demonstration stage I think they all are pretty advanced. The problem is that for aviation you have short range, mid range and long range so for short range all these transformations might not be worth. and the vision is more to operate with hydrogen or electric power,
more with what you call this fuel cell system. So you can provide hydrogen and then you can produce electric power from the fuel cell. So that for the short range in the order of 1,000 kilometers and long, it's a solution that it's really the ambition in the sector. For mid-range and long-range, the electric solution is not feasible today and then solutions based on hydrogen are coming to... have a share. The main solution for decarbonization in the aviation at the moment is what they call sustainable aviation fuels that are replacement
fuels that they have similar properties and similar behavior as the conventional aviation fuels. Then if we move quickly to other sectors like furnaces or boilers or industrial applications, we are involved in several projects on this field also beyond aviation. And then there has been quite a lot of progress. There has been demonstrators of partners that can buy hydrogen in steel manufacturing or metallurgical sector, glass manufacturing also, and solutions based on hydrogen are actually possible. The question with hydrogen is the price of the hydrogen. and the availability and how much hydrogen you can give me and
at which price. This is more or less what these sectors are wondering at the moment. Hmm, okay. So it sounds like it's, but if you look at, and apologies if this is a stupid question, but No. the jet engine obviously has been heavily optimized for a particular fuel type over decades. From a jet engine point of view, how different does the design have to be to take hydrogen? I mean, isn't it a completely different engine essentially? Or are you saying that it's more of a, you know, partial change within the combustor, but maybe the other bits or is it, does the whole thing essentially start to change because of the different
power requirements or weight or sizing? Yes, in fact, this is a very good question and it is a little bit unclear depending on who you talk to or Who you read from then you can get a slightly different answer. So putting more or less everything on the table a You can burn hydrogen in a conventional conventional aircraft engine that has been more or less demonstrated the problem is that Aircraft engines or jet engines they operate with liquid fuels. So the injector must be different. There are aeronautical injectors that can inject the gaseous fuels. You can store hydrogen as liquid, but as soon as they approach to the combustion chamber with all the passages and everything, it's going
to evaporate. So very likely it's going to have so changes in the engine to accommodate hydrogen fuel. So the first is the injector. The injector is a conventional jet engine operated with liquid fuel, so the injector must be different. There are gaseous aeronautical injectors, so that's not a problem, but yeah, something needs to be adapted. So even though the hydrogen, for people who are very experts, they say, okay, but you store the hydrogen as liquid in the tank. Yes, but through the delivery of the fuel through the pipes are going to be preheated and you are gonna lower the pressure partially.
And then when you are injecting directly in the combustion chamber, then this is a very hot environment. So partial evaporation. is going to happen and this is an active area of research so the problem is not actually solved. This is on one side from the conventional RQL which is the technology for aero engines this is like a like the piston engine, so pretty much any fuel you burn it, okay? Because in the RQL, you have a primary fuel injection, you have dilution with the quenching, and then you have the secondary combustion happening. With this, you pretty much can burn any fuel. The question is, how efficient you burn the hydrogen?
How many unburned hydrogen are you going to produce with the design of a combustion chamber that, as you mentioned, has been optimized for many years to burn hydrogen, to burn kerosene? So would that be enough to satisfy regulations? Well, could be. You don't have CO2, you don't have particulates. you don't have many of the other compounds CO in your fuel. What about the NOx? The NOx will depend on the temperatures. If you reach high temperatures, then it's very likely that you will have troubles with the NOx. If you manage to mix well, then your NOx will be okay. But changes in the combustion chamber would
be required in order to have an optimal combustion system for hydrogen, but not also on the jet engine, but also on the aircraft. The tanks must have to be different, the delivery of the fuel as well to accommodate the pressure, to accommodate the fuel must be different as well. feels almost equivalent in the automotive sector when initially people just said, well, let's just pull out the engine and put batteries where the engine was, but everything the same. And I think almost everybody realized that that was not the optimum solution. And actually all the modern day electric vehicles are designed from the beginning.
and you see things like the batteries are on the bottom, you know, rather than in the front. you know, there's like different ways. And I can only imagine on an aircraft that ultimately you would want to design the system entirely based around that new fuel type. Exactly, is exactly the case. So in fact, how the aviation sector works is that they have the airplane and they make a call for having what is the most appropriate engine that can work, can go on that aircraft. in this case is the same. So if your engine operates with hydrogen, that cannot be a solution for all the aircraft. So in the end, an optimal aircraft will have a design of
the whole aircraft associated to accommodate the fuel and to accommodate the engine. And then, of course, you can plug in the appropriate engine and everything will be optimized. But yeah, it's exactly the same. as you mentioned, yes. And I feel like the past 40 years has essentially been that where it's like, we'll still just go for the tube and two wings because it kind of works and we don't want to rock the boat. And so it'd be interesting on the fuel type how much, you say, because planes operate globally. When that's what my question, when will they actually go, let's go for it and do the hydrogen. what needs to change commercially for that to be the switchover point.
Like electric vehicles, there was this like switchover point and now I think it's switching over, isn't it? Exactly, exactly. But I think this is exactly the situation, what we should not forget... is that the technology required to design a jet engine and to operate safely across a wide range of operating conditions, the fly envelope and all that, is extremely demanding. And also the certification process is also very long, very tedious, and then not all the products that seem to work can be finally commercialized because the safety requirements for these products are not like the car. So the car stops in the highway and then you just stop
and you call some help. But on the airplane, if you have problem on the fly, then in the sky, then you are in big trouble. So nobody is gonna come and help you. I think this is why even the, I mean, our contacts with the Aeroengine manufacturers, you can see that they are really pushing and they are really interested in developing the technology. However, the horizon for hydrogen is very, very unclear and it's not to sit on the same table because I'm a scientist. It is true that it's not clear what is going to be the price of hydrogen. And even if the price is acceptable, then the question is how much hydrogen? So an aircraft needs a lot of fuel. Only the takeoff needs,
I don't know, how many thousands of kilograms of fuel you need for takeoff. So, and it takes only a minutes. So then how this is going to happen? So many aircrafts are going to use hydrogen. You need a huge amount of hydrogen available at the airport in storage and infrastructure. So I think this cannot be rushed and this needs to be done carefully. And I think this is what is the status today. So technologies are being developed, but the infrastructure to operate this in a sustainable way, I think it still misses quite some years. So maybe turning on the point which I guess both of us work on, which is this dream of, you know, why does it
take 10 years for aerospace projects or longer? And one of the reasons or hypothesis that we have is that if we can increasingly use more accurate simulation tools, then we can help them to move faster because they frankly need to rely a little bit less on. experimental methods and they can potentially explore and do more what-if scenarios. So on that point, today, to the best of your understanding, let's maybe zoom into the CFD side of things a little bit more. If you're doing combustion of a conventional hydrocarbon jet engine or a hydrogen. Where would you, what would be the typical CFD approach and where
would you classify in terms of their trust of the method in terms of accuracy, in terms of correlation? Where do we stand today? How pleased are they? How far away are they away from methods that they can trust? Okay, this is a good point and in fact this is quite... a good feature for engineers that they like combustion systems and engines, but also other type of applications from fluid mechanics, not only these applications about aerodynamics or other other type of flows. For combustion, there is a lot of things going on on this
because The CFD part of the combustion system is very important today. But not only for one part of the whole product development. At the start, so combustion is, I would say, I don't want to give a percentage, but let me just be, it's very important, the injection system. The injection system is the start. So how you inject the fuel is one of the most important components of the engine. doesn't matter which or not even engine in any combustion system because you can only burn a fuel that is has already mixed with air with oxygen you don't need air you need oxygen you only need oxygen so how you can end up having a mixture of
fuel with oxygen so and that is maybe 80 90 percent because of the injector And of course, a part related to the geometry of the combustor. But it's mainly related to the injector. I'm thinking of supersonic combustion in which the geometry of the combustor has to facilitate because everything happens very fast. But for other type of applications, the injector is very, important. It's the most important thing, especially with liquid fuels. Because you have to atomize the fuel. You have to break the liquid. the liquid core and this breaks into ligaments. These ligaments are broken into smaller ligaments. Finally, they form droplets and these droplets finally evaporate.
You don't evaporate a whole liquid core. So in this process, for the injector, with additive manufacturing, is a revolution for the fill in combustion. So you can have very complicated designs of the injector thanks to the additive manufacturing. And then before you take them to the lab, you should do some CFD. Because if your CFD can show that you're not breaking the liquid film, and then you get a very long liquid sheet and it's not broken, what's the point to do an experiment? So you can save a lot of money by just having an initial stage. of CFD analysis of injection. Injection and then evaluating the spray
characteristics. Then after that you go to evaporation and then you go to combustion. Okay, so you can discriminate a lot of designs by a first filter based on CFD. And then after that, You can take this to the lab and then you can do the measurements, you can correlate, and then you can do this discrimination. For that, you can rely, and this is something that you have worked a lot, Anil, I know, on which technique do I use? Do I use RANs or do I use LES? Do I use DNS? DNS, definitely, we don't use it for design, but LES today is very competitive. I don't want to do some advertisement here, but our code, you
can solve today with supercomputers, with HPC, you can solve a problem of combustion or the fuel injection in 10 hours, 12 hours. I mean, you cannot get all the statistics, but you can actually get some LES in 24 hours that give you enough statistics for discrimination of designs. And then you can submit multiple jobs at the same time if you have your cluster. And then you can, you you leave the office like at five o'clock in like in the UK. Spain probably leave a little bit later. But then the day after at nine o'clock, you pretty much have 20, 25 designs already available for you to check the results. So for that is important. And then another core part of where
simulations are very important is when you do at high TRL designs of the engine which is for example one of the minor problems in combustion is pressure okay and maybe we can discuss that at some point later but when you go in pressure then the flame becomes very compact becomes very reactive very energetic and then it can be very difficult to simulate and it can be very difficult to model. So relying on brands is less, at this point is a little bit less reliable. So switching to Elias is what most of the,
well, most of the manufacturers are trying to shift nowadays. I'm saying shifting when they have already. done it but some of them, the smaller companies might not do LES today for that but the large companies they of course they do LES and this has gone to a point where some of the high pressure tests that you can do in the lab and they are extremely expensive because of the equipment, because of the room, because of the fuel you when you the pressure, the amount of kilograms per second that you have in your injector is very high, the fuel is not cheap, especially if you consider hydrogen, so doing tests at 5 bar or 10 bar
is extremely expensive in the orders of many thousands of euros per day of testing, so this can be partially substituted by doing high fidelity CFD. And many of the big companies nowadays, they have a strategy to discriminate and to not even do high pressure tests because they rely substantially on their CFD. Of course, at the end, the product reaches certain maturity, of course, you have to do the tests. But during the early stages, until you get to that point, then you can save a huge amount of time. by running these simulations. But these simulations are very special, so you need to be very careful about this. What are your numerics?
What are your models? And where do where is the what's the bit that affects the accuracy the most so if they're doing an ls of the injection system or the combustion What's the bit that would affect the accuracy? What's the gap between that and a dns? What are the bits that? You know are still lacking Hmm. Yeah, that's a very good point. And I think I'm a little bit biased to give you the answer because I'm more into alias, not that DNS. For me, DNS is more phenomenological. So you don't really need to have a DNS of an aircraft engine to extract the information that you want from these simulations.
because I think this is the key answer that I can give you. So it depends on what you want to get. So what is exactly what you want to learn? So in the aero engine sector, that this is what we have mainly focused the discussion. I think we can keep it like this. It's representative to most of the combustion applications and it brings some additional also challenges compared to other systems. So in the aero engine, everything I would say it's related to safety. You don't want to have flashbacks. You don't want the flame to propagate or to touch the wall and break anything. So stability is one of the priorities. But usually it's the balance between thermoacoustics.
You have the acoustic waves interacting with the heat release. This gets into a feedback loop that creates the thermoacoustic instability. that is one of the most dangerous phenomena that can happen in an engine. And that is what drives a little bit the early stages of the design and of course until the end. the thermoacoustic instability is something to be avoided and to be checked. And the complexity of this phenomena is the fact that it is highly dependent on the geometry. So if you simplify the geometry to do your test, because I mean... We always talk about challenges for CFD because we have many and people know that we have many and we always have to justify
us. But in the experiments it's the same. An aero engine is not flat. But when they measure with the laser, they need to put straight windows. So doing measurements in rounded domains is much more complex. You need two mirrors, you need some specific equipment. So they prefer to have the injector. They put the two windows, they are flat, you measure with the laser and then you get all the fancy stuff. So that configuration tells you almost nothing about thermoacoustics in the engine. So then you have to work with the whole geometry. And then the other aspect is of course the emissions. So you need to deal with the potential emissions, particulate formation.
You need to deal... CO2 is the consequence. If everything is perfect, you produce CO2, but you need to deal with CO, NOx... These are the main things in a pure fuel and then the particulates. So you need to account for all these things when you are designing the engine. And in terms of now the actual CFD running, what's the computational cost? it the solver, the chemistry, the load balancing, the IO, the like, what drives the, if you were to profile the code, what do you kind of see as the main bits? Cause I guess the chemistry and the species is the key difference between that and
some incompressible, you know, car flow. Yes, exactly. as you said, so in the end, if we go, if we forget about models, because at the end, the community, I mean, is not stupid. mean, in fact, we are smart. So we develop models for things that are complicated to resolve. So if we cannot resolve, we model, no? This is the... you the idea that we have. So if we forget about models and we think about our system, the number of unknowns and the conservation equations, at the end is the conventional fluid mechanics we solve for the continuity, the momentum and the energy equation like in the conventional fluid mechanics community, at least in the compressible.
But then we need to solve equations for the chemical species. So the... more complex the fuel, the more number of species is usually attached to this, because you need to describe all the possible chemical pathways that the individual molecules can have after the interactions with all these radicals. So that introduces certain cost. you solve, I don't know, for hydrogen with nine species, you can describe the chemistry. But for methane or for a hydrocarbon fuel, C1 with one carbon, the more carbons you have in the fuel, the more potential chemical pathways you are going to have and the more species is very
likely that you are going to need to describe this properly. And then... The number of species can go from 23, 25, 30, 40, 50, 60, 100. If the fuel is complex, like a kerosene or like a gasoline or a diesel or something like that, to describe this, you can have hundreds of species. So then the cost of solving the Navier-Stokes is completely irrelevant. So this costs nothing. Ah, but I'm not very efficient with my Navier-Stokes. Okay, no problem. You have 200 species. So Navier-Stokes is five equations more on 200. But usually, this is still not the source of the cost of the simulation. The cost of the simulation mainly comes from the computation
of the chemical source term. And I'm going to try to explain this. People can find this information anywhere because it's very well known and it's very well accepted that this is the challenge. So the problem is that the chemical source term, you have a chemical source term in each equation of the species. But this particular species, for example, if we think about hydrogen as a chemical species, H2 molecule can participate in many reactions. So it does not appear in two or three reactions. It can appear in maybe 10 or 20 reactions. So then the chemical source terms depend on the reaction rate that can have this chemical species when participates in all these 10 or
20 reactions. So it becomes extremely nonlinear. But the point is that when you want to calculate the chemical source term, this these chemical reactions depend on the temperature, but the temperature depends on the flow. So you cannot, a priori, you cannot separate the chemical source term from the transporting and the conservation equations because this chemical source term depends on the temperature and depends on the local composition. So if this source term goes a little bit higher, the concentration of that species go a little bit higher. so the chemical source time changes. So you need to solve everything at the same time. So in fact, you can decouple and this
is called a splitting method or splitting operators. There are approximations that can try to decouple things so you can solve things separated. But in the end, in practice, you need to solve them all together. So you need to iterate in your source term in order. to have the correct chemical substance that is consistent with your thermochemical state. And then the problem is associated to the time scales because there are species that move very slow, like CO2 progresses very slow through the evolution of the chemical reactions, but also you have... radicals that they are produced very rapidly and consumed very rapidly.
If you don't capture the production and consumption, you are not able to predict certain phenomena that could be very important for your combustor. For example, ignition or extinction or this kind of transient events that can dominate what happens in your combustor. So because of that, dealing with the disparity of the time scales, dealing with multiple species and dealing with the treatment of the chemical source term is what has mainly concentrated all the turbulent combustor modeling historically, basically. And am I right, before we get into the topic of GPUs, wall modeling is not such a first order effect, right?
Would that be fair to say? Like, I know you don't want the flame to touch the walls. I know the walls have an impact from a sort of acoustics, et cetera, but. Is sort of wall modeled LES a more acceptable thing? Can you be using like wall functions or how much does resolving the boundary layers and the wall, how important is that? Okay, this is a very good point because I'm facing this problem at the moment. In general, it depends again to exactly what you want. If you want to understand if the flame is stable or not, then if you have a very compact flame in the middle
and your combustor is very big, Having the best wall model that reproduces all the effects on these side walls is not that relevant if you are interested in understanding if the flame is stable or not. But you need to resolve the boundary layer in case that you are considering the possibility of flashback. If the flame is lifted, at the end, all the injection ports and everything that you have upstream, the combustion chamber, can be considered. This is how I always look at it as in boundary condition. So it's not that you need to resolve the flow, you just need to provide the right boundary condition to the part of your
computational domain that is interesting for you. However, if you are interested on the exhaust, for example, that because what is at the, we still think of the jet engine. So if at the exit of your combustor, you have the turbine, You need the distribution of temperature and velocity that is representative to the stage of the exit of the combustor. So you need to have a good characterization of the flow that goes downstream. So in combustion in general, people like me are not so much interested what happens downstream the flame. So in that case, The experiments only measure at the flame front. If we want to be predictive at capturing the dynamics of the
flame, we need to worry mainly about this part. The walls can have an effect on the flame. Of course, can have. If you are not resolving well the boundary layers, then of course you are going to affect the circulation zones. So you need to have just a balance of how much effort you want or resources you want to put or points you want put. on each part. However, for other applications in aerospace, in which you have a supersonic combustor, for example, and then you have shock waves interacting with walls on those conditions, then of course, solving the bounded layers is critically important. Otherwise, the dynamics of the flow
will not be predicted well. So it actually depends on the kind of application that you are thinking of. Okay, so with everything you just said about the complexities, know, in the, in other parts of the CFD world, GPUs have been a pretty viable way of accelerating simulations. And I always, I always prefer to talk about any HPC events, whether it's CPUs or GPUs, is more that people can do more complex problems rather than just, know, because I think most practitioners, yes, it's nice that they can make their simulation faster, but then the next thing they do is they go, right, now, how do I go to the next step?
That, I think, has been largely proven to be viable. for other things. But what about in combustion? think when we've spoken, you've highlighted that there's additional challenges. So my first question would be, is moving to GPUs a kind of straightforward acceleration? And how much does the hardware, in this case, let's say GPUs, make you reconsider the choice of the algorithm and the solver from the ground up? Yes, that's a very cool question because in my department and in my group we are dedicating a lot of effort to this particular problem and I can tell you a little bit what is my
view on this. So indeed, you do things when they are necessary, especially you have been working with your code in a company or in a research lab like us. So you have developed your code for 20 years. Your code is very good. You can do many things. You only want to improve models, Because you have already prepared your code to accommodate all the functionalities that you need, all the data structures in order to make it efficient. So that is fine. So the last thing that you would like to do is to refactor the code from scratch to reproduce the same things that you are reproducing. So when that matters, well, In my opinion, it does matter when you see that what I
run with my code in 1000 cores, I can run it with one GPU or 500 cores, I can run with one GPU. And then the simulation that takes me one day, I can do it in three hours in one GPU. So those numbers are very intriguing. So then... you start becoming a little bit alert about this, so cautious. So, okay, this is a game changer for us. So then you talk to industry, they say, no, no, I'm happy with my code. I I invested five, 10 years ago on my cluster. I mean, I'm still taking use of it. I have spent, I don't know, 50 years of CFD development in my code. So GPU is not a problem to me. So this is...
2016, 2018, 2020. 2026 is like GPUs are very powerful. You start seeing combustion codes running on GPUs saying goodbye to the CPU codes, going Mac two across CPU codes. So now everyone is understanding that this is a necessity. Also, from the whole infrastructure point of view, if you need to buy a workstation or a cluster, then the electricity bill always goes up. I don't know why, but this is something for another discussion. You will never pay less for your electricity bill in the future
than what you pay now. It's always increasing. So you can save some money by just running on GPUs. because they are more energy efficient. So now this is where we are. So I think this mindset is now changing. And now I think the combustion community is starting to see or has started already a few years ago. And now you see quite a lot of codes that are on combustion running on GPUs. And when you look at those codes, you should really, you should trade. take this with a lot of respect, whether you like it or not, the numerics or what they do, because the complexity is very
high. I see a lot of codes for Navistokes that can run on GPUs. They are very fast. But when you want to add thermodynamics or thermochemistry in the GPU, the dependency of specific enthalpies, properties that depend on composition, and all that stuff that is usually done with libraries, then you don't need to adapt your, you know, your gradient, you compute the divergence or the, I don't know, the advection operator, the diffusion operator is not only that, that is, I would say easy, you know, nowadays, especially with the AI tools that help you with the loops and the pragmas for GPUs. The problem is that your code relies
on certain libraries for computing things, chemistry, properties, et cetera, that you need to port those. And those are usually old or usually are black box for some users. So you need to open this black box and you need to work directly with that. And that introduces delays and that also introduces complexity and reduction of performance because you can say, no, this is very difficult. I will do this in the CPU. And the rest I will do in the GPU, but then you copy things across and then you pay the price. So this is something that we initially explored in one of the projects that I was coordinating that ended in 2023.
It was the European Center of Excellence in Combustion. And then in this project, we had a list of European partners that they developed CFD codes. for combustion and this was one of the central topics of the discussion. How we can develop functionalities in GPUs for our codes, how we can run hybrid CPU GPUs executions, mainly because we cannot pour the whole code. Maybe we can pour the chemistry to the GPU. If the chemistry is 70 % of my total cost of the time step, if I accelerate the chemistry, I will accelerate my code substantially. You do things part by part, but then you realize that doing things part by part is very hard. Your code is very large.
You need to refactor many things. So many people say, okay, stop refactoring. Let's a code from scratch. Native for GPU, the data structures are ready. Everything will be designed. And then... This is really for me one of the discussions that we are having. We have libraries for adaptive refinement, for chemistry that are already available for GPU. Why don't we take them and we build a main of our code with these libraries and then we only need to do the PDEs. The PDEs at the end, this is what we do. I mean, what we all have done. So. But the point I was trying to make is today with coding agents, you know, from Mistral, OpenAI, or Anthropic, you can write codes,
right? That's... Now you can, you know, I think that whole excuse of, it's hard for me to write the code or go to rewrite it. I think actually these, this AI agents are pretty good at writing codes, right? Do you think that is actually now making this job a little bit more easier? Yes, that is exactly my point. you have to reconsider to write the code because now you have a lot of help. Before there was no help. So you could do some scripts that substitute bloops. But now I think you can really do a lot of things. What happens is again, this is why combustion again is
special because To get a combustion code working takes time and people in academia mainly, yeah, they are rushing sometimes. Yes, so you take a code that works, it gives me closer to the paper. But maybe for the long run, investing on developing your own codes, maybe at low speed, it can give you an advantage in the future. If you are able to manage well with these agents and all these AI tools that are extremely helpful for this, you just need to have very clear what you want. The problem is that people don't have clear what they want. So when they enter and interacting with this, then they get very lost because, but if you know
how your code should look like, because you did it in the past for CPUs and you know, what works and what doesn't work, I mean, I don't see that it will take that long. And yeah, I think this is something that we will see more and more nowadays. I've seen in these journals that they give you also like the GitLab for their computational models. You can see that there are... more and more CFD codes that are just created nowadays. And I think it's because of this. You can really create things faster. The problem of combustion is again that you need a lot
of dependency and you need a lot of thermodynamics. So CP is not constant. And then gamma is not constant. Then this is... I mean, people working in combustion will understand very well what I mean, because making all those quantities temperature-dependent, composition-dependent creates a lot of dependencies in the code. But I think this should not stop people developing their codes and learning from this, because you really learn a lot of things. Maybe you don't get your paper that fast, but maybe you can get more papers in the future. Yeah, so maybe a final question for you, which is more of a slightly forward looking question a little bit, but also now is
AI. So we just talked about agents. So leaving that aside, maybe in the aerospace and automotive world, when it comes to external aerodynamic surrogate models have become, you know, a really hot topic. And, and there's been you know, I would say reasonably good proof that they are getting much closer now to being a sort of technology readiness level to give a legitimate tool for people to use within the design process, not a replacement to, you know, traditional sort of PDE solvers, but certainly something, you know, that can help, particularly as a designer, you say, know, it's shifting through. Where do you see that, you know,
sort of surrogate modeling technology in the combustion? If that's something that is being tested, embraced, rejected, where's your community seeing those approaches? Yes, I would say it has been quite a big acceleration of the development of these of surrogate models for combustion systems. I think over the last, I mean it started many years ago, but it has been especially growing over the last five to six years. So I think they are going to have a play, they are going to have a role. However, what I see a bit less is how these tools are
currently integrated into the design. there has been, what I see is that there is a lot of research on this, which has, which I see is ending at the research level and not being taken yet by the industry. So I think this is more or less this threshold situation that I see, there will be a moment, and I think this happens in all areas of the technology. So you accumulate knowledge and confidence in something, and then suddenly you start integrating things. You don't integrate things that are very new, and people are a bit skeptical about them, especially companies that, you know, if everything works, I don't touch it, no?
I think this is more or less... What I see, most of the companies have their thinking, of course, they think for future, but if something is working, you can do research, you can be ready to change it, but don't change it yet. And I believe that over the next years, we will start seeing this because the companies have started integrating these digital workflows more into their systems. they initially relied on control systems or design systems, very guided by specific companies that they develop a specific software. And now... this has opened up substantially with the AI tools. And now you don't really need to buy a specific software to
do an optimization. You can do that with AI in a Python Jupyter Notebook nowadays, connected to a cluster that has some execution. So it's a matter of time. I've been, in fact, just to be very precise, mean, I've been in a conference back in Italy, European, Italian, and Spanish sections, and there were some companies that participated in this discussion, and this question was answered. very, I mean, there were some companies that were saying, yes, we recognize that these tools are available. We are at the process of integrating them or thinking about how to integrate in them. they were companies were saying, no.
I don't see the value. I could also see something which is also related to generations. I think the new generations are accepting this digitalization and integrating the digitalization as part of their basis in the... I don't know, in their life, in their normal life, but also in the work environment. So in the past, doing something with computers, they call you informatics. And I don't know anything about informatics. No, no, no, I switch on the computer and I click the button. And that is a mindset that... it is changing dramatically nowadays because everyone is has in the phone,
ChatGPT or whatever of these things. And now, you know, they are going to start relying more in these things as soon as they become, they can see them more available in other aspects of their life. And one of the things, in my opinion, that could be limiting is that when you pay for something, you have a guarantee that something is working. And this is something that we don't have the maturity today. In, I said this, it will give me trouble if somebody reads this, in CFD codes, in academic CFD codes, we're working extremely hard on this. All people like us, like me and the people I
work with developing codes, we... put so much effort on this aspect and until we reach certain maturity that people paying a license for another commercial software might think their software is more reliable than us. So I think in terms of digitalization, let me call it that way, people still think that they're paying a license, they give you more efficient and... more reliable tools for their design activities or their engineering activities. But they will realize in few years, they're not. This is not the case because you can build your own models, you can build your own tests, and it's not that difficult because you have all the surroundings around.
Research centers, you have AI tools, everything is open source. It's an open source environment. But it's also, I can understand that it's also overwhelming for some people to get into this because it's endless. Cool, thanks Danny. Really appreciate taking the time to chat. I learned a lot actually all about the hydrogen and the aircraft industry and combustion. yeah, look forward to catching up in person soon. Thank you, Anil. Thank you. It was my pleasure.