SearcharxivSearch

arXiv subjects

Marcello Meldi

Publications and source records attributed to Marcello Meldi.

17 recordsLinked to original sources

Towards Streaming Prediction of Oscillatory Flows: A Data Assimilation and Machine Learning Approach

Data-driven methods have demonstrated strong predictive capabilities in fluid mechanics, yet most current applications still focus on simplified configurations, often characterised by statistical stationarity or limited temporal variability. This work proposes a methodology that combines Data Assimilation (DA) and Machine Learning (ML) to predict flow configurations that exhibit cyclic behaviour over time. Starting from limited, sparse high-fidelity measurements and a low-fidelity numerical model, the DA approach performs data fusion to obtain complete and accurate flow state estimations in time. This complete dataset is used to train multiple ML tools, which are applied across different phases of the flow cycle to augment the model's predictions when high-fidelity data might not be available for the DA application. The methodology is applied to the analysis of an oscillating cylinder in a laminar regime using a sliding-window approach, in which separate models are trained for specific flow conditions to ensure each model specialises in flow dynamics representative of a phase of the oscillation period. This phase-resolved learning enables the efficient capture of transient features that would be challenging for a single global model. The results highlight the potential of this method to study complex flow configurations with oscillatory features in which neither the flow nor the cycle is known a priori, in particular by exploiting real-time training and updates, as is commonly done in digital twins, which require continuous model correction and adaptation.

physics.flu-dyn

Physics-based localization methodology for Data Assimilation by Ensemble Kalman Filter

A physics-based methodology for the determination of the localization function for the Ensemble Kalman Filter (EnKF) is proposed. The spatial features of such function evolve dynamically over time according to the relevant instantaneous flow features of the ensemble members with the objective, to reduce the computational cost of the Data Assimilation (DA) procedure when applied with solvers for Computational Fluid Dynamics (CFD). The validation of the methodology has been carried out by the analysis of two test cases exhibiting different features. This permits to investigate different physical features, tailored for each test case, which affect the localization function. The flow over a two-dimensional square cylinder at $Re=150$ is the first case investigated. It has been shown that the proposed localization procedure leads to a more cost-effective DA process by reducing the size of the assimilated regions while keeping the same level of accuracy. The capabilities of the methodology are further demonstrated by the investigation of the turbulent flow around a three-dimensional circular cylinder for $Re=3900$. Again, the methodology exhibits an excellent trade off in terms of accuracy versus computational requirements.

physics.flu-dyn

Multi-fidelity Ensemble Kalman Filter algorithms enhanced by Convolutional Neural Networks

The present research work proposes advancement for Data Assimilation strategies using Convolutional Neural Networks (CNN). More precisely, multi-fidelity and multi-level algorithms for the Ensemble Kalman Filter are enhanced by CNN tools, with the objective to reduce the discrepancy in the prediction between ensemble realizations performed with different models. The proposed methodology is assessed via the analysis of the flow through a cascade of NACA 0012 profiles for Reynolds $Re=1\,000$ and Mach $Ma=0.5$. Depending on the angle of attack $\alpha$, unsteady features of the flow can be observed. The results indicate that the usage of the CNN tools, which are trained using data from the DA procedure, significantly augments the accuracy of the low-fidelity models with little augmentation in computational costs. It is shown that the usage of the CNN tools provides a faster convergence of the Data Assimilation algorithms, which leads to a significant gain in terms of computational resources required.

physics.flu-dyn

Enhancement of Large Eddy Simulation for the prediction of an intake flow rig using sequential Data Assimilation

A Data Assimilation (DA) strategy based on an ensemble Kalman filter (EnKF) is used to enhance the predictive capabilities of scale resolving numerical tools for the analysis of flows exhibiting cyclic behaviour. More precisely, an ensemble of numerical runs using Large Eddy Simulation (LES) for the compressible steady-state flow rig is augmented via the integration of high-fidelity data. This observation is in the form of instantaneous velocity measurements, which are sampled at localized sensors in the physical domain. Two objectives are targeted. The first one is the calibration of an unsteady inlet condition suitable to capture the cyclic flow investigated. The second one is the analysis of the synchronization of velocity field predicted by the LES with the available observation. In order to reduce the computational costs required for this analysis, a hyper-localization procedure (HLEnKF) is proposed and it is integrated in the library CONES, tailored to perform fast online DA. The proposed strategy performs a satisfactory calibration of the inlet conditions, and its robustness is assessed using two different prior distributions for the free parameters optimized in this task. DA state estimation is efficient in obtaining accurate local synchronization of the inferred velocity fields with the observed data. The modal analysis of the kinetic energy of the flow field provides additional information on the quality of the reconstruction of the velocity field, which shows improvements. Thus, the HLEnKF shows promising features for the calibration and the synchronization of scale-resolved turbulent flows, opening perspectives of applications for complex phenomena using advanced tools such as digital twins.

