SearcharxivSearch

arXiv subjects

Mahdi Abkar

Publications and source records attributed to Mahdi Abkar.

At least 19 recordsLinked to original sources

Implementation and verification of the resolved Reynolds stress transport equations in OpenFOAM

The analysis of the Reynolds Stress Transport Equation (RSTE) provides fundamental physical insights that are essential for the development and validation of advanced turbulence models. However, a comprehensive and validated tool for computing the complete RSTE budget is absent in the widely-used open-source Computational Fluid Dynamics (CFD) framework, OpenFOAM. This work addresses this gap by presenting the implementation and a posteriori validation of a function object library for calculating all terms of the resolved RSTE budget in Large-Eddy Simulations (LES). The library is applied to simulate two canonical wall-bounded turbulent flows: a channel flow and a pipe flow, both at a friction Reynolds number of Re$_{\tau}=180$. The implementation is validated through a mesh refinement study where the results from the LES simulations are systematically compared against high-fidelity Direct Numerical Simulation (DNS) data. The computed budget terms are observed to converge systematically towards the DNS reference data. This validation demonstrates that the implemented library accurately captures the intricate balance of all budget terms. This contribution provides the open-source CFD community with a powerful utility for detailed turbulence analysis, thereby facilitating deeper physical understanding and accelerating the development of next-generation turbulence models.

physics.flu-dyn

Dual guidance: ROM-informed field reconstruction with generative models

We present a dual-guided framework for reconstructing unsteady incompressible flow fields using sparse observations. The approach combines optimized sensor placement with a physics-informed guided generative model. Sensor locations are selected using mutual information theory applied to a reduced-order model of the flow, enabling efficient identification of high-information observation points with minimal computational cost. These sensors, once selected, provide targeted observations that guide a denoising diffusion probabilistic model conditioned by physical constraints. Extensive experiments on 2D laminar cylinder wake flows demonstrate that under sparse sensing conditions, the structured sensor layouts fail to capture key flow dynamics, yielding high reconstruction errors. In contrast, our optimized sensor placement strategy achieves accurate reconstructions with L2 errors as low as 0.05, even with a limited number of sensors, confirming the effectiveness of the proposed approach in data-limited regimes. When the number of sensors is higher than a threshold, however, both methods perform comparably. Our dual-guided approach bridges reduced order model-based sensor position optimization with modern generative modeling, providing accurate, physics-consistent reconstruction from sparse data for scientific machine-learning problems.

physics.flu-dyn

A generalisable data-augmented turbulence model with progressive and interpretable corrections for incompressible wall-bounded flows

The integration of interpretability and generalisability in data-driven turbulence modelling remains a fundamental challenge for computational fluid dynamics applications. This study yields a generalisable advancement of the $k$-$\omega$ Shear Stress Transport (SST) model through a progressive data-augmented framework, combining Bayesian optimisation with physics-guided corrections to improve the predictions of anisotropy-induced secondary flows and flow separation simultaneously. Two interpretable modifications are systematically embedded: 1) a non-linear Reynolds stress anisotropy correction to enhance secondary flow predictions, and 2) an activation-based separation correction in the $\omega$-equation, regulated by an optimised power-law function to locally adjust turbulent viscosity under adverse pressure gradients. The model is trained using a multi-case computational fluid dynamics-driven a posteriori approach, incorporating periodic hills, duct flow, and channel flow to balance correction efficacy with baseline consistency. Validation across multiple unseen cases -- spanning flat-plate boundary layers, high-Reynolds-number periodic hills, and flow over diverse obstacle configurations -- demonstrates enhanced accuracy in velocity profiles, recirculation zones, streamwise vorticity, and skin friction distributions while retaining the robustness of the original $k$-$\omega$ SST in attached flows. Sparsity-enforced regression ensures reduced parametric complexity, preserving computational efficiency and physical transparency. Results underscore the framework's ability to generalise across geometries and Reynolds numbers without destabilising corrections, offering a validated framework toward deployable, data-augmented turbulence models for numerical simulations.

physics.flu-dyn

Wall-modeled large-eddy simulation of turbulent smooth body separation using the OpenFOAM flow solver

