Sandeep Pandey
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Sandeep Pandey has a total of 14 co-authors. Here are the top co-authors by number of shared publications:
- Xu Chu
University of Exeter
11 shared publications Eckart Laurien
6 shared publicationsBernhard Weigand
Institute of Aerospace Thermodynamics, Universität Stuttgart, Pfaffenwaldring 31, D-70569 Stuttgart, Germany
5 shared publications- Eckart Laurien
Technische Universität Braunschweig
4 shared publications Anes Fatima Binte Shaik Fareed
1 shared publicationClaus-Dieter Munz
University of Stuttgart
1 shared publication
Latest Publications
- Top Cited Papers
- 1 March 2025
- Published by AIP Publishing in Physics of Fluids
- Vol. 37 (3)
OpenFOAMGPT: A retrieval-augmented large language model (LLM) agent for OpenFOAM-based computational fluid dynamics
This work presents a large language model (LLM)-based agent OpenFOAMGPT tailored for OpenFOAM-centric computational fluid dynamics (CFD) simulations, leveraging two foundation models from OpenAI: the GPT-4o (GPT means Generative Pre-trained Transformer) and a chain-of-thought–enabled o1 preview model. Both agents demonstrate success across multiple tasks. While the price of token with o1 model is six times as that of GPT-4o, it consistently exhibits superior performance in handling complex tasks, from zero-shot/few-shot case setup to boundary condition modifications, zero-shot turbulence model adjustments, and zero-shot code translation. Through an iterative correction loop, the agent efficiently addressed single-phase and multiphase flow, heat transfer, Reynolds-averaged Navier–Stokes modeling, large eddy simulation, and other engineering scenarios, often converging in a limited number of iterations at low token costs. To embed domain-specific knowledge, we employed a retrieval-augmented generation pipeline, demonstrating how preexisting simulation setups can further specialize the agent for subdomains such as energy and aerospace. Despite the great performance of the agent, human oversight remains crucial for ensuring accuracy and adapting to shifting contexts. Fluctuations in model performance over time suggest the need for monitoring in mission-critical applications. Although our demonstrations focus on OpenFOAM, the adaptable nature of this framework opens the door to developing LLM-driven agents into a wide range of solvers and codes. By streamlining CFD simulations, this approach has the potential to accelerate both fundamental research and industrial engineering advancements.
- 1 March 2025
- Published by AIP Publishing in Physics of Fluids
- Vol. 37 (3)
Top Cited PapersOpenFOAMGPT: A retrieval-augmented large language model (LLM) agent for OpenFOAM-based computational fluid dynamics
This work presents a large language model (LLM)-based agent OpenFOAMGPT tailored for OpenFOAM-centric computational fluid dynamics (CFD) simulations, leveraging two foundation models from OpenAI: the GPT-4o (GPT means Generative Pre-trained Transformer) and a chain-of-thought–enabled o1 preview model. Both agents demonstrate success across multiple tasks. While the price of token with o1 model is six times as that of GPT-4o, it consistently exhibits superior performance in handling complex tasks, from zero-shot/few-shot case setup to boundary condition modifications, zero-shot turbulence model adjustments, and zero-shot code translation. Through an iterative correction loop, the agent efficiently addressed single-phase and multiphase flow, heat transfer, Reynolds-averaged Navier–Stokes modeling, large eddy simulation, and other engineering scenarios, often converging in a limited number of iterations at low token costs. To embed domain-specific knowledge, we employed a retrieval-augmented generation pipeline, demonstrating how preexisting simulation setups can further specialize the agent for subdomains such as energy and aerospace. Despite the great performance of the agent, human oversight remains crucial for ensuring accuracy and adapting to shifting contexts. Fluctuations in model performance over time suggest the need for monitoring in mission-critical applications. Although our demonstrations focus on OpenFOAM, the adaptable nature of this framework opens the door to developing LLM-driven agents into a wide range of solvers and codes. By streamlining CFD simulations, this approach has the potential to accelerate both fundamental research and industrial engineering advancements.
- Open Access
- 1 February 2024
- Published by AIP Publishing in Physics of Fluids
- Vol. 36 (2)
Non-intrusive, transferable model for coupled turbulent channel-porous media flow based upon neural networks
Turbulent flow over permeable interfaces is omnipresent featuring complex flow topology. In this work, a data-driven, end-to-end machine learning model has been developed to model the turbulent flow in porous media. For the same, we have derived a non-linear reduced order model (ROM) with a deep convolution autoencoder. This model can reduce highly resolved spatial dimensions, which is a prerequisite for direct numerical simulation, by 99%. A downstream recurrent neural network has been trained to capture the temporal trend of reduced modes; thus, it is able to provide future evolution of modes. We further evaluate the trained model's capability on a newer dataset with a different porosity. In such cases, fine-tuning could reduce the efforts (up to two-order of magnitude) to train a model with limited dataset (10%) and knowledge and still show a good agreement on the mean velocity profile. Especially, the fine-tuned model shows a better agreement in the porous domain than the channel and interface areas indicating the topological feature is less challenging for training than the multi-scale nature of the turbulent flows. Leveraging the current model, we find that even quick fine-tuning achieves an impressive order-of-magnitude reduction in training time by approximately O(102) and still results in effective flow predictions. This promising discovery encourages the fast development of a substantial amount of data-driven models tailored for various types of porous media. The diminished training time substantially lowers the computational cost when dealing with changing porous topologies, making it feasible to systematically explore interface engineering with different types of porous media.
- 1 February 2024
- Published by AIP Publishing in Physics of Fluids
- Vol. 36 (2)
Open AccessNon-intrusive, transferable model for coupled turbulent channel-porous media flow based upon neural networks
Turbulent flow over permeable interfaces is omnipresent featuring complex flow topology. In this work, a data-driven, end-to-end machine learning model has been developed to model the turbulent flow in porous media. For the same, we have derived a non-linear reduced order model (ROM) with a deep convolution autoencoder. This model can reduce highly resolved spatial dimensions, which is a prerequisite for direct numerical simulation, by 99%. A downstream recurrent neural network has been trained to capture the temporal trend of reduced modes; thus, it is able to provide future evolution of modes. We further evaluate the trained model's capability on a newer dataset with a different porosity. In such cases, fine-tuning could reduce the efforts (up to two-order of magnitude) to train a model with limited dataset (10%) and knowledge and still show a good agreement on the mean velocity profile. Especially, the fine-tuned model shows a better agreement in the porous domain than the channel and interface areas indicating the topological feature is less challenging for training than the multi-scale nature of the turbulent flows. Leveraging the current model, we find that even quick fine-tuning achieves an impressive order-of-magnitude reduction in training time by approximately O(102) and still results in effective flow predictions. This promising discovery encourages the fast development of a substantial amount of data-driven models tailored for various types of porous media. The diminished training time substantially lowers the computational cost when dealing with changing porous topologies, making it feasible to systematically explore interface engineering with different types of porous media.
- 1 February 2021
- Published by Elsevier in International Journal of Heat and Mass Transfer
- Vol. 165
Effects of variable heat flux at supercritical pressure in vertical pipe flow
- 1 February 2021
- Published by Elsevier in International Journal of Heat and Mass Transfer
- Vol. 165
Effects of variable heat flux at supercritical pressure in vertical pipe flow
- 19 November 2020
- Published by American Physical Society (APS) in Physical Review Fluids
- Vol. 5 (11) , 113506
Reservoir computing model of two-dimensional turbulent convection
Reservoir computing is an efficient implementation of a recurrent neural network that can describe the evolution of a dynamical system by supervised machine learning without solving the underlying mathematical equations. In this work, reservoir computing is applied to model the large-scale evolution and the resulting low-order turbulence statistics of a two-dimensional turbulent Rayleigh-Bénard convection flow at a Rayleigh number and a Prandtl number in an extended spatial domain with an aspect ratio of 6. Our data-driven approach, which is based on a long-term direct numerical simulation of the convection flow, comprises a two-step procedure: (1) reduction of the original simulation data by a proper orthogonal decomposition (POD) snapshot analysis and subsequent truncation to the first 150 POD modes which are associated with the largest total energy amplitudes; (2) setup and optimization of a reservoir computing model to describe the dynamical evolution of these 150 degrees of freedom and thus the large-scale evolution of the convection flow. The quality of the prediction of the reservoir computing model is comprehensively tested by a direct comparison of the results of the original direct numerical simulations and the fields that are reconstructed by means of the POD modes. We find a good agreement of the vertical profiles of mean temperature, mean convective heat flux, and root-mean-square temperature fluctuations. In addition, we discuss temperature variance spectra and joint probability density functions of the turbulent vertical velocity component and temperature fluctuation, the latter of which is essential for the turbulent heat transport across the layer. At the core of the model is the reservoir, a very large sparse random network characterized by the spectral radius of the corresponding adjacency matrix and a few further hyperparameters which are varied to investigate the quality of the prediction. Our work demonstrates that the reservoir computing model is capable of modeling the large-scale structure and low-order statistics of turbulent convection, which can open new avenues for modeling mesoscale convection processes in larger circulation models.- 19 November 2020
- Published by American Physical Society (APS) in Physical Review Fluids
- Vol. 5 (11) , 113506
Reservoir computing model of two-dimensional turbulent convection
Reservoir computing is an efficient implementation of a recurrent neural network that can describe the evolution of a dynamical system by supervised machine learning without solving the underlying mathematical equations. In this work, reservoir computing is applied to model the large-scale evolution and the resulting low-order turbulence statistics of a two-dimensional turbulent Rayleigh-Bénard convection flow at a Rayleigh number and a Prandtl number in an extended spatial domain with an aspect ratio of 6. Our data-driven approach, which is based on a long-term direct numerical simulation of the convection flow, comprises a two-step procedure: (1) reduction of the original simulation data by a proper orthogonal decomposition (POD) snapshot analysis and subsequent truncation to the first 150 POD modes which are associated with the largest total energy amplitudes; (2) setup and optimization of a reservoir computing model to describe the dynamical evolution of these 150 degrees of freedom and thus the large-scale evolution of the convection flow. The quality of the prediction of the reservoir computing model is comprehensively tested by a direct comparison of the results of the original direct numerical simulations and the fields that are reconstructed by means of the POD modes. We find a good agreement of the vertical profiles of mean temperature, mean convective heat flux, and root-mean-square temperature fluctuations. In addition, we discuss temperature variance spectra and joint probability density functions of the turbulent vertical velocity component and temperature fluctuation, the latter of which is essential for the turbulent heat transport across the layer. At the core of the model is the reservoir, a very large sparse random network characterized by the spectral radius of the corresponding adjacency matrix and a few further hyperparameters which are varied to investigate the quality of the prediction. Our work demonstrates that the reservoir computing model is capable of modeling the large-scale structure and low-order statistics of turbulent convection, which can open new avenues for modeling mesoscale convection processes in larger circulation models.- 12 October 2020
- Published by American Physical Society (APS) in Physical Review Fluids
- Vol. 5 (10) , 104604
Relaminarized and recovered turbulence under nonuniform body forces
Turbulence in a wall-bounded flow of supercritical fluid can be significantly modulated by nonuniform body forces. This study presents direct numerical simulations performed with a nonuniform streamwise body force varying in the wall-normal direction in a fully developed channel flow. A quasilaminar state and reorganized turbulence were obtained by changing the amplitude of the nonuniform body force which distorts the parabolic mean velocity profile and thus alters the turbulence production due to mean shear. Weak production of the flattened mean velocity profile leads to a relaminarization. In the quasilaminar state, all components of the Reynolds stress tensor are fairly weak except the streamwise fluctuations distant from the wall, which indicates the collapse of the near-wall turbulence self-sustaining cycle. The remaining streamwise fluctuations away from the wall exhibit elongated streaks, which is shown by premultiplied spectra. In the recovered turbulence regime, the Reynolds shear stress has a negative range in the bulk connected with a positive range near the wall. This corresponds to the nonmonotonic shear stress resulting from an M-shaped velocity profile. In a subsequent quadrant analysis of the Reynolds shear stress, the sweep and ejection events are found to dominate near the wall only while inward and outward motions are significant in the bulk. Both kinds of high-speed events can be attributed to the velocity maxima of the M-shaped mean velocity profile and are found to penetrate towards the wall and the channel center. Interestingly, the flow topology shows the typical teardrop shape once turbulence recovered. Our study contributes to the understanding of flow relaminarization in mixed convection and assists in developing further flow control techniques.- 12 October 2020
- Published by American Physical Society (APS) in Physical Review Fluids
- Vol. 5 (10) , 104604
Relaminarized and recovered turbulence under nonuniform body forces
Turbulence in a wall-bounded flow of supercritical fluid can be significantly modulated by nonuniform body forces. This study presents direct numerical simulations performed with a nonuniform streamwise body force varying in the wall-normal direction in a fully developed channel flow. A quasilaminar state and reorganized turbulence were obtained by changing the amplitude of the nonuniform body force which distorts the parabolic mean velocity profile and thus alters the turbulence production due to mean shear. Weak production of the flattened mean velocity profile leads to a relaminarization. In the quasilaminar state, all components of the Reynolds stress tensor are fairly weak except the streamwise fluctuations distant from the wall, which indicates the collapse of the near-wall turbulence self-sustaining cycle. The remaining streamwise fluctuations away from the wall exhibit elongated streaks, which is shown by premultiplied spectra. In the recovered turbulence regime, the Reynolds shear stress has a negative range in the bulk connected with a positive range near the wall. This corresponds to the nonmonotonic shear stress resulting from an M-shaped velocity profile. In a subsequent quadrant analysis of the Reynolds shear stress, the sweep and ejection events are found to dominate near the wall only while inward and outward motions are significant in the bulk. Both kinds of high-speed events can be attributed to the velocity maxima of the M-shaped mean velocity profile and are found to penetrate towards the wall and the channel center. Interestingly, the flow topology shows the typical teardrop shape once turbulence recovered. Our study contributes to the understanding of flow relaminarization in mixed convection and assists in developing further flow control techniques.- 1 April 2019
- Published by Elsevier in International Journal of Heat and Mass Transfer
- Vol. 133, 11-20
Direct numerical simulation of convective heat transfer in porous media
- 1 April 2019
- Published by Elsevier in International Journal of Heat and Mass Transfer
- Vol. 133, 11-20
Direct numerical simulation of convective heat transfer in porous media
- 1 June 2018
- Published by AIP Publishing in Physics of Fluids
- Vol. 30 (6) , 065105
Buoyancy induced turbulence modulation in pipe flow at supercritical pressure under cooling conditions
A numerical investigation of cooling of a fluid at supercritical pressure has been performed by means of direct numerical simulations. The simulations were conducted with a uniform heat flux imposed at the wall at an inlet bulk Reynolds number of 5400. The aim of this work is to understand the role of buoyancy in modulating the turbulence in a flow where properties are spatially varying. Heat transfer deterioration followed by recovery is observed in the downward flow while enhancement occurs in the upward flow as compared to forced convection. The decomposition of the skin friction factor and the Nusselt number was performed. The major effects on the skin friction factor were brought by the non-uniform body force due to the gravity. The turbulent parts equally influence the Nusselt number as well as the skin friction factor in supercritical flows. Quadrant analysis and its weighted joint probability density function were analyzed to understand the role of sweep (Q4) and ejection (Q2) events. During the heat transfer deterioration, sweep and ejection events are decreased greatly, triggering the reduction in turbulence. The recovery in turbulence is brought by the Q1 and Q3 (also known as outward and inward interaction) events, contrary to the conventional belief about turbulence generation. The turbulence anisotropy of the Reynolds stress tensor is investigated showing that the turbulence structure becomes rod-like during the deteriorated heat transfer regime in the downward flow and disc-like for the upward flow.
- 1 June 2018
- Published by AIP Publishing in Physics of Fluids
- Vol. 30 (6) , 065105
Buoyancy induced turbulence modulation in pipe flow at supercritical pressure under cooling conditions
A numerical investigation of cooling of a fluid at supercritical pressure has been performed by means of direct numerical simulations. The simulations were conducted with a uniform heat flux imposed at the wall at an inlet bulk Reynolds number of 5400. The aim of this work is to understand the role of buoyancy in modulating the turbulence in a flow where properties are spatially varying. Heat transfer deterioration followed by recovery is observed in the downward flow while enhancement occurs in the upward flow as compared to forced convection. The decomposition of the skin friction factor and the Nusselt number was performed. The major effects on the skin friction factor were brought by the non-uniform body force due to the gravity. The turbulent parts equally influence the Nusselt number as well as the skin friction factor in supercritical flows. Quadrant analysis and its weighted joint probability density function were analyzed to understand the role of sweep (Q4) and ejection (Q2) events. During the heat transfer deterioration, sweep and ejection events are decreased greatly, triggering the reduction in turbulence. The recovery in turbulence is brought by the Q1 and Q3 (also known as outward and inward interaction) events, contrary to the conventional belief about turbulence generation. The turbulence anisotropy of the Reynolds stress tensor is investigated showing that the turbulence structure becomes rod-like during the deteriorated heat transfer regime in the downward flow and disc-like for the upward flow.
- 17 February 2018
- Published by Springer Nature
- p. 241-254
Numerical Analysis of Heat Transfer During Cooling of Supercritical Fluid by Means of Direct Numerical Simulation
- 17 February 2018
- Published by Springer Nature
- p. 241-254
Numerical Analysis of Heat Transfer During Cooling of Supercritical Fluid by Means of Direct Numerical Simulation
- 1 February 2018
- Published by Elsevier in Applied Thermal Engineering
- Vol. 131, 815-824
Heat transfer prediction of supercritical water with artificial neural networks
- 1 February 2018
- Published by Elsevier in Applied Thermal Engineering
- Vol. 131, 815-824
Heat transfer prediction of supercritical water with artificial neural networks