physics.flu-dyn

Enhanced State Estimation for turbulent flows combining Ensemble Data Assimilation and Machine Learning

A novel strategy is proposed to improve the accuracy of state estimation and reconstruction from low-fidelity models and sparse data from sensors. This strategy combines ensemble Data Assimilation (DA) and Machine Learning (ML) tools, exploiting their complementary features. ML techniques rely on the data produced by DA methods during analysis phases to train physics-informed corrective algorithms, which are then coupled with the low-fidelity models when data from sensors is unavailable. The methodology is validated via the analysis of the turbulent plane channel flow test case for $Re_\tau \approx 550$. Here, the low-fidelity model consists of coarse-grained simulations coupled with the Immersed Boundary Method (IBM), while observation is sampled by a highly refined body-fitted calculation. The analysis demonstrates the capabilities of the algorithm based on DA and ML to accurately predict the flow features with significantly reduced computational costs. This approach exhibits potential for future synergistic applications of DA and ML, leveraging the robustness and efficiency of ML models alongside the physical interpretability ensured by DA algorithms.

physics.flu-dyn

Statistical inference of upstream turbulence intensity for the flow around a bluff body with massive separation

The Benchmarck on the Aerodynamics of a Rectangular 5:1 Cylinder is studied using a data-driven technique which bridges numerical simulation and available experimental results. Because of intrinsic features of the tools used for investigation, in particular in terms of set-up and boundary conditions, significant discrepancies have been observed in the literature when comparing experimental and numerical results. An approach based on the Ensemble Kalman Filter (EnKF) is here used to optimize a synthetic turbulent inlet used as boundary condition in the numerical calculation, in order to reduce the discrepancy with the available experiments. The data-driven method successfully optimizes the boundary condition features, which produce a significant improvement of the accuracy in the prediction of the flow. These finding open perspectives of application towards the analysis of realistic cases, where boundary conditions are complex and usually unknown.

physics.flu-dyn

Synchronization and optimization of Large Eddy Simulation using an online Ensemble Kalman Filter

An online Data Assimilation strategy based on the Ensemble Kalman Filter (EnKF) is used to improve the predictive capabilities of Large Eddy Simulation (LES) for the analysis of the turbulent flow in a plane channel, $Re_\tau \approx 550$. The algorithm sequentially combines the LES prediction with high-fidelity, sparse instantaneous data obtained from a Direct Numerical Simulation (DNS). It is shown that the procedure provides an augmented state which exhibits higher accuracy than the LES model and it synchronizes with the time evolution of the high-fidelity DNS data if the hyperparameters governing the EnKF are properly chosen. In addition, the data-driven algorithm is able to improve the accuracy of the subgrid-scale model included in the LES, the Smagorinsky model, via the optimization of a free coefficient. However, while the online EnKF strategy is able to reduce the global error of the LES prediction, a discrepancy with the reference DNS data is still observed because of structural flaws of the subgrid-scale model used.

physics.flu-dyn

A physics-infused Immersed Boundary Method using online sequential Data Assimilation

A physics-infused strategy relying on the Ensemble Kalman Filter (EnKF) is here used to augment the accuracy of a continuous Immersed Boundary Method (IBM). The latter is a classical penalty method accounting for the presence of the immersed body via a volume source term which is included in the Navier-Stokes equations. The model coefficients of the penalization method, which are usually selected by the user, are optimized here using an EnKF data-driven strategy. The parametric inference is governed by the physical knowledge of local and global features of the flow, such as the no-slip condition and the shear stress at the wall. The C++ library CONES (Coupling OpenFOAM with Numerical EnvironmentS) developed by the team is used to perform an online investigation, coupling on-the-fly data from synthetic sensors with results from an ensemble of coarse-grained numerical simulations. The analysis is performed for a classical test case, namely the turbulent channel flow with $Re_\tau = 550$. The comparison of the results with a high-fidelity Direct Numerical Simulation (DNS) shows that the data-driven procedure exhibits remarkable accuracy despite the relatively low grid resolution of the ensemble members.

physics.flu-dyn

Augmented state estimation of urban settings using intrusive sequential Data Assimilation