This work investigates the current wall-modeled large-eddy simulation (WMLES) capabilities of the open-source computational fluid dynamics solver OpenFOAM, which is used widely in academia and industry. This is achieved by a simulation campaign that covers both attached and smooth body separation cases. The campaign includes simulations using four different wall models and aims to investigate the sensitivity of the results to changes in numerics, mesh resolution, and subgrid-scale modeling. The results demonstrate that two main factors largely determine OpenFOAM-based WMLES performance. These are the discretization of the convective term and wall modeling. For the former, the best performance in the attached case is achieved with low-dissipation numerics, however, for the smooth body separation case, more dissipative numerics give the best performance. For the latter, we find that both equilibrium and non-equilibrium wall models perform well in the attached case but that the non-equilibrium models significantly improve the prediction of smooth body separation. Still, the non-equilibrium wall model results do not show a uniform improvement over equilibrium models. This is explained by an inconsistent accounting of non-equilibrium physics in these models, i.e., including the pressure gradient term without also including the convective term. This highlights the potential for future performance improvements by using non-equilibrium wall models that consistently account for both the convective and pressure gradient terms.

physics.flu-dyn

Wind-farm power prediction using a turbulence-optimized Gaussian wake model

In this study, we present an improved formulation for the wake-added turbulence to enhance the accuracy of intra-farm and farm-to-farm wake modeling through analytical frameworks. Our goal is to address the tendency of a commonly used formulation to overestimate turbulence intensity within wind farms and to overcome its limitations in predicting the streamwise evolution of turbulence intensity beyond them. To this end, we utilize high-fidelity data and adopt an optimization technique to derive an optimized functional form of the wake-added turbulence. We then integrate the achieved formulation with a widely used Gaussian wake model to study various intra-farm and farm-to-farm scenarios. The outcomes reveal that the new methodology effectively addresses the overestimation of power in both standalone wind farms and those impacted by upstream counterparts. Our new approach meets the need for accurate and lightweight models, ensuring the effective coexistence of wind farms within clusters as the wind-energy capacity rapidly expands.

physics.flu-dyn

A progressive data-augmented RANS model for enhanced wind-farm simulations

The development of advanced simulation tools is essential, both presently and in the future, for improving wind-energy design strategies, paving the way for a complete transition to sustainable solutions. The Reynolds-averaged Navier-Stokes (RANS) models are pivotal in enhancing our comprehension of the complex flow within and around wind farms and, hence, improving their capacity to accurately model turbulence within this context is a vital research goal. The enhancement is essential for a precise prediction of wake recovery and for capturing intricate flow phenomena such as secondary flows of Prandtl's second kind behind the turbines. To reach these objectives, here, we propose a progressive data-augmentation approach. We first incorporate the turbine-induced forces in the turbulent kinetic energy equation of the widely used $k-\omega\text{SST}$ model. Afterward, we utilize data from large-eddy simulations to progressively enhance the Reynolds-stress prediction of this baseline model, accurately capturing the evolution of eddy viscosity in the wake, as well as the emergence of secondary flows. We then apply the optimized model to two unseen cases with distinct layouts and conduct a comparative analysis focusing on the obtained quantities such as normalized streamwise velocity deficit, turbulence intensity, and power output. We also examine the success rate of the augmented model in predicting the secondary flows in the wake region. We also evaluate the performance of the augmented model in predicting wake characteristics by comparing it with wind-tunnel measurement data. Our comparisons and validations demonstrate the superior performance of the progressive data-augmented model over the standard version in all cases considered in this study.

physics.flu-dyn

Computational Fluid Dynamics: its Carbon Footprint and Role in Carbon Emission Reduction

Turbulent flow physics regulates the aerodynamic properties of lifting surfaces, the thermodynamic efficiency of vapor power systems, and exchanges of natural and anthropogenic quantities between the atmosphere and ocean, to name just a few applications. The dynamics of turbulent flows are described via numerical integration of the non-linear Navier-Stokes equation -- a procedure known as computational fluid dynamics (CFD). At the dawn of scientific computing in the late 1950s, it would be many decades before terms such as ``carbon footprint'' or ``sustainability'' entered the lexicon, and longer still before these themes attained national priority throughout advanced economies. This paper introduces a framework designed to calculate the carbon footprint of CFD and its contribution to carbon emission reduction strategies. We will distinguish between "hero" and "routine" calculations, noting that the carbon footprint of hero calculations is largely determined by the energy source mix utilized. We will also review CFD of flows where turbulence effects are modeled, thus reducing the degrees of freedom. Estimates of the carbon footprint are presented for such fully- and partially-resolved simulations as functions of turbulence activity and calculation year, demonstrating a reduction in carbon emissions by two to five orders of magnitude at practical conditions. Beyond analyzing CO2 emissions, we quantify the benefits of applying CFD towards overall carbon emission reduction. The community's effort to avoid redundant calculations via turbulence databases merits particular attention, with estimates indicating that a single database could potentially reduce CO2 emissions by approximately O(1) million metric tons. Additionally, implementing CFD in the fluids industry has markedly decreased dependence on wind tunnel testing, which is anticipated to lead to CO2 emission reduction.

