-
On floating point precision in computational fluid dynamics using OpenFOAM
Authors:
F. Brogi,
S. Bnà,
G. Boga,
G. Amati,
T. Esposti Ongaro,
M. Cerminara
Abstract:
Thanks to the computational power of modern cluster machines, numerical simulations can provide, with an unprecedented level of details, new insights into fluid mechanics. However, taking full advantage of this hardware remains challenging since data communication remains a significant bottleneck to reaching peak performances. Reducing floating point precision is a simple and effective way to redu…
▽ More
Thanks to the computational power of modern cluster machines, numerical simulations can provide, with an unprecedented level of details, new insights into fluid mechanics. However, taking full advantage of this hardware remains challenging since data communication remains a significant bottleneck to reaching peak performances. Reducing floating point precision is a simple and effective way to reduce data movement and improve the computational speed of most applications. Nevertheless, special care needs to be taken to ensure the quality and convergence of computed solutions, especially when dealing with complex fluid simulations. In this work, we analyse the impact of reduced (single and mixed compared to double) precision on computational performance and accuracy for computational fluid dynamics. Using the open source library OpenFOAM, we consider incompressible, compressible, and multiphase fluid solvers for testing on relevant benchmarks for flows in the laminar and turbulent regime and in the presence of shock waves. Computational gain and changes in the scalability of applications in reduced precision are also discussed. In particular, an ad hoc theoretical model for the strong scaling allows us to interpret and understand the observed behaviors, as a function of floating point precision and hardware specifics. Finally, we show how reduced precision can significantly speed up a hybrid CPU-GPU implementation, made available to OpenFOAM end-users recently, that simply relies on a GPU linear algebra solver developed by hardware vendors.
△ Less
Submitted 13 September, 2022;
originally announced September 2022.
-
A theoretical framework and the experimental dataset for benchmarking numerical models of dilute pyroclastic density currents
Authors:
Matteo Cerminara,
Ermanno Brosch,
Gert Lube
Abstract:
The aim of this document is to define a Pyroclastic Density Currents (PDCs) benchmark based on a large-scale experiment to be used with numerical models at different levels of complexity. The document is organized as follows. Section 2 concisely describes the large-scale laboratory experiment setup and geometry, and the relevant specific bibliography. Section 3 introduces the theoretical framework…
▽ More
The aim of this document is to define a Pyroclastic Density Currents (PDCs) benchmark based on a large-scale experiment to be used with numerical models at different levels of complexity. The document is organized as follows. Section 2 concisely describes the large-scale laboratory experiment setup and geometry, and the relevant specific bibliography. Section 3 introduces the theoretical framework to adapt the experimental dataset to numerical models at different levels of complexity. Section 4 details the initial and boundary conditions. In particular, Section 4.1 describes the inlet velocity that best reproduces the experimental boundary conditions. Section 4.3 describes in detail the inlet concentration and temperature profiles, respectively. Section 4.4 describes the input grain size distribution. Section 5 gives the guidelines for consistently presenting the numerical outputs in a model inter-comparison study. Section 6 is a summary to guide the reader through the data sets.
△ Less
Submitted 26 June, 2021;
originally announced June 2021.
-
A Lagrangian stochastic model of a volcanic eruption column
Authors:
Benjamin J. Devenish,
Matteo Cerminara
Abstract:
We develop a Lagrangian stochastic model (LSM) of a volcanic plume in which the mean flow is provided by an integral plume model of the eruption column and fluctuations in the vertical velocity are modelled by a suitably constructed stochastic differential equation. The LSM is applied to the two eruptions considered by Costa et al. (2016) for the volcanic-plume intercomparison study. Vertical prof…
▽ More
We develop a Lagrangian stochastic model (LSM) of a volcanic plume in which the mean flow is provided by an integral plume model of the eruption column and fluctuations in the vertical velocity are modelled by a suitably constructed stochastic differential equation. The LSM is applied to the two eruptions considered by Costa et al. (2016) for the volcanic-plume intercomparison study. Vertical profiles of the mass concentration computed from the LSM are compared with equivalent results from a large-eddy simulation (LES) for the case of no ambient wind. The LSM captures the order of magnitude of the LES mass concentrations and some aspects of their profiles. In contrast with a standard integral plume model, i.e. without fluctuations, the mass concentration computed from the LSM decays (to zero) towards the top of the plume which is consistent with the LES plumes. In the lower part of the plume, we show that the presence of ash leads to a peak in the mass concentration at the level at which there is a transition from a negatively buoyant jet to a positively buoyant plume. The model can also account for the ambient wind and moisture.
△ Less
Submitted 6 April, 2018;
originally announced April 2018.
-
Weak Pseudo-Physical Measures and Pesin's Entropy Formula for Anosov C1 diffeomorphisms
Authors:
Eleonora Catsigeras,
Marcelo Cerminara,
Heber Enrich
Abstract:
We consider C1 Anosov diffeomorphisms on a compact Riemannian manifold. We define the weak pseudo-physical measures, which include the physical measures when these latter exist. We prove that ergodic weak pseudo-physical measures do exist, and that the set of invariant probability measures that satisfy Pesin's Entropy Formula is the weak*-closed convex hull of the ergodic weak pseudo-physical meas…
▽ More
We consider C1 Anosov diffeomorphisms on a compact Riemannian manifold. We define the weak pseudo-physical measures, which include the physical measures when these latter exist. We prove that ergodic weak pseudo-physical measures do exist, and that the set of invariant probability measures that satisfy Pesin's Entropy Formula is the weak*-closed convex hull of the ergodic weak pseudo-physical measures. In brief, we give in the C1-scenario of uniform hyperbolicity, a characterization of Pesin's Entropy Formula in terms of physical-like properties.
△ Less
Submitted 23 January, 2016;
originally announced January 2016.
-
ASHEE: a compressible, equilibrium-Eulerian model for volcanic ash plumes
Authors:
Matteo Cerminara,
Tomaso Esposti Ongaro,
Luigi Carlo Berselli
Abstract:
A new fluid-dynamic model is developed to numerically simulate the non-equilibrium dynamics of polydisperse gas-particle mixtures forming volcanic plumes. Starting from the three-dimensional N-phase Eulerian transport equations for a mixture of gases and solid particles, we adopt an asymptotic expansion strategy to derive a compressible version of the first-order non-equilibrium model, valid for l…
▽ More
A new fluid-dynamic model is developed to numerically simulate the non-equilibrium dynamics of polydisperse gas-particle mixtures forming volcanic plumes. Starting from the three-dimensional N-phase Eulerian transport equations for a mixture of gases and solid particles, we adopt an asymptotic expansion strategy to derive a compressible version of the first-order non-equilibrium model, valid for low concentration regimes and small particles Stokes $St<0.2$. When $St < 0.001$ the model reduces to the dusty-gas one. The new model is significantly faster than the Eulerian model while retaining the capability to describe gas-particle non-equilibrium. Direct numerical simulation accurately reproduce the dynamics of isotropic turbulence in subsonic regime. For gas-particle mixtures, it describes the main features of density fluctuations and the preferential concentration of particles by turbulence, verifying the model reliability and suitability for the simulation of high-Reynolds number and high-temperature regimes. On the other hand, Large-Eddy Numerical Simulations of forced plumes are able to reproduce their observed averaged and instantaneous properties. The self-similar radial profile and the development of large-scale structures are reproduced, including the rate of entrainment of atmospheric air. Application to the Large-Eddy Simulation of the injection of the eruptive mixture in a stratified atmosphere describes some of important features of turbulent volcanic plumes, including air entrainment, buoyancy reversal, and maximum plume height. Coarse particles partially decouple from the gas within eddies, modifying the turbulent structure, and preferentially concentrate at the eddy periphery, eventually being lost from the plume margins due to the gravity. By these mechanisms, gas-particle non-equilibrium is able to influence the large-scale behavior of volcanic plumes.
△ Less
Submitted 31 August, 2015;
originally announced September 2015.
-
The Multiphase Buoyant Plume Solution of the Dusty Gas Model
Authors:
Matteo Cerminara
Abstract:
Starting from the balance equations of mass, momentum and energy we formulate an integral 1D model for a poly-disperse mixture injected in the atmosphere. We write all the equations, either in their most general formulation or in the more simplified, taking particular care in considering all the underlying hypothesis in order to make clear when it is possible and appropriate to use them. Moreover,…
▽ More
Starting from the balance equations of mass, momentum and energy we formulate an integral 1D model for a poly-disperse mixture injected in the atmosphere. We write all the equations, either in their most general formulation or in the more simplified, taking particular care in considering all the underlying hypothesis in order to make clear when it is possible and appropriate to use them. Moreover, we put all the equations in a non-dimensional form, making explicit all the dimensionless parameters that drive the dynamics of these phenomena. In particular, we find parameters to measure: the goodness of the Boussinesq approximation, the injected mass flow, the column stability and his eventual collapse, and the importance of the atmospheric stratification, the initial kinetic energy and the gravitational potential energy. We show that setting to zero some of these parameters, it is possible to recover some of the existing jet and plume models for single-phase flows. Moreover, we write a simplified set of equations for which it is possible to find analytical solutions that can be used to describe also the dynamics of multiphase "weak-plumes".
△ Less
Submitted 12 September, 2015; v1 submitted 4 June, 2015;
originally announced June 2015.
-
Ash plume properties retrieved from infrared images: a forward and inverse modeling approach
Authors:
Matteo Cerminara,
Tomaso Esposti Ongaro,
Sébastien Valade,
Andrew J. L. Harris
Abstract:
We present a coupled fluid-dynamic and electromagnetic model for volcanic ash plumes. In a forward approach, the model is able to simulate the plume dynamics from prescribed input flow conditions and generate the corresponding synthetic thermal infrared (TIR) image, allowing a comparison with field-based observations. An inversion procedure is then developed to retrieve ash plume properties from T…
▽ More
We present a coupled fluid-dynamic and electromagnetic model for volcanic ash plumes. In a forward approach, the model is able to simulate the plume dynamics from prescribed input flow conditions and generate the corresponding synthetic thermal infrared (TIR) image, allowing a comparison with field-based observations. An inversion procedure is then developed to retrieve ash plume properties from TIR images.
The adopted fluid-dynamic model is based on a one-dimensional, stationary description of a self-similar (top-hat) turbulent plume, for which an asymptotic analytical solution is obtained. The electromagnetic emission/absorption model is based on the Schwarzschild's equation and on Mie's theory for disperse particles, assuming that particles are coarser than the radiation wavelength and neglecting scattering. [...]
Application of the inversion procedure to an ash plume at Santiaguito volcano (Guatemala) has allowed us to retrieve the main plume input parameters, namely the initial radius $b_0$, velocity $U_0$, temperature $T_0$, gas mass ratio $n_0$, entrainment coefficient $k$ and their related uncertainty. Moreover, coupling with the electromagnetic model, we have been able to obtain a reliable estimate of the equivalent Sauter diameter $d_s$ of the total particle size distribution.
The presented method is general and, in principle, can be applied to the spatial distribution of particle concentration and temperature obtained by any fluid-dynamic model, either integral or multidimensional, stationary or time-dependent, single or multiphase. The method discussed here is fast and robust, thus indicating potential for applications to real-time estimation of ash mass flux and particle size distribution, which is crucial for model-based forecasts of the volcanic ash dispersal process.
△ Less
Submitted 5 May, 2014;
originally announced May 2014.
-
DNS of compressible multiphase flows through the Eulerian approach
Authors:
Matteo Cerminara,
Luigi Carlo Berselli,
Tomaso Esposti Ongaro,
Maria Vittoria Salvetti
Abstract:
In this paper we present three multiphase flow models suitable for the study of the dynamics of compressible dispersed multiphase flows. We adopt the Eulerian approach because we focus our attention to dispersed (concentration smaller than 0.001) and small particles (the Stokes number has to be smaller than 0.2). We apply these models to the compressible ($\text{Ma} = 0.2,\,0.5$) homogeneous and i…
▽ More
In this paper we present three multiphase flow models suitable for the study of the dynamics of compressible dispersed multiphase flows. We adopt the Eulerian approach because we focus our attention to dispersed (concentration smaller than 0.001) and small particles (the Stokes number has to be smaller than 0.2). We apply these models to the compressible ($\text{Ma} = 0.2,\,0.5$) homogeneous and isotropic decaying turbulence inside a periodic three-dimensional box ($256^3$ cells) using a numerical solver based on the OpenFOAM$^{R}$ C++ libraries. In order to validate our simulations in the single-phase case we compare the energy spectrum obtained with our code with the one computed by an eighth order scheme getting a very good result (the relative error is very small $4*10^{-4}$). Moving to the bi-phase case, initially we insert inside the box an homogeneous distribution of particles leaving unchanged the initial velocity field. Because of the centrifugal force, turbulence induce particle preferential concentration and we study the evolution of the solid-phase density. Moreover, we do an {\em a-priori} test on the new sub-grid term of the multiphase equations comparing them with the standard sub-grid scale term of the Navier-Stokes equations.
△ Less
Submitted 4 April, 2014;
originally announced April 2014.
-
Direct numerical simulation of a compressible multiphase flow through the fast Eulerian approach
Authors:
Matteo Cerminara,
Luigi Carlo Berselli,
Tomaso Esposti Ongaro,
Maria Vittoria Salvetti
Abstract:
Our work is motivated by the analysis of ash plume dynamics, arising in the study of volcanic eruptions. Such phenomena are characterized by large Reynolds number (exceeding $10^7$) and a large number of polydispersed particles~[1]. Thus, the choice of the methodology to be used is straightforward: we need LES of a multiphase gas-particles flow. Since the simulation of the behavior of a large numb…
▽ More
Our work is motivated by the analysis of ash plume dynamics, arising in the study of volcanic eruptions. Such phenomena are characterized by large Reynolds number (exceeding $10^7$) and a large number of polydispersed particles~[1]. Thus, the choice of the methodology to be used is straightforward: we need LES of a multiphase gas-particles flow. Since the simulation of the behavior of a large number of dispersed particles is very difficult with Lagrangian methods, we model the particles as a continuum, Eulerian fluid (dust), by using reduced models involving two fluids, as proposed in Ref.~[2,3,4]. Moreover, we need a robust numerical scheme to simultaneously treat compressibility, buoyancy effects and turbulent dispersal dynamics.
We analyze the turbulence properties of such models in a homogeneous and isotropic setting, with the aim of formulating a LES model. In particular, we examine the development of freely decaying homogeneous and isotropic turbulence in subsonic regime (the r.m.s. Mach number either 0.2 or 0.5) using OpenFOAM\textsuperscript{\textregistered}, which is one of the best known CFD open source software packages.
△ Less
Submitted 2 April, 2014;
originally announced April 2014.
-
Disperse two-phase flows, with applications to geophysical problems
Authors:
Luigi Carlo Berselli,
Matteo Cerminara,
Traian Iliescu
Abstract:
In this paper we study the motion of a fluid with several dispersed particles whose concentration is very small (smaller than $10^{-3}$), with possible applications to problems coming from geophysics, meteorology, and oceanography. We consider a very dilute suspension of heavy particles in a quasi-incompressible fluid (low Mach number). In our case the Stokes number is small and --as pointed out i…
▽ More
In this paper we study the motion of a fluid with several dispersed particles whose concentration is very small (smaller than $10^{-3}$), with possible applications to problems coming from geophysics, meteorology, and oceanography. We consider a very dilute suspension of heavy particles in a quasi-incompressible fluid (low Mach number). In our case the Stokes number is small and --as pointed out in the theory of multiphase turbulence-- we can use an Eulerian model instead of a Lagrangian one. The assumption of low concentration allows us to disregard particle--particle interactions, but we take into account the effect of particles on the fluid (two-way coupling). In this way we can study the physical effect of particle inertia (and not only passive tracers), with a model similar to the Boussinesq equations. The resulting model is used in both direct numerical simulations and large eddy simulations of a dam-break (lock-exchange) problem, which is a well-known academic test case. Keywords: Dilute suspensions, Eulerian models, direct and large eddy simulations, slightly compressible flows, dam-break (lock-exchange) problem.
△ Less
Submitted 21 March, 2014;
originally announced March 2014.
-
Pesin Entropy Formula for C1 Diffeomorphisms with Dominated Splitting
Authors:
Eleonora Catsigeras,
Marcelo Cerminara,
Heber Enrich
Abstract:
For any C1 diffeomorphism with dominated splitting we consider a nonempty set of invariant measures which describes the asymptotic statistics of Lebesgue-almost all orbits. They are the limits of convergent subsequences of averages of the Dirac delta measures supported on those orbits. We prove that the metric entropy of each of these measures is bounded from below by the sum of the Lyapunov expon…
▽ More
For any C1 diffeomorphism with dominated splitting we consider a nonempty set of invariant measures which describes the asymptotic statistics of Lebesgue-almost all orbits. They are the limits of convergent subsequences of averages of the Dirac delta measures supported on those orbits. We prove that the metric entropy of each of these measures is bounded from below by the sum of the Lyapunov exponents on the dominating subbundle. As a consequence, if those exponents are non negative, and if the exponents on the dominated subbundle are non positive, those measures satisfy the Pesin Entropy Formula.
△ Less
Submitted 11 September, 2013; v1 submitted 25 September, 2012;
originally announced September 2012.
-
Simultaneous Continuation of Infinitely Many Sinks Near a Quadratic Homoclinic Tangency
Authors:
Eleonora Catsigeras,
Marcelo Cerminara,
Heber Enrich
Abstract:
We prove that the $C^3$ diffeomorphisms on surfaces, exhibiting infinitely many sinksnear the generic unfolding of a quadratic homoclinic tangency of a dissipative saddle, can be perturbed along an infinite dimensional manifold of $C^3$ diffeomorphisms such that infinitely many sinks persist simultaneously. On the other hand, if they are perturbed along one-parameter families that unfold generic…
▽ More
We prove that the $C^3$ diffeomorphisms on surfaces, exhibiting infinitely many sinksnear the generic unfolding of a quadratic homoclinic tangency of a dissipative saddle, can be perturbed along an infinite dimensional manifold of $C^3$ diffeomorphisms such that infinitely many sinks persist simultaneously. On the other hand, if they are perturbed along one-parameter families that unfold generically the quadratic tangencies, then at most a finite number of those sinks have continuation.
△ Less
Submitted 2 December, 2008;
originally announced December 2008.
-
The real analytic Feigenbaum-Coullet-Tresser attractor in the disk
Authors:
E. Catsigeras,
M. Cerminara,
H. Enrich
Abstract:
We consider a real analytic diffeomorphism $ψ_0$ on a n-dimensional disk D, n >= 2, exhibiting a Feigenbaum-Coullet-Tresser (F.C.T.) attractor, being far, in the standard topology of the real analytic diffeomorphism space C(D), from the standard F.C.T. map $φ_0$ fixed by the double renormalization. We prove that $ψ_0$ persists along a codimension-one manifold M \subset C(D), and that it is the b…
▽ More
We consider a real analytic diffeomorphism $ψ_0$ on a n-dimensional disk D, n >= 2, exhibiting a Feigenbaum-Coullet-Tresser (F.C.T.) attractor, being far, in the standard topology of the real analytic diffeomorphism space C(D), from the standard F.C.T. map $φ_0$ fixed by the double renormalization. We prove that $ψ_0$ persists along a codimension-one manifold M \subset C(D), and that it is the bifurcating map along any one-parameter family in $C(D)$ transversal to M, from diffeomorphisms attracted to sinks, to those which exhibit chaos. The main tool in the proofs is a theorem of Functional Analysis, which we state and prove in this paper, characterizing the existence of codimension one submanifolds in any abstract functional Banach space.
△ Less
Submitted 8 May, 2008;
originally announced May 2008.