A data-driven investigation of the flow around a high-rise building is performed combining heterogeneous experimental samples and RANS CFD. The coupling is performed using techniques based on the Ensemble Kalman Filter (EnKF), including advanced manipulations such as localization and inflation. The augmented state estimation obtained via EnKF has also been employed to improve the predictive features of the model via an optimization of the five free global model constant of the $\mathcal{K}-\varepsilon$ turbulence model used to close the equations. The optimized values are very far from the classical values prescribed as general recommendations and implemented in codes, but also different from other data-driven analyses reported in the literature. The results obtained with this new optimized parametric description show a global improvement for both the velocity field and the pressure field. In addition, some topological improvement for the flow organization are observed downstream, far from the location of the sensors.

physics.flu-dyn

A Discrete Immersed Boundary Method for the numerical simulation of heat transfer in compressible flows

In the present study, a discrete forcing Immersed Boundary Method (IBM) is proposed for the numerical simulation of high-speed flow problems including heat exchange. The flow field is governed by the compressible Navier-Stokes equations, which are resolved by using the open source library OpenFOAM. The numerical solver is modified to include source terms in the momentum equation and in the energy equation, which account for the presence of the immersed body. The method is validated on some benchmark test cases dealing with forced convection problems and moving immersed bodies. The results obtained are in very good agreement with data provided in the literature. The method is further assessed by investigating three-dimensional high Mach flows around a heated sphere with different wall temperature. Even for this more complex test case, the method provides an accurate representation of both thermal and velocity fields.

physics.flu-dyn

Multigrid sequential data assimilation for the large-eddy simulation of a massively separated bluff-body flow

The potential for data-driven applications to scale-resolving simulations of turbulent flows is assessed herein. Multigrid sequential data assimilation algorithms have been used to calibrate solvers for Large Eddy Simulation for the analysis of the high-Reynolds-number flow around a rectangular cylinder of aspect ratio 5:1. This test case has been chosen because of a number of physical complexities which elude accurate representation using reduced-order numerical simulation. The results for the statistical moments of the velocity and pressure flow field show that the data-driven techniques employed, which are based on the Ensemble Kalman Filter, are able to significantly improve the predictive features of the solver for reduced grid resolution. In addition, it was observed that, despite the sparse and asymmetric distribution of observation in the data-driven process, the data augmented results exhibit perfectly symmetric statistics and a significantly improved accuracy also far from the sensor location.

physics.flu-dyn

Optimized parametric inference for the inner loop of the Multigrid Ensemble Kalman Filter

Essential features of the Multigrid Ensemble Kalman Filter (G. Moldovan, G. Lehnasch, L. Cordier, M. Meldi, A multigrid/ensemble Kalman filter strategy for assimilation of unsteady flows, Journal of Computational Physics 443-110481) recently proposed for Data Assimilation of fluid flows are investigated and assessed in this article. The analysis is focused on the improvement in performance due to the inner loop. In this step, data from solutions calculated on the higher resolution levels of the multigrid approach are used as surrogate observations to improve the model prediction on the coarsest levels of the grid. The latter represents the level of resolution used to run the ensemble members for global Data Assimilation. The method is tested over two classical one-dimensional problems, namely the linear advection problem and the Burgers' equation. The analyses encompass a number of different aspects, such as different grid resolutions. The results indicate that the contribution of the inner loop is essential in obtaining accurate flow reconstruction and global parametric optimization. These findings open exciting perspectives of application to grid-dependent reduced-order models extensively used in fluid mechanics applications for complex flows, such as Large Eddy Simulation (LES).

physics.flu-dyn

Analysis of Lundgren's matched asymptotic expansion approach to the K\'arm\'an-Howarth equation using the EDQNM turbulence closure

In this paper we investigate whether the features of the non-equilibrium cascade, which have been identified in recent studies using high-fidelity tools, can be captured in the case of the classical dissipation scaling by turbulence closures based on the statistical description of freely decaying isotropic turbulence. Numerical results obtained using the EDQNM model over a very large range of Reynolds numbers (from $Re_{\lambda}=50$ up to $Re_{\lambda}=10^6$) are analyzed to perform an extensive investigation of the scaling region identified as inertial range in Kolmogorov's theory. It is observed that EDQNM results are in agreement with the results of Lundgren's matched asymptotic expansion approach to the Karman-Howarth equation. Both predict that the Kolmogorov inertial range equilibrium is never obtained irrespective of Reynolds number. Equilibrium is reached in the vicinity of the Taylor length $\lambda$ (which depends on viscosity) as Reynolds number tends to infinity and there is a gradual departure from equilibrium as the length scale moves away from $\lambda$, in particular towards scales larger than $\lambda$ all the way to the integral length-scale.

physics.flu-dyn

A multigrid/ensemble Kalman Filter strategy for assimilation of unsteady flows

