Materials

Heterogeneities, tyranny of scales, and curse of dimensionality

In most complex physical systems (and to some extent others like financial markets), competing non-linear forces lead to instabilities and organized large scale structures. The overall dynamics are controlled by the large scale structures to a great extent but those large structures cannot be accessed directly as they are the result of the small scale interactions.  In CFD (Computational Fluid Dynamics), we are stuck in the pursuit of conducting even higher resolving simulations to get to the ground truth by modeling all those small scale interactions that lead to the emergent large scale structures. We are creative in coming up with subgrid models to reduce the computational load to resolve absolutely what we have to and have correlations for the unresolved scales. There are other heuristics that we apply to things like turbulence and drag closures, etc. to make the problems computationally tractable.  I have been introduced to Machine Learning by Badri Asokan in 2007 and the objective then was to find low dimensional manifolds, segment them into linear spaces, and map PODs (Proper Orthogonal Decomposition – a derivative of PCA) onto those linear spaces with the objective of developing reduced order models. We made some progress on a toy problem (spouted bed) but the proposal to generalize and further this idea was unfortunately not funded and we never got to develop this further. On the other end of the spectrum, I worked with Stuart Daw and Jack Halow to work on an agent based model in 2003 to simulate bubbling fluidized beds with bubbles with simple interaction rules. As I shared recently, these models run in real time and can predict emerging behavior such as slugging quite well but are limited in their own ways. Any extensions that I tried to do to make them more attuned to data failed.  Having a taste of methods to unravel low dimensional manifolds and also realizing that most systems we are trying to model lie in much lower dimensions than than the millions or now billions of degrees we bring in through CFD, I presented concepts at various venues on how we can use AI/ML to break these vicious dependencies between heterogeneities, tyranny of scales, and curse of ever increasing mesh sizes. Now it is more imperative to revisit as the LLM boom brought us into our laps the neural networks based learning algorithms that give access to low dimensional latent spaces and possibly transfer learning from similar phenomena, hardware co-designed with software for deep learning on large datasets, and plethora of software and data analysis tools available to explore all aspects of heterogeneous structures in complex systems. Presenting a concept without actual data or a proof-of-concept doesn’t catch the attention as I was hoping someone smarter than me will pick it up and pursue those concepts. Traditional CFD codes (including the many I have developed or contributed) are not flexible to try out new concepts and I never could do this on my own till recently without significant investment of my time.  With the advent of LLM tools, it has become easier to try out new ideas and also create a proof-of-concept that one can interact with live to understand and later utilize this understanding to advance methods to model systems with a computational dimensionality that matches the underlying physical dimensionality.  Modeling risers in fluid catalytic crackers (FCCs) turned out to be one of the most difficult problems of great practical relevance emblematic of the topic of this post. Particles in the riser collide and dissipate to form clusters and these clusters with reduced drag drop down to create interesting phenomena like core annulus, create back mixing, high solids concentration at the bottom of the riser, and control the solids holdup and gas-solids contacting. We made tremendous progress on this front with the filtered-drag and EMMS models. One thing I wanted to explore was to reconstruct the large scale structures and use that to modify the drag as based on my experience with modeling a square cross-section circulating fluidized bed (particularly in 2D), the drag reduction from clustering is key to the solids fraction profile along the axis. The interactive website (https://ekta.net/LI/Riser-DHRDM.html) will introduce Dynamic Heterogeneity-Resolving Drag Model (DHRDM) – a dynamic way to detect clusters based on some heuristics that you can play with and that will affect the solids holdup and distribution along the axis. This is a grossly simplified version to play around and develop intuition. There is a lot more work to be done in terms of automating all this by training AI on large datasets where one can identify these structures based on local parameters and use more sophisticated corrections for drag based on the cluster shape. It is exciting that the modern AI tools help us to play around with our ideas – from start to finish, I must have spent around 5-6 hours and most of that time is to get the plots right.

Heterogeneities, tyranny of scales, and curse of dimensionality Read More »

Dawn of a golden era for computational science!

For those of you who are not familiar with computational science – it is the discipline at the intersection of domain science, computer science, applied mathematics, and engineering. In a nutshell, it is the link between everything you touch and feel (natural and human-made) and rapidly growing computing. The most challenging science and technology problems whether related to life sciences or physical sciences fall into the grand challenge category in the simple 2×2 classification of AI Application Landscape Heatmap below and posted on LinkedIn. These problems are hard and yet to be solved as the problem dimensionality (one can think of number of parameters to explore all the solution space) is extremely high and in turn would need a lot of experimentation and data. AI, machine learning, and good statistical science can help in reducing experiments, but they cannot create more information than what is contained in the data. This is where computational science plays an important role in bridging domain science knowledge with AI/ML tools. If you think of an equation, theory, or laws (E = mc2; Newton’s laws of motion or theory of general relativity; laws of thermodynamics), they are the compact representations of our knowledge of the universe and underlying processes. Blackbox models like AI/ML or many statistical tools throw away all this knowledge and relearn all the basic interactions as they are trained on available data. This is where for these grand challenge problems it is important to incorporate all available knowledge into efficient processes where only new things are learnt and thus reducing the dimensionality of the grand challenge problems. This in turn would make solutions to these problems more accessible to AI and ML. If we look past all the debate of the value of the AI investments or whether AI will become sentient and reach human intelligence or superintelligence, what is fundamentally happening is enormous investments in computing hardware with unprecedented explosion of computing power. The hardware (computing, memory bandwidth, storage, wired and wireless networking) is getting exponentially cheaper by the day and more power efficient. This is leading to ubiquitous computing where we have powerful computing devices in our hand (a supercomputer not so long ago) and connected to the backend mega servers at lower costs than ever before. This trend is only going to continue as mentioned in the recent AMD’s Advancing AI Event (https://youtu.be/zCOqJx3Yst4?si=X_pPgYr3WGJVKnMY); the expected investments in AI are going to cross $500B by 2030 and currently the market is projected to have an incredible CAGR of 80%. If I translate that to increase in computational power, that is greater than 80% rate as computing is getting lot cheaper by the day. This means that this is the 2007 internet moment for computational science. The hardware is coming, and the question is how can we leverage decades of efforts in computational science in building the knowledge, the tools, the algorithms, the connections between computing and real world, and leverage advances in AI/ML and the associated ecosystem to rapidly create ecosystems to create value to the society via both natural and physical sciences. This will span innovations in health sciences, energy, materials, weather and climate, sustainability, defense, and in short across all sectors. This also means that computational thinking is an important skill for the modern workforce – the ability to translate problems and processes into streamlined instructions to the ever-increasing computing that is going to be all around us. As I have posted recently, AI is already enabling rapid multiplication of effort of well thought out constructs by removing the drudgery of lot of copy and paste coding and debugging and also synthesizing information across the disciplines as the natural world does not have the silos of the traditional academic disciplines. The folks who can see this future and adapt will be on the right side of the disruption and the others will be left behind.

Dawn of a golden era for computational science! Read More »

Happy Father’s Day 2025

Happy Father’s Day! Especially to the scientists who are not getting much love these days and enduring a lot of uncertainty. I spent my time watching Cosmic Dawn by NASA (https://youtu.be/uSMGENDH_QI?si=1SVttqIqxP6oat50) with my kids – the fabulous story about James Webb Space Telescope (JWST). We don’t do enough in science to publicize successes.  JWST is a true testament to human intelligence and ingenuity, international cooperation across 14 countries, amazing perseverance and grit to pack the most complex telescope and sun shield into the cargo of a rocket and moving it into a orbit a million miles with a tolerance of few feet where it is unpacked remotely Origami style.  This is a story of 3 decades of relentless human pursuit starting from 1996. This project overcame 344 single point failures that were identified with only one chance. Just think about that probability and the rigor that went into something like this mission. It survived many black and gray swan events like Hurricane Harvey, COVID, many administrations and government changes across the world. Absolutely no room for error as it had to survive the brutal vibrations of the launch. Once deployed, the Origami of the unfolding of the telescope and sun shield a million miles away had to be perfect. The telescope itself is a human marvel but the more complex and underreported achievement is the sun shield with 1 mil membrane thickness that unfolds to tennis court size shield; five layers of those with precise separation to provide the thermal resistance to keep the telescope cold enough and protected from the sun. The data coming in is already remarkable that is changing our understanding of the universe: a) The universe is possibly older than 13.7 billion years  b) The data seems to contradict the Standard Model and current dark energy conceptualization  c) Getting us a glimpse of the formation of galaxies and getting us closer to the Big Bang  The benefits to humanity are much more than the insights into the origins of the universe and our own existence. The process led to 100s of innovations in materials, robotics and controls, most rigorous FMEA for extremely critical missions, and the most important human resource development. The new knowledge derived can create things in the future that we can’t imagine but the value of the output of the kids inspired is as boundless as the universe itself. We are reaping the benefits of the science and technology derived from the space explorers of the past pushing us in Star Wars parlance of going where no one has gone before – in this case through the eyes of JWST.

Happy Father’s Day 2025 Read More »