physics.soc-ph

An extended $k-\varepsilon$ model for wake-flow simulation of wind farms

The Reynolds-averaged Navier-Stokes approach coupled with the standard $k-\varepsilon$ model is widely utilized for wind-energy applications. However, it has been shown that the standard $k-\varepsilon$ model overestimates the turbulence intensity in the wake region and, consequently, overpredicts the power output of the waked turbines. This study focuses on the development of an extended $k-\varepsilon$ model by incorporating an additional term in the turbulent kinetic energy equation. This term accounts for the influence of turbine-induced forces, and its formulation is derived through an analytical approach. To assess the effectiveness of the proposed model, we begin by analyzing the evolution of normalized velocity deficit and turbulence intensity in the wake region, and the normalized power of the waked turbines. This investigation involves a comparison of the predictions against results from large-eddy simulations in three validation cases with different layouts. We then simulate a wind farm consisting of 30 wind turbines and conduct a comparative analysis between the model-predicted normalized streamwise velocity and wind-tunnel measurements. Finally, to conclude our assessment of the proposed model, we apply it to the operational wind farm of Horns Rev 1 and evaluate the obtained normalized power with the results from large-eddy simulations. The comparisons and validations conducted in this study prove the superior performance of the extended $k-\varepsilon$ model compared to the standard version.

physics.flu-dyn

Extension of the law of the wall exploiting weak similarity of velocity fluctuations in turbulent channels

This paper explores the similarity of the streamwise velocity fluctuations in a channel. In the analysis, we employ a one-dimensional scalar variant of the proper orthogonal decomposition (POD). This approach naturally motivates the introduction of two different levels of similarity which we will refer to as strong and weak similarity. Strong similarity requires that the two-point correlation, and thus, all POD modes, show Reynolds number similarity, while weak similarity only requires that the first few POD modes show similarity. As POD concerns information at more than one location, these similarities are more general than various similarities found in the literature concerning single-point flow statistics. We examine flows at $Re_τ=$180, 540, 1000, and 5200. Strong similarity is observed in the viscous layer and the wake region, and weak similarity is found in both the viscous wall region and the outer part of the logarithmic layer. The presence of weak similarity suggests the existence of an extension to the law of the wall (LoW). We propose such an extension based on the results from the one-dimensional POD analysis. The usefulness of the LoW extension is then assessed by comparing flow reconstructions according to the conventional equilibrium LoW and the extended LoW. We show that the extended LoW provides accurate flow reconstructions in the wall layer, capturing fine-scale motions that are entirely missed by the equilibrium LoW.

physics.flu-dyn

POD-mode-augmented wall model and its applications to flows at non-equilibrium conditions

Insights gained from modal analysis are invoked for predictive large-eddy simulation (LES) wall modeling. Specifically, we augment the law of the wall (LoW) by an additional mode based on a one-dimensional proper orthogonal decomposition (POD) applied to a 2D turbulent channel. The constructed wall model contains two modes, i.e., the LoW mode and the POD-based mode, and the model matches with the LES at two, instead of one, off-wall locations. To show that the proposed model captures non-equilibrium effects, we perform a-priori and a-posteriori tests in the context of both equilibrium and non-equilibrium flows. The a-priori tests show that the proposed wall model captures extreme wall-shear stress events better than the equilibrium wall model. The model also captures non-equilibrium effects due to adverse pressure gradients. The a-posteriori tests show that the wall model captures the rapid decrease and the initial decrease of the streamwise wall-shear stress in channels subjected to suddenly imposed adverse and transverse pressure gradients, respectively, both of which are missed by currently available wall models. These results show promise in applying modal analysis for turbulence wall modeling. In particular, the results show that employing multiple modes helps in the modeling of non-equilibrium flows.

physics.flu-dyn

A priori screening of data-enabled turbulence models

Assessing the compliance of a white-box turbulence model with known turbulent knowledge is straightforward. It enables users to screen conventional turbulence models and identify apparent inadequacies, thereby allowing for a more focused and fruitful validation and verification. However, comparing a black-box machine-learning model to known empirical scalings is not straightforward. Unless one implements and tests the model, it would not be clear if a machine-learning model, trained at finite Reynolds numbers preserves the known high Reynolds number limit. This is inconvenient, particularly because model implementation involves retraining and re-interfacing. This work attempts to address this issue, allowing fast a priori screening of machine-learning models that are based on feed-forward neural networks (FNN). The method leverages the mathematical theorems we present in the paper. These theorems offer estimates of a network's limits even when the exact weights and biases are unknown. For demonstration purposes, we screen existing machine-learning wall models and RANS models for their compliance with the log layer physics and the viscous layer physics in a priori manner. In addition, the theorems serve as essential guidelines for future machine-learning models.

