Eleonora Gajetti, Luca Marocco, Gianluca Boccardo, A. Buffo, Laura Savoldi
{"title":"Implementation of a Lag Elliptic-Blending model for RANS equations in OpenFOAM","authors":"Eleonora Gajetti, Luca Marocco, Gianluca Boccardo, A. Buffo, Laura Savoldi","doi":"10.51560/ofj.v4.133","DOIUrl":"https://doi.org/10.51560/ofj.v4.133","url":null,"abstract":"Turbulence modeling remains a significant challenge in Computational Fluid Dynamics. Achieving a balance between model accuracy and computational efficiency often leads to the widespread utilization of RANS (Reynolds Averaged Navier Stokes) turbulence models. The current study focuses on implementing the k−ε Lag Elliptic Blending turbulence model within OpenFOAM®. This extension of the conventional k−ε model introduces an elliptic equation to handle non-uniform behavior near walls and a transport equation to account for the lag between stress and strain tensors. Comparison of results from two benchmark cases with those obtained from the commercial software STAR-CCM+®, which also includes the model, reveals good agreement between the two codes. Consequently, the implementation can be considered verified.","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"66 35","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141806492","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
L. Pedrolli, Beatriz Achiaga Menor, Inger Martinez de Arenaza, Alejandro López
{"title":"Comparison of CFD-DEM and MP-PIC in the Simulation of Metal Powder Conveying for Laser Metal Deposition","authors":"L. Pedrolli, Beatriz Achiaga Menor, Inger Martinez de Arenaza, Alejandro López","doi":"10.51560/ofj.v4.91","DOIUrl":"https://doi.org/10.51560/ofj.v4.91","url":null,"abstract":"Pneumatic conveying of fine powders is essential for many industrial processes, including Laser Metal Deposition (LMD), a Direct Metal Additive Manufacturing (DMAM) technology that builds solid objects layer-by-layer using a laser to melt metal powder. To optimize the process, it is necessary to have a correct understanding of the powder’s behaviour under the process condition. The coupled Computational Fluid Dynamics - Discrete Element Modelling (CFD-DEM) and MultiPhase - Particle In Cell (MP-PIC) are two popular Eulerian-Lagrangian models to simulate particle laden flows. This study compares them to analyse powder behaviour in a small channel of LMD machines. Results from the two methods differ significantly, with CFD-DEM offering a more accurate representation of the physical reality, while MP-PIC is more computationally efficient. The study finds that the CFD-DEM method produces higher fluctuations in the solids flow rate due to the formation of particle clusters, while MP-PIC displays a smooth and essentially uniform flow. The results suggest that CFD-DEM should be used for more accurate and detailed studies of solids flow rate in pneumatic conveying systems, while MP-PIC can be used for preliminary studies and design optimization.","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"132 6","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-02-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139849039","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
L. Pedrolli, Beatriz Achiaga Menor, Inger Martinez de Arenaza, Alejandro López
{"title":"Comparison of CFD-DEM and MP-PIC in the Simulation of Metal Powder Conveying for Laser Metal Deposition","authors":"L. Pedrolli, Beatriz Achiaga Menor, Inger Martinez de Arenaza, Alejandro López","doi":"10.51560/ofj.v4.91","DOIUrl":"https://doi.org/10.51560/ofj.v4.91","url":null,"abstract":"Pneumatic conveying of fine powders is essential for many industrial processes, including Laser Metal Deposition (LMD), a Direct Metal Additive Manufacturing (DMAM) technology that builds solid objects layer-by-layer using a laser to melt metal powder. To optimize the process, it is necessary to have a correct understanding of the powder’s behaviour under the process condition. The coupled Computational Fluid Dynamics - Discrete Element Modelling (CFD-DEM) and MultiPhase - Particle In Cell (MP-PIC) are two popular Eulerian-Lagrangian models to simulate particle laden flows. This study compares them to analyse powder behaviour in a small channel of LMD machines. Results from the two methods differ significantly, with CFD-DEM offering a more accurate representation of the physical reality, while MP-PIC is more computationally efficient. The study finds that the CFD-DEM method produces higher fluctuations in the solids flow rate due to the formation of particle clusters, while MP-PIC displays a smooth and essentially uniform flow. The results suggest that CFD-DEM should be used for more accurate and detailed studies of solids flow rate in pneumatic conveying systems, while MP-PIC can be used for preliminary studies and design optimization.","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":" 3","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-02-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139789089","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Vigneshwaran Sankar, K. Chatelain, J. Melguizo-Gavilanes, D. Lacoste
{"title":"Validation of High Speed Reactive Flow Solver in OpenFOAM with Detailed Chemistry","authors":"Vigneshwaran Sankar, K. Chatelain, J. Melguizo-Gavilanes, D. Lacoste","doi":"10.51560/ofj.v4.125","DOIUrl":"https://doi.org/10.51560/ofj.v4.125","url":null,"abstract":"An OpenFOAM® based hybrid-central solver called reactingPimpleCentralFoam is validated to compute hydrogen-based detonations. This solver is a pressure-based semi-implicit compressible flow solver based on central-upwind schemes of Kurganov and Tadmor. This solver possesses the features of standard OpenFOAM® solvers namely, rhoCentralFoam, reactingFoam and pimpleFoam. The solver utilizes Kurganov & Tadmor schemes for flux splitting to solve the high-speed compressible regimes with/without hydrodynamic discontinuity. In this work, we present the validation results that were obtained from one-dimensional (1D) and two-dimensional (2D) simulations with detailed chemistry. We consider three different mixtures that fall into the categories of weakly unstable mixture (2H2 +O2 +3.76Ar and 2H2 +O2 +10Ar), and moderately unstable mixture (2H2 +O2 +3.76N2), based on their approximate effective activation energy. We performed the numerical simulations in both laboratory frame of reference (LFR) and shock-attached frame of reference (SFR) for the 1D cases. The 1D simulation results obtained using this solver agree well with the steady-state calculations of Zel’dovich von Neumann Döring (ZND) simulations with an average error below 1% in all cases. For the 2D simulations, circular hot-spots were used to perturb the initially-planar detonations to develop into spatio-temporally unstable detonation front. The convergence is declared when the front does not deviate much from the CJ speed (Chapman-Jouguet) and the regularity of cellular pattern on the numerical smoke foils reaches a steady state. We have verified from our preliminary studies that the SFR-based simulations are computationally cheaper in comparison to the LFR simulations and that the required grid resolution is always lesser in the former than the latter to reach the same level of accuracy (in terms of speed of the detonation front and cell sizes from the numerical smoke foil). We have also verified that at least 24 points per induction zone length (for weakly unstable mixture) and 40 points per induction zone length (for moderately unstable mixture) are required to sufficiently resolve the detonation structures that are independent of grids, boundary and initial conditions. Further reduction in computational cost of approximately 50% is achieved by using non-uniform grids, which converge effectively to the same solutions in comparison to the results from twice the number of grids with uniform resolution. ","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"54 3","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139863047","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Vigneshwaran Sankar, K. Chatelain, J. Melguizo-Gavilanes, D. Lacoste
{"title":"Validation of High Speed Reactive Flow Solver in OpenFOAM with Detailed Chemistry","authors":"Vigneshwaran Sankar, K. Chatelain, J. Melguizo-Gavilanes, D. Lacoste","doi":"10.51560/ofj.v4.125","DOIUrl":"https://doi.org/10.51560/ofj.v4.125","url":null,"abstract":"An OpenFOAM® based hybrid-central solver called reactingPimpleCentralFoam is validated to compute hydrogen-based detonations. This solver is a pressure-based semi-implicit compressible flow solver based on central-upwind schemes of Kurganov and Tadmor. This solver possesses the features of standard OpenFOAM® solvers namely, rhoCentralFoam, reactingFoam and pimpleFoam. The solver utilizes Kurganov & Tadmor schemes for flux splitting to solve the high-speed compressible regimes with/without hydrodynamic discontinuity. In this work, we present the validation results that were obtained from one-dimensional (1D) and two-dimensional (2D) simulations with detailed chemistry. We consider three different mixtures that fall into the categories of weakly unstable mixture (2H2 +O2 +3.76Ar and 2H2 +O2 +10Ar), and moderately unstable mixture (2H2 +O2 +3.76N2), based on their approximate effective activation energy. We performed the numerical simulations in both laboratory frame of reference (LFR) and shock-attached frame of reference (SFR) for the 1D cases. The 1D simulation results obtained using this solver agree well with the steady-state calculations of Zel’dovich von Neumann Döring (ZND) simulations with an average error below 1% in all cases. For the 2D simulations, circular hot-spots were used to perturb the initially-planar detonations to develop into spatio-temporally unstable detonation front. The convergence is declared when the front does not deviate much from the CJ speed (Chapman-Jouguet) and the regularity of cellular pattern on the numerical smoke foils reaches a steady state. We have verified from our preliminary studies that the SFR-based simulations are computationally cheaper in comparison to the LFR simulations and that the required grid resolution is always lesser in the former than the latter to reach the same level of accuracy (in terms of speed of the detonation front and cell sizes from the numerical smoke foil). We have also verified that at least 24 points per induction zone length (for weakly unstable mixture) and 40 points per induction zone length (for moderately unstable mixture) are required to sufficiently resolve the detonation structures that are independent of grids, boundary and initial conditions. Further reduction in computational cost of approximately 50% is achieved by using non-uniform grids, which converge effectively to the same solutions in comparison to the results from twice the number of grids with uniform resolution. ","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"25 10","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139803367","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Cyclic Heat Transfer Solver for OpenFOAM","authors":"Michael Coe, Daniel Holland","doi":"10.51560/ofj.v3.113","DOIUrl":"https://doi.org/10.51560/ofj.v3.113","url":null,"abstract":"Channels with periodically repeating geometries are often simulated using periodic or cyclic boundary conditions. By calculating the temperature and flow field in one periodic module, the resulting distributions can be generalized to multiple modules. This reduces the computational load by simulating a single module versus the whole structure. This is a particularly useful approach when performing large optimisation studies of periodic geometries, such as compact heat exchangers. Currently, OpenFOAM only supports cyclic boundary conditions for pressure and momentum, but not heat transfer. The present work introduces a steady and an unsteady solver for cyclic heat transfer with constant wall temperature boundary conditions. The solver is validated against analytical Hagen-Poiseuille flow and two configurations of periodic wavy channels. In the latter case, the results are compared to existing literature.","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"56 30","pages":""},"PeriodicalIF":0.0,"publicationDate":"2023-12-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"138588194","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"TwoPhaseFlow: A Framework for Developing Two Phase Flow Solvers in OpenFOAM","authors":"Henning Scheufler, J. Roenby","doi":"10.51560/ofj.v3.80","DOIUrl":"https://doi.org/10.51560/ofj.v3.80","url":null,"abstract":"We present a new OpenFOAM based open-source framework, TwoPhaseFlow, enabling fast implementation and testing of new phase change and surface tension force models for two-phase flows including interfacial heat and mass transfer. Capitalizing on the runtime-selection mechanism in OpenFOAM, the new models can easily be selected and benchmarked against analytical solutions and existing models. The framework currently includes the following three interface curvature calculation methods for surface tension: 1) the height function method, 2) the parabolic fit method and 3) the reconstructed distance function method. As for phase change, two models are available: 1) Interface heat resistance and 2) direct heat flux. These can be combined in three solvers: 1) InterFlow for isothermal, incompressible two-phase flow, 2) compressibleInterFlow for compressible, non-isothermal two-phase flow and 3) multiRegionPhaseChangeFlow for compressible, non-isothermal two-phase flow with conjugated heat transfer. By design, addition of new models and solvers is straightforward and users are encouraged to contribute their specific models, solvers, and validation cases to the library.","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"10 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2023-11-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139256163","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
J. Añez, Hakim Hamdani, J. Réveillon, B. Duret, F. Demoulin
{"title":"Sensitivity Analysis of an Unsteady Flow Around a Pitching Airfoil","authors":"J. Añez, Hakim Hamdani, J. Réveillon, B. Duret, F. Demoulin","doi":"10.51560/ofj.v3.81","DOIUrl":"https://doi.org/10.51560/ofj.v3.81","url":null,"abstract":"Various ways to control the loads and thus the output of the wind turbine by pitching the blades and by controlling the rotational speed already exist. However, adverse pressure gradient leading to flow separation at the trailing edge, with relatively high angles of attack (AOA) due to blade-pitching motion, largely affects the airfoil aerodynamic performance. This work presents the results of a numerical study of the unsteady flow around a pitching FFA-W3-301 airfoil at a Reynolds 1.6 × 106 using OpenFOAM®, as obtained by first performing 2D Unsteady Reynolds-Averaged Navier- Stokes (URANS) simulations whereby the flow characteristics are simulated by the shear stress transport (SST) k − ω model and Spalart-Allmaras (SA). The influence of various parameters on the numerical results is investigated, namely y+, computational grid resolution, dynamic mesh technique, time step and turbulence model. Integral aerodynamic forces and detailed flow patterns are compared with experimental measurements presented in the literature. A range of angles of attack, including early stalls, are examined. For best-performing parameters, an adequate refinement close to the wall was imperative in order to match experiments, especially during the upstroke motion of the airfoil, while for the downstroke phase, some differences still appeared. The agreement was greatly improved by using a 2.5D hybrid RANS-LES approach with enhanced delayed-Detached Eddy Simulation (DES) capabilities.","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"59 4","pages":""},"PeriodicalIF":0.0,"publicationDate":"2023-11-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139256859","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
H. Barestrand, A. Ljung, J. Summers, Staffan Lundström
{"title":"Modeling Convective Heat Transfer of Air in a Data Center Using OpenFOAM","authors":"H. Barestrand, A. Ljung, J. Summers, Staffan Lundström","doi":"10.51560/ofj.v3.59","DOIUrl":"https://doi.org/10.51560/ofj.v3.59","url":null,"abstract":"\u0000Achieving energy and cooling efficiency in data center convective air flow and heat transfer can be a challenging task. Among different numerical methods to work with such issues is the Finite Volume Method in Computational Fluid Dynamics. This work evaluates the performance of two such solvers provided by OpenFOAM® in solving this type of convective heat-transfer problem, namely BuoyantBoussinesqPimpleFOAM and BuoyantPimpleFOAM. This is done for two different flow configurations of significantly different Richardson number. To sufficiently resolve the flow, grid sizing effects are elucidated by way of the kernel density estimate. It determines the volume distribution of the temperature in the data center configuration. For the k-epsilon turbulence model used here, it was found that the compressible solver performs faster and requires less grid resolution for both flow configurations. This is attributed to the nature of the boundary conditions which are set such that the mass flow conservation per server rack and cooling unit is achieved. Transient solutions are found to provide better iterative convergence for cases that involves buoyancy, compressibility and flow separation. This is, in comparison to steady-state solutions where artificial numerical pressure drop is found, to depend on the momentum relaxation factors for the convective case with a higher Richardson number.\u0000","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"66-67 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-08-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130880565","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Modular Framework for the Solution of Boundary-coupled Multiphysics Problems","authors":"Gabriel St-Onge, M. Olivier","doi":"10.51560/ofj.v3.64","DOIUrl":"https://doi.org/10.51560/ofj.v3.64","url":null,"abstract":"This paper presents a modular multiphysics framework developed for OpenFOAM. The framework is built around an iterative implicit coupling scheme based on a multi-region partitioned approach. This scheme allows the implementation of formal implicit time-marching schemes, which improves the stability of strongly interacting coupled problems. This methodology allows physical interactions to be handled through specifically designed interface boundary conditions. It also allows region-specific solvers to be implemented as modular class solvers. The coupling methodology is handled with a main program that manages solver-specific actions. The aim of this framework is to facilitate the implementation and testing of new multiphysics coupling problems in an integrated code structure. To show the capabilities of the framework to integrate new physics, solvers and boundary conditions requirements are discussed. Also, three validated examples involving fluid-structure interactions, conjugate heat transfer, and fluid-structure-thermal interactions are presented. Although all these problems are boundary-coupled multiphysics problems, the framework is conceptually not limited to this kind of problems. The benefit of this work to the OpenFOAM community is a general and modular framework that facilitates the setup and solution of diversified multiphysics problems, and that illustrates the implementation of modular interface boundary conditions between physics regions.","PeriodicalId":252778,"journal":{"name":"OpenFOAM® Journal","volume":"97 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131042557","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}