A sequential estimator based on the Ensemble Kalman Filter for Data Assimilation of fluid flows is presented in this research work. The main feature of this estimator is that the Kalman filter update, which relies on the determination of the Kalman gain, is performed exploiting the algorithmic features of the numerical solver employed as a model. More precisely, the multilevel resolution associated with the multigrid iterative approach for time advancement is used to generate several low-resolution numerical simulations. These results are used as ensemble members to determine the correction via Kalman filter, which is then projected on the high-resolution grid to correct a single simulation which corresponds to the numerical model. The assessment of the method is performed via the analysis of one-dimensional and two-dimensional test cases, using different dynamic equations. The results show an efficient trade-off in terms of accuracy and computational costs required. In addition, a physical regularization of the flow, which is not granted by classical KF approaches, is naturally obtained owing to the multigrid iterative calculations. The algorithm is also well suited for the analysis of unsteady phenomena and, in particular,for potential application to in-streaming Data Assimilation techniques.

cs.CE

A reduced order Kalman Filter model for sequential Data Assimilation of turbulent flows

A Kalman filter based sequential estimator is presented in the present work. The estimator is integrated in the structure of segregated solvers for the analysis of incompressible flows. This technique provides an augmented flow state integrating available observation in the CFD model, naturally preserving a zero-divergence condition for the velocity field. Because of the prohibitive costs associated with a complete Kalman Filter application, two model reduction strategies have been proposed and assessed. These strategies dramatically reduce the increase in computational costs of the model, which can be quantified in an increase of $10\% - 15\%$ with respect to the classical numerical simulation. In addition, an extended analysis of the behavior of the numerical model covariance $Q$ has been performed. The results have shown that optimized values are strongly linked to the truncation error of the discretization procedure. The estimator has been applied to the analysis of a number of test cases exhibiting increasing complexity, including turbulent flow configurations. The results show that the augmented flow successfully improves the prediction of the physical quantities investigated, even when the observation is provided in a limited region of the physical domain. In addition, the present work indicates that these Data Assimilation techniques, which are at an embryonic stage of development in CFD, can be pushed even further using the augmented prediction as a powerful tool for the optimization of the free parameters in the numerical simulation.

physics.flu-dyn

Quantification of errors in large-eddy simulations of a spatially-evolving mixing layer

A stochastic approach based on generalized Polynomial Chaos (gPC) is used to quantify the error in Large-Eddy Simulation (LES) of a spatially-evolving mixing layer flow and its sensitivity to different simulation parameters, viz. the grid stretching in the streamwise and lateral directions and the subgrid scale model constant ($C_S$). The error is evaluated with respect to the results of a highly resolved LES (HRLES) and for different quantities of interest, namely the mean streamwise velocity, the momentum thickness and the shear stress. A typical feature of the considered spatially evolving flow is the progressive transition from a laminar regime, highly dependent on the inlet conditions, to a fully-developed turbulent one. Therefore the computational domain is divided in two different zones (\textit{inlet dependent} and \textit{fully turbulent}) and the gPC error analysis is carried out for these two zones separately. An optimization of the parameters is also carried out for both these zones. For all the considered quantities, the results point out that the error is mainly governed by the value of the $C_S$ constant. At the end of the inlet-dependent zone a strong coupling between the normal stretching ratio and the $C_S$ value is observed. The error sensitivity to the parameter values is significantly larger in the inlet-dependent upstream region; however, low error values can be obtained in this region for all the considered physical quantities by an ad-hoc tuning of the parameters. Conversely, in the turbulent regime the error is globally lower and less sensitive to the parameter variations, but it is more difficult to find a set of parameter values leading to optimal results for all the analyzed physical quantities.

physics.flu-dyn

A stochastic view of isotropic turbulence decay

A stochastic EDQNM approach is used to investigate self-similar decaying isotropic turbulence at high Reynolds number ($400 \leq Re_λ\leq 10^4$). The realistic energy spectrum functional form recently proposed by Meyers & Meneveau is generalised by considering some of the model constants as random parameters, since they escape measure in most experimental set-ups. The induced uncertainty on the solution is investigated building response surfaces for decay power-law exponents of usual physical quantities. Large-scale uncertainties are considered, the emphasis being put on Saffman and Batchelor turbulence. The sensitivity of the solution to initial spectrum uncertainties is quantified through probability density functions of the decay exponents. It is observed that initial spectrum shape at very large scales governs the long-time evolution, even at high Reynolds number, a parameter which is not explicitly taken into account in many theoretical works. Therefore, a universal asymptotic behavior in which kinetic energy decays as $t^{-1}$ is not detected. But this decay law is observed at finite Reynolds number with low probability for some initial conditions.

physics.flu-dyn