physics.flu-dyn

A short note on turbulence characteristics in wind-turbine wakes

Analytical wake models need formulations to mimic the impact of wind turbines on turbulence level in the wake region. Several correlations can be found in the literature for this purpose, one of which is the formula proposed in A. Crespo, J. Hernandez, Turbulence characteristics in wind-turbine wakes, Journal of Wind Engineering and Industrial Aerodynamics 61 (1) (1996) 71 - 85, which relates the added turbulence to the induction factor of the turbine, ambient turbulence intensity, and normalized distance from the rotor through an equation with one coefficient and three exponents for the effective parameters. Misuse of this formula with an incorrect exponent for the ambient turbulence intensity is propagating in the literature. In this note, we implement the original and the incorrect formulation of turbine-induced added turbulence in a Gaussian wake model to quantify its impact by studying the Horns Rev 1 wind farm. The results reveal that the turbulence intensity and the normalized power of the waked turbines predicted by the wake model with the correct and the incorrect implementation of turbine-induced added turbulence correlation have a difference equal to 1.94% and 3.53%, respectively, for an ambient turbulence intensity of 7.7%. For an ambient turbulence intensity of 4%, these discrepancies grow to 2.7% and 4.95%.

physics.flu-dyn

Survey of machine learning wall models for large eddy simulation

This survey investigates wall modeling in large eddy simulations (LES) using data-driven machine learning (ML) techniques. To this end, we implement three ML wall models in an open-source code and compare their performances with the equilibrium wall model in LES of half-channel flow at eleven friction Reynolds numbers between $180$ and $10^{10}$. The three models have ''seen'' flows at only a few Reynolds numbers. We test if these ML wall models can extrapolate to unseen Reynolds numbers. Among the three models, two are supervised ML models, and one is a reinforcement learning ML model. The two supervised ML models are trained against direct numerical simulation (DNS) data, whereas the reinforcement learning ML model is trained in the context of a wall-modeled LES with no access to high-fidelity data. The two supervised ML models capture the law of the wall at both seen and unseen Reynolds numbers--although one model requires re-training and predicts a smaller von Kármán constant. The reinforcement learning model captures the law of the wall reasonably well but has errors at both low ($Re_τ<10^3$) and high Reynolds numbers ($Re_τ>10^6$). In addition to documenting the results, we try to ''understand'' why the ML models behave the way they behave. Analysis shows that the errors of the supervised ML model is a result of the network design and the errors in the reinforcement learning model arise due to the present choice of the ''states'' and the mismatch between the neutral line and the line separating the action map. In all, we see promises in data-driven machine learning models.

physics.flu-dyn

Log-law recovery through reinforcement-learning wall model for large-eddy simulation

This paper focuses on the use of reinforcement learning (RL) as a machine-learning (ML) modeling tool for near-wall turbulence. RL has demonstrated its effectiveness in solving high-dimensional problems, especially in domains such as games. Despite its potential, RL is still not widely used for turbulence modeling and is primarily used for flow control and optimization purposes. A new RL wall model (WM) called VYBA23 is developed in this work, which uses agents dispersed in the flow near the wall. The model is trained on a single Reynolds number ($Re_τ= 10^4$) and does not rely on high-fidelity data, as the back-propagation process is based on a reward rather than output error. The states of the RLWM, which are the representation of the environment by the agents, are normalized to remove dependence on the Reynolds number. The model is tested and compared to another RLWM (BK22) and to an equilibrium wall model, in a half-channel flow at eleven different Reynolds numbers ($Re_τ\in [180;10^{10}]$). The effects of varying agents' parameters such as actions range, time-step, and spacing are also studied. The results are promising, showing little effect on the average flow field but some effect on wall-shear stress fluctuations and velocity fluctuations. This work offers positive prospects for developing RLWMs that can recover physical laws, and for extending this type of ML models to more complex flows in the future.

physics.flu-dyn

Physics-guided machine learning for wind-farm power prediction: Toward interpretability and generalizability

