-
Energy-consistent discretization of viscous dissipation with application to natural convection flow
Authors:
Benjamin Sanderse,
Francesc Xavier Trias
Abstract:
A new energy-consistent discretization of the viscous dissipation function in incompressible flows is proposed. It is implied by choosing a discretization of the diffusive terms and a discretization of the local kinetic energy equation and by requiring that continuous identities like the product rule are mimicked discretely. The proposed viscous dissipation function has a quadratic, strictly dissi…
▽ More
A new energy-consistent discretization of the viscous dissipation function in incompressible flows is proposed. It is implied by choosing a discretization of the diffusive terms and a discretization of the local kinetic energy equation and by requiring that continuous identities like the product rule are mimicked discretely. The proposed viscous dissipation function has a quadratic, strictly dissipative form, for both simplified (constant viscosity) stress tensors and general stress tensors. The proposed expression is not only useful in evaluating energy budgets in turbulent flows, but also in natural convection flows, where it appears in the internal energy equation and is responsible for viscous heating. The viscous dissipation function is such that a consistent total energy balance is obtained: the 'implied' presence as sink in the kinetic energy equation is exactly balanced by explicitly adding it as source term in the internal energy equation.
Numerical experiments of Rayleigh-Bénard convection (RBC) and Rayleigh-Taylor instabilities confirm that with the proposed dissipation function, the energy exchange between kinetic and internal energy is exactly preserved. The experiments show furthermore that viscous dissipation does not affect the critical Rayleigh number at which instabilities form, but it does significantly impact the development of instabilities once they occur. Consequently, the value of the Nusselt number on the cold plate becomes larger than on the hot plate, with the difference increasing with increasing Gebhart number. Finally, 3D simulations of turbulent RBC show that energy balances are exactly satisfied even for very coarse grids; therefore, we consider that the proposed discretization forms an excellent starting point for testing sub-grid scale models.
△ Less
Submitted 20 July, 2023;
originally announced July 2023.
-
Energy preserving multiphase flows: Application to falling films
Authors:
Nicol'as Valle,
F. Xavier Trias,
Jes'us Castro
Abstract:
The numerical simulation of multiphase flows presents several challenges, namely the transport of different phases within de domain and the inclusion of capillary effects. Here, these are approached by enforcing a discrete physics-compatible solution. Extending our previous work on the discretization of surface tension [N. Valle, F. X. Trias, and J. Castro. An energy-preserving level set method fo…
▽ More
The numerical simulation of multiphase flows presents several challenges, namely the transport of different phases within de domain and the inclusion of capillary effects. Here, these are approached by enforcing a discrete physics-compatible solution. Extending our previous work on the discretization of surface tension [N. Valle, F. X. Trias, and J. Castro. An energy-preserving level set method for multiphase flows. J. Comput. Phys., 400:108991, 2020] with a consistent mass and momentum transfer a fully energy-preserving multiphase flow method is presented. This numerical technique is showcased within the simulation of a falling film under several working conditions related to the normal operation of LiBr absorption chillers.
△ Less
Submitted 7 October, 2021;
originally announced October 2021.
-
On the implementation of flux limiters in algebraic frameworks
Authors:
Nicolás Valle,
Xavier Álvarez-Farré,
Andrey Gorobets,
Jesús Castro,
Assensi Oliva,
F. Xavier Trias
Abstract:
The use of flux limiters is widespread within the scientific computing community to capture shock discontinuities and are of paramount importance for the temporal integration of high-speed aerodynamics, multiphase flows, and hyperbolic equations in general.
Meanwhile, the breakthrough of new computing architectures and the hybridization of supercomputer systems pose a huge portability challenge,…
▽ More
The use of flux limiters is widespread within the scientific computing community to capture shock discontinuities and are of paramount importance for the temporal integration of high-speed aerodynamics, multiphase flows, and hyperbolic equations in general.
Meanwhile, the breakthrough of new computing architectures and the hybridization of supercomputer systems pose a huge portability challenge, particularly for legacy codes, since the computing subroutines that form the algorithms, the so-called kernels, must be adapted to various complex parallel programming paradigms. From this perspective, the development of innovative implementations relying on a minimalist set of kernels simplifies the deployment of scientific computing software on state-of-the-art supercomputers, while it requires the reformulation of algorithms, such as the aforementioned flux limiters.
Equipped with basic algebraic topology and graph theory underlying the classical mesh concept, a new flux limiter formulation is presented based on the adoption of algebraic data structures and kernels. As a result, traditional flux limiters are cast into a stream of only two types of computing kernels: sparse matrix-vector multiplication and generalized pointwise binary operators. The newly proposed formulation eases the deployment of such a numerical technique in massively parallel, potentially hybrid, computing systems and is demonstrated for a canonical advection problem.
△ Less
Submitted 6 October, 2021;
originally announced October 2021.
-
A symmetry-preserving second-order time-accurate PISO-based method
Authors:
Ed M. J. Komen,
Jannes A. Hopman,
Edo M. A. Frederix,
F. Xavi Trias,
Roel W. C. P. Verstappen
Abstract:
A new conservative symmetry-preserving second-order time-accurate PISO-based pressure-velocity coupling for solving the incompressible Navier-Stokes equations on unstructured collocated grids is presented in this paper. This new method for implicit time step** is an extension of the conservative symmetry-preserving incremental-pressure projection method for explicit time step** and unstructure…
▽ More
A new conservative symmetry-preserving second-order time-accurate PISO-based pressure-velocity coupling for solving the incompressible Navier-Stokes equations on unstructured collocated grids is presented in this paper. This new method for implicit time step** is an extension of the conservative symmetry-preserving incremental-pressure projection method for explicit time step** and unstructured collocated meshes of Trias et al. (2014). In order to assess and compare both methods, we have implemented them within one unified solver in the open source code OpenFOAM. We combine both methods with a Butcher tableau for a family of explicit and diagonally implicit Runge-Kutta temporal schemes. We assess the energy conservation properties of the implemented discretisation methods and the temporal consistency of the selected Runge-Kutta schemes using Taylor-Green vortex and lid-driven cavity flow test cases.
Although both implemented methods are based on a symmetry-preserving discretisation, we show that both methods still produce a small amount of numerical dissipation when the total pressure is directly solved from a Poisson equation. This numerical dissipation is mainly caused by the corresponding pressure error which is of $O(Δt Δh^2)$. When an incremental-pressure approach is used, where a pressure correction is solved from a Poisson equation, the pressure error reduces to $O(Δt^2 Δh^2)$, yielding better conservation properties: both methods are then effectively fully-conservative. Furthermore, we conclude that all selected explicit and implicit higher order temporal schemes suffer from a reduction of the temporal order to approximately one when the pressure Poisson equation is based on the total pressure due to the presence of a pressure error of $O(Δt Δh^2)$.
△ Less
Submitted 8 October, 2020;
originally announced October 2020.
-
A general method to compute numerical dispersion errors and its application to stretched meshes
Authors:
J. Ruano,
A. Baez Vidal,
F. X. Trias,
J. Rigola
Abstract:
This article presents a new spectral analysis approach for dispersion error and a methodology to numerically evaluate it. In practice, this new analysis allows the numerical study of dispersion errors on all types of mesh and for multiple dimensions. Nonetheless, when mesh uniformity and one-dimensionality assumptions are imposed as in the classical method, the results of this new technique coinci…
▽ More
This article presents a new spectral analysis approach for dispersion error and a methodology to numerically evaluate it. In practice, this new analysis allows the numerical study of dispersion errors on all types of mesh and for multiple dimensions. Nonetheless, when mesh uniformity and one-dimensionality assumptions are imposed as in the classical method, the results of this new technique coincide with those of the classic method. We establish the theoretical basis of the approach, derive a numerical methodology to evaluate dispersion errors and assess the method after a set of numerical tests on non-uniform stretched meshes.
△ Less
Submitted 17 September, 2019;
originally announced September 2019.
-
An energy-preserving level set method for multiphase flows
Authors:
N. Valle,
F. X. Trias,
J. Castro
Abstract:
The computation of multiphase flows presents a subtle energetic equilibrium between potential (i.e., surface) and kinetic energies. The use of traditional interface-capturing schemes provides no control over such a dynamic balance. In the spirit of the wellknown symmetry-preserving and mimetic schemes, whose physics-compatible discretizations rely upon preserving the underlying mathematical struct…
▽ More
The computation of multiphase flows presents a subtle energetic equilibrium between potential (i.e., surface) and kinetic energies. The use of traditional interface-capturing schemes provides no control over such a dynamic balance. In the spirit of the wellknown symmetry-preserving and mimetic schemes, whose physics-compatible discretizations rely upon preserving the underlying mathematical structures of the space, we identify the corresponding structure and propose a new discretization strategy for curvature. The new scheme ensures conservation of mechanical energy (i.e., surface plus kinetic) up to temporal integration. Inviscid numerical simulations are performed to show the robustness of such a method.
△ Less
Submitted 29 August, 2019;
originally announced September 2019.
-
A nonlinear subgrid-scale model for large-eddy simulations of rotating turbulent flows
Authors:
Maurits H. Silvis,
H. Jane Bae,
F. Xavier Trias,
Mahdi Abkar,
Roel Verstappen
Abstract:
Rotating turbulent flows form a challenging test case for large-eddy simulation (LES). We, therefore, propose and validate a new subgrid-scale (SGS) model for such flows. The proposed SGS model consists of a dissipative eddy viscosity term as well as a nondissipative term that is nonlinear in the rate-of-strain and rate-of-rotation tensors. The two corresponding model coefficients are a function o…
▽ More
Rotating turbulent flows form a challenging test case for large-eddy simulation (LES). We, therefore, propose and validate a new subgrid-scale (SGS) model for such flows. The proposed SGS model consists of a dissipative eddy viscosity term as well as a nondissipative term that is nonlinear in the rate-of-strain and rate-of-rotation tensors. The two corresponding model coefficients are a function of the vortex stretching magnitude. Therefore, the model is consistent with many physical and mathematical properties of the Navier-Stokes equations and turbulent stresses, and is easy to implement. We determine the two model constants using a nondynamic procedure that takes into account the interaction between the model terms. Using detailed direct numerical simulations (DNSs) and LESs of rotating decaying turbulence and spanwise-rotating plane-channel flow, we reveal that the two model terms respectively account for dissipation and backscatter of energy, and that the nonlinear term improves predictions of the Reynolds stress anisotropy near solid walls. We also show that the new SGS model provides good predictions of rotating decaying turbulence and leads to outstanding predictions of spanwise-rotating plane-channel flow over a large range of rotation rates for both fine and coarse grid resolutions. Moreover, the new nonlinear model performs as well as the dynamic Smagorinsky and scaled anisotropic minimum-dissipation models in LESs of rotating decaying turbulence and outperforms these models in LESs of spanwise-rotating plane-channel flow, without requiring (dynamic) adaptation or near-wall dam** of the model constants.
△ Less
Submitted 29 April, 2019;
originally announced April 2019.
-
A new subgrid characteristic length for turbulence simulations on anisotropic grids
Authors:
F. X. Trias,
A. Gorobets,
M. H. Silvis,
R. W. C. P. Verstappen,
A. Oliva
Abstract:
Direct numerical simulations of the incompressible Navier-Stokes equations are not feasible yet for most practical turbulent flows. Therefore, dynamically less complex mathematical formulations are necessary for coarse-grained simulations. In this regard, eddy-viscosity models for Large-Eddy Simulation (LES) are probably the most popular example thereof. This type of models requires the calculatio…
▽ More
Direct numerical simulations of the incompressible Navier-Stokes equations are not feasible yet for most practical turbulent flows. Therefore, dynamically less complex mathematical formulations are necessary for coarse-grained simulations. In this regard, eddy-viscosity models for Large-Eddy Simulation (LES) are probably the most popular example thereof. This type of models requires the calculation of a subgrid characteristic length which is usually associated with the local grid size. For isotropic grids this is equal to the mesh step. However, for anisotropic or unstructured grids, such as the pancake-like meshes that are often used to resolve near-wall turbulence or shear layers, a consensus on defining the subgrid characteristic length has not been reached yet despite the fact that it can strongly affect the performance of LES models. In this context, a new definition of the subgrid characteristic length is presented in this work. This flow-dependent length scale is based on the turbulent, or subgrid stress, tensor and its representations on different grids. The simplicity and mathematical properties suggest that it can be a robust definition that minimizes the effects of mesh anisotropies on simulation results. The performance of the proposed subgrid characteristic length is successfully tested for decaying isotropic turbulence and a turbulent channel flow using artificially refined grids. Finally, a simple extension of the method for unstructured meshes is proposed and tested for a turbulent flow around a square cylinder. Comparisons with existing subgrid characteristic length scales show that the proposed definition is much more robust with respect to mesh anisotropies and has a great potential to be used in complex geometries where highly skewed (unstructured) meshes are present.
△ Less
Submitted 1 December, 2017; v1 submitted 8 November, 2017;
originally announced November 2017.
-
Particulate immersed boundary method for complex fluid-particle interaction problems with heat transfer
Authors:
Hao Zhang,
Haizhuan Yuan,
F. Xavier Trias,
Aibing Yu,
Yuanqiang Tan,
Assensi Oliva
Abstract:
In our recent work [H. Zhang, F.X. Trias, A. Oliva, D. Yang, Y. Tan, Y. Sheng. PIBM: Particulate immersed boundary method for fluid-particle interaction problems. Powder Technology. 272(2015), 1-13.], a particulate immersed boundary method (PIBM) for simulating fluid-particle multiphase flow was proposed and assessed in both two- and three-dimensional applications. In this study, the PIBM was exte…
▽ More
In our recent work [H. Zhang, F.X. Trias, A. Oliva, D. Yang, Y. Tan, Y. Sheng. PIBM: Particulate immersed boundary method for fluid-particle interaction problems. Powder Technology. 272(2015), 1-13.], a particulate immersed boundary method (PIBM) for simulating fluid-particle multiphase flow was proposed and assessed in both two- and three-dimensional applications. In this study, the PIBM was extended to solve thermal interaction problems between spherical particles and fluid. The Lattice Boltzmann Method (LBM) was adopted to solve the fluid flow and temperature fields, the PIBM was responsible for the non-slip velocity and temperature boundary conditions at the particle surface, and the kinematics and trajectory of the solid particles were evaluated by the Discrete Element Method (DEM). Four case studies were implemented to demonstrate the capability of the current coupling scheme. Firstly, numerical simulation of natural convection in a two-dimensional square cavity with an isothermal concentric annulus was carried out for verification purpose. The current results were found to have good agreements with previous references. Then, sedimentation of two- and three-dimensional isothermal particles in fluid was numerically studied, respectively. The instantaneous temperature distribution in the cavity was captured. The effect of the thermal buoyancy on particle behaviors was discussed. At last, sedimentation of three-dimensional thermosensitive particles in fluid was numerically investigated. Our results revealed that the LBM-PIBM-DEM is a promising scheme for the solution of complex fluid-particle interaction problems with heat transfer.
△ Less
Submitted 4 February, 2015;
originally announced February 2015.
-
PIBM: Particulate immersed boundary method for fluid-particle interaction problems
Authors:
Hao Zhang,
F. Xavier Trias,
Assensi Oliva,
Dongmin Yang,
Yuanqiang Tan,
Shi Shu,
Yong Sheng
Abstract:
It is well known that the number of particles should be scaled up to enable industrial scale simulation. The calculations are more computationally intensive when the motion of the surrounding fluid is considered. Besides the advances in computer hardware and numerical algorithms, the coupling scheme also plays an important role on the computational efficiency. In this study, a particle immersed bo…
▽ More
It is well known that the number of particles should be scaled up to enable industrial scale simulation. The calculations are more computationally intensive when the motion of the surrounding fluid is considered. Besides the advances in computer hardware and numerical algorithms, the coupling scheme also plays an important role on the computational efficiency. In this study, a particle immersed boundary method (PIBM) for simulating the fluid-particle multiphase flow was presented and assessed in both two- and three-dimensional applications. The idea behind PIBM derives from the conventional momentum exchange-based immersed boundary method (IBM) by treating each Lagrangian point as a solid particle. This treatment enables LBM to be coupled with fine particles residing within a particular grid cell. Compared with the conventional IBM, dozens of times speedup in two-dimensional simulation and hundreds of times in three-dimensional simulation can be expected under the same particle and mesh number. Numerical simulations of particle sedimentation in the Newtonian flows were conducted based on a combined lattice Boltzmann method - particle immersed boundary method - discrete element method scheme, showing that the PIBM can capture the feature of particulate flows in fluid and is indeed a promising scheme for the solution of the fluid-particle interaction problems.
△ Less
Submitted 25 July, 2014;
originally announced July 2014.