With the increasing amount of available data from simulations and experiments, research for the development of data-driven models for wind-farm power prediction has increased significantly. While the data-driven models can successfully predict the power of a wind farm with similar characteristics as those in the training ensemble, they generally do not have a high degree of flexibility for extrapolation to unseen cases in contrast to the physics-based models. In this paper, we focus on data-driven models with improved interpretability and generalizability levels that can predict the performance of turbines in wind farms. To prepare the datasets, several cases are defined based on the layouts of operational wind farms, and massive computational fluid dynamics simulations are performed. The extreme gradient boosting algorithm is used afterward to build models, which have turbine-level geometric inputs in combination with the efficiency from physics-based models as the features. After training, to analyze the models' capability in generalization, their predictions for the unseen cases with different operating conditions, inflow turbulence levels, and wind-farm layouts are compared to the Park model and an empirical-analytical Gaussian wake model. Results show that the physics-guided machine-learning models outperform both physics-based models showing a high degree of generalizability, and the machine is not sensitive to the choice of the physics-based guide model.

physics.flu-dyn

Frozen propagation of Reynolds force vector from high-fidelity data into Reynolds-averaged simulations of secondary flows

Successful propagation of information from high-fidelity sources (i.e., direct numerical simulations and large-eddy simulations) into Reynolds-averaged Navier-Stokes (RANS) equations plays an important role in the emerging field of data-driven RANS modeling. Small errors carried in high-fidelity data can propagate amplified errors into the mean flow field, and higher Reynolds numbers worsen the error propagation. In this study, we compare a series of propagation methods for two cases of Prandtl's secondary flows of the second kind: square-duct flow at a low Reynolds number and roughness-induced secondary flow at a very high Reynolds number. We show that frozen treatments result in less error propagation than the implicit treatment of Reynolds stress tensor (RST), and for cases with very high Reynolds numbers, explicit and implicit treatments are not recommended. Inspired by the obtained results, we introduce the frozen treatment to the propagation of Reynolds force vector (RFV), which leads to less error propagation. Specifically, for both cases at low and high Reynolds numbers, propagation of RFV results in one order of magnitude lower error compared to RST propagation. In the frozen treatment method, three different eddy-viscosity models are used to evaluate the effect of turbulent diffusion on error propagation. We show that, regardless of the baseline model, the frozen treatment of RFV results in less error propagation. We combined one extra correction term for turbulent kinetic energy with the frozen treatment of RFV, which makes our propagation technique capable of reproducing both velocity and turbulent kinetic energy fields similar to high-fidelity data.

physics.flu-dyn

Data-driven quantification of model-form uncertainty in Reynolds-averaged simulations of wind farms

Computational fluid dynamics using the Reynolds-averaged Navier-Stokes (RANS) remains the most cost-effective approach to study wake flows and power losses in wind farms. The underlying assumptions associated with turbulence closures are one of the biggest sources of errors and uncertainties in the model predictions. This work aims to quantify model-form uncertainties in RANS simulations of wind farms at high Reynolds numbers under neutrally stratified conditions by perturbing the Reynolds stress tensor through a data-driven machine-learning technique. To this end, a two-step feature-selection method is applied to determine key features of the model. Then, the extreme gradient boosting algorithm is validated and employed to predict the perturbation amount and direction of the modeled Reynolds stress toward the limiting states of turbulence on the barycentric map. This procedure leads to a more accurate representation of the Reynolds stress anisotropy. The data-driven model is trained on high-fidelity data obtained from large-eddy simulation of a specific wind farm, and it is tested on two other (unseen) wind farms with distinct layouts to analyze its performance in cases with different turbine spacing and partial wake. The results indicate that, unlike the data-free approach in which a uniform and constant perturbation amount is applied to the entire computational domain, the proposed framework yields an optimal estimation of the uncertainty bounds for the RANS-predicted quantities of interest, including the wake velocity, turbulence intensity, and power losses in wind farms.

physics.flu-dyn

Constructing Neural Network-Based Models for Simulating Dynamical Systems

Dynamical systems see widespread use in natural sciences like physics, biology, chemistry, as well as engineering disciplines such as circuit analysis, computational fluid dynamics, and control. For simple systems, the differential equations governing the dynamics can be derived by applying fundamental physical laws. However, for more complex systems, this approach becomes exceedingly difficult. Data-driven modeling is an alternative paradigm that seeks to learn an approximation of the dynamics of a system using observations of the true system. In recent years, there has been an increased interest in data-driven modeling techniques, in particular neural networks have proven to provide an effective framework for solving a wide range of tasks. This paper provides a survey of the different ways to construct models of dynamical systems using neural networks. In addition to the basic overview, we review the related literature and outline the most significant challenges from numerical simulations that this modeling paradigm must overcome. Based on the reviewed literature and identified challenges, we provide a discussion on promising research areas.

cs.LG