- Research article
- Open Access
- Published:

# Reduced order models for thermally coupled low Mach flows

*Advanced Modeling and Simulation in Engineering Sciences*
**volume 5**, Article number: 28 (2018)

## Abstract

In this paper we present a collection of techniques used to formulate a projection-based reduced order model (ROM) for zero Mach limit thermally coupled Navier–Stokes equations. The formulation derives from a standard proper orthogonal decomposition (POD) model reduction, and includes modifications to improve the drawbacks caused by the inherent non-linearity of the used Navier–Stokes equations: a hyper-ROM technique based on mesh coarsening; an implicit ROM subscales formulation based on a variational multi-scale (VMS) framework; and a Petrov–Galerkin projection necessary in the case of non-symmetric terms. At the end of the article, we test the proposed ROM formulation using 2D and 3D versions of the same example: a differentially heated cavity.

## Introduction

The main purpose of this paper is to develop a model reduction formulation suitable for thermally coupled flows, by expanding the techniques in projection-based model reduction developed for several applications on fluid dynamics—mostly for incompressible Navier–Stokes equations—to the zero Mach limit Navier–Stokes equations developed in [1, 2].

Following the model reduction developments in [3] we choose a POD model reduction approach. The POD, as any projection-based model reduction, aims to describe any phenomena that otherwise would be represented by a ‘computationally expensive’ numerical method with a surrogate lower dimensional model. This surrogate model is obtained by projecting the computational expensive numerical approximation onto a previously computed reduced space. Thus, the model reduction is arranged in two stages: an offline part, where the solution obtained from a ‘high fidelity’ full order model (FOM) is used to build the desired reduced order subspace; and an online part, where by projecting the original model onto the reduced subspace the ROM is built and subsequently solved.

The traditional POD model reduction approach presents certain drawbacks when considering non-linear complex problems: added computational cost of representing the non-linearities over a linearized computational model, inherent numerical instabilities caused by the Navier–Stokes formulation, and non-optimal projection over the reduced space caused by the asymmetrical nature of the formulation.

To overcome the first issue, a wide variety of methods inspired by the work of Everson and Sirovich [4] have been introduced [5,6,7,8,9,10], with the term ‘hyper-ROM’ coined by Ryckelink [11]. This family of methods consists in using a sample of the geometrical domain. In this paper, we propose an idea of hyper-ROM that differs from the sampling way: to set the ROM on a geometrical space smaller than the original one. This, applied to mesh based methods, implies the interpolation of the developed ROM—basis included—onto a coarser mesh.

To stabilize both the FOM and ROM, we follow the same approach: a VMS framework. For the FOM case, we follow the stabilized formulation of the thermally coupled zero Mach limit Navier–Stokes equations developed in [12], using the Orthogonal Subgrid-Scales (OSS) as defined in [13]. For the ROM case, we propose an analogous method where the OSS are defined orthogonal to the ROM sub-space.

Lastly, to solve the non-optimality in the reduced space projection, we use a Petrov–Galerkin projection instead of the standard Galerkin projection as proposed in [7]. In the specific case of mesh based methods, the POD-ROM method can be seen as a solution of the original problem using a projection method as in [14], where the Petrov–Galerkin projection is the one that satisfies the non-singularity of the system of equations when the FOM is not symmetric.

This article is organized as follows. In the first section, we present a brief description of the zero Mach number limit Navier–Stokes model. In the second section, we describe briefly the idea of model reduction along with an explanation of the POD compression technique for the construction of the basis. In the third section, we present a modified finite element (FE)-ROM implementation, including the stabilization using VMS, the new proposed hyper-ROM method, and the Petrov–Galerkin projection. In the fourth section, we present examples consisting in a differential heated cavity, with 2D and 3D cases. Finally, we close the paper with some conclusions.

## Thermally coupled flow problems

Let us start by describing a general thermally coupled Navier–Stokes formulation as a system of nonlinear convection–diffusion–reaction equations posed in a time interval \((0,t_f)\) and in a domain \(\Omega \in {\mathbb {R}}^d\) with a boundary \(\Gamma \), as:

with the nonlinear operator \(\mathcal {L}\) defined as:

and the boundary and initial conditions:

where \(\varvec{Y} = (\varvec{u},p,T)\) is the vector of unknowns (velocity \(\varvec{u}\), pressure *p* and temperature *T*), \(\varvec{n}\) is the geometric unit outward normal vector on \(\Gamma \), \(\varvec{F}\) is a known vector of \(d + 2\) components and \(\varvec{M}\), \(\varvec{A}_i\), \(\varvec{K}_{ij}\) and \(\varvec{S}\) are \((d+2 \times d+2)\) mass, convection, diffusion, and reaction matrices respectively. The usual summation convention is implied, with indices running from 1 to the number of space dimensions *d*, and the convection matrix \(\varvec{A}_i = \varvec{A}_i^c +\varvec{A}_i^f\) is split in order to define the appropriate Dirichlet (\(\Gamma _D\)) and Neumann (\(\Gamma _N\)) boundary conditions.

### Low Mach number model

Following the description of the model in [1], the zero Mach limit Navier–Stokes model is based on the splitting of the pressure into two relevant parts: mechanical *p*, which behaves as in the incompressible and Boussinesq approximations; and thermodynamic *pth*, which is constant over the domain \(\Omega \) but dependent on the energy added in such domain and therefore time dependent. Using the previous notation for the thermally coupled flows, this formulation can be written as:

where \(\varvec{0}\) is the vector of \({\mathbb {R}}^d\) with zero in all its components, \(\varvec{e}_i\) is the unit vector in the *i*-th cartesian direction, \(\varvec{I}\) is the \(d \times d\) identity matrix, and \(\rho \) is the fluid density. Viscosity \(\mu \), thermal conductivity \(\lambda \), specific heat at constant pressure \(c_p\), and heat capacity ratio \(\gamma \) are used as constant physical properties; and \(\varvec{g}\) and *Q* represent a body force vector and a given external heat source respectively. Considering that a state equation is necessary to close the system, for simplicity, in this work we will focus exclusively on ideal gases, with \(p=\rho R T\) as the state equation and *R* the specific gas constant.

Finally, the formulation is complete with the thermodynamic pressure equations: for open flows \((\Gamma _N^u \ne \emptyset )\), where the thermodynamic pressure is determined through global conservation equations over \(\Omega \) (Eq. 5a); and for closed flows \((\Gamma _N^u = \emptyset )\), where the thermodynamic pressure is determined by the boundary conditions (Eq. 5b):

## Model reduction

Projection-based ROMs rely on the existence of a reduced dimensional sub-space that approximates the solution space. Let us define a high dimensional space of dimension *M*, with \(\varvec{\varphi }\) its orthonormal basis. Then, the *i*-th component of any element can be written as the linear combination \(Y_{h,i} = \sum \nolimits _{k=1}^M (Y_{h,i},\varphi ^k_i) \varphi ^k_i\), with ( : , : ) a \(L^2\)-inner product. Note that may be an approximation to a continuous—infinite dimensional—space. Since for most cases the exact basis \(\varvec{\varphi }\) is unknown, we can define a lower-dimensional space of dimension *m*, which approximates as \(m \rightarrow M\), with a basis \(\varvec{\phi }\). Using this test basis, we can approximate the *i*-th component of any element \(\varvec{Y}_h\) as \(Y_{h,i} \approx \sum \nolimits _{k=1}^m \phi ^k_i Y^k\), where the accuracy of the approximation will depend on how accurate is the basis \(\varvec{\phi }\) compared to the exact basis \(\varvec{\varphi }\).

### Construction of the basis

Following previous works in model reduction in FE [3, 7, 9], we use the POD statistical procedure as a way to build the reduced order sub-space basis \(\varvec{\phi }\). The objective of the POD method is finding a basis for a collection of high-fidelity ‘snapshots’ to use it as a the basis of the desired reduced sub-space.

Let us organize a set of data that has been previously obtained from a solution of the problem in Eq. 1, as a *N*-collection of ‘snapshots’ \(\varvec{Y}_{h,j}^s = \varvec{Y}_{h,j} - \bar{\varvec{Y}}_h\) in an ensemble:

with \(\bar{\varvec{Y}}_h\) the mean value of the snapshots.

Now, let us denote as \(\{\varvec{\phi }^k\}_{k=1}^m\) an orthonormal basis of , where any member \(\varvec{Y}_{h,j}\) of the ensemble in Eq. 6 can be approximated as:

The POD consists in finding the orthonormal basis \(\{\varvec{\phi }^k\}_{k=1}^m\), such that, for every \(k \in \{1,\ldots ,m\}\) the mean square error between the elements \(\varvec{Y}_{h,j}\), \(1 \le j \le N\), and the corresponding *j*-th partial sum of Eq. 7 is minimized on average:

To solve the problem in Eq. 8 we follow a singular value decomposition (SVD) of the ‘snapshots’ collection in Eq. 6, where the resulting left singular-vectors of the decomposition represent the basis \(\{\varvec{\phi }^k\}_{k=1}^M\). Here, based on the Eckart–Young–Mirsky theorem we can define a reduced basis simply by truncating the left singular-vectors at the *m* column as: \(\{\varvec{\phi }^k\}_{k=1}^{m \ll M}\). As a criterion for the truncation, we use the retained energy \(\eta \) defined in [3] as:

where \(\lambda ^k\) are the SVD non-zero singular values.

### Remark

Note that this is the way we approximate \(\varvec{\phi }\), but there are several other ways to find a basis for the reduced order sub-space (as the ones in [15, 16]). The projection-based model reduction formulation below should be valid for any basis regardless of the technique used to obtain it.

### Remark

In this paper, the ‘snapshots’ data is obtained using a FE approximation and therefore, the basis \(\varvec{\phi }\) approximates the FE space —of dimension *M*—which in turn approximates the space of the continuous problem.

## FE-ROM formulation

Having stated the equations that represent the physical problem and the standard model reduction approach, we now describe the FE-ROM approximation of the problem.

In this section, let us denote as the functional continuous space where \(\varvec{Y}\) exist. Instead of following a standard Galerkin approximation of the variational problem—where the FE space is denoted as —we construct the approximation space for the ROM. The FE space is assumed to be built from a FE partition of the domain \(\Omega \). The order of the FE interpolation is irrelevant for our discussion.

Introducing the notation \((:,:)=(:,:)_\Omega \) and \((:,:)_\Gamma \), for the \(L^2\)-inner product on \(\Omega \) and \(\Gamma \) respectively, or for the integral of the product of two functions—if they are not square integrable but their product can be integrated, we can define the variational problem as finding , such that:

where \(\varvec{\Upsilon }_r\) is the test function and the problem is written using the forms *B* and *L* defined as:

Note that the terms where \(\varvec{Y}\) is not approximated by \(\varvec{Y}_r\) in Eq. 11 involve non-linearities. In a further section we discuss the linearization scheme and two ways of approximating these terms.

### VMS for FE-ROM

Given the well-known lack of stability in the Galerkin standard formulation—present in convective dominated regimes—a stabilization technique is necessary. Inspired in previous works that acknowledge instability issues [17, 18] and using a VMS framework as done for several problems in FE approximations, we develop what we call FE-ROM-Subgrid-Scales (SGS), which resembles FE-SGS.

We start by splitting the unknown of the continuous problem \(\varvec{Y}\) in a part \(\varvec{Y}_r\), which can be resolved by the FE-ROM standard approximation; and a remainder \(\breve{\varvec{Y}}\), the FE-ROM-SGS. In this way we can re-define the approximation of the continuous space as , where the SGS space is any space that completes in . Then, the variational form of the problem in Eq. 10 expands into two: finding and , such that:

Since it is desirable to avoid derivatives over the subscale \(\breve{\varvec{Y}}\), we can re-write the bilinear form \(B(\varvec{Y};\breve{\varvec{Y}},\varvec{\Upsilon }_r)\) in Eq. 13a by integrating by parts within each element and assuming that the exact tractions are continuous across inter-element boundaries, yielding:

where \((:,:)_K\) is the \(L^2\) inner product over element *K*, and \(\mathcal {L}^*\) is the adjoint of the lineal operator \(\mathcal {L}(\varvec{Y};:)\). Following the formulation in [12], this adjoint operator \(\mathcal {L}^*\) is:

### Subscales approximation

At this point, we have described two sets of equations: a FE-ROM one, in which all the terms have been described; and a FE-ROM-SGS one. In order to solve the second system, we follow a standard VMS formulation. After doing integration by parts in some terms, neglecting the tractions across inter-element boundaries, and replacing \(\varvec{u} \cdot \nabla \rho \) by \(-\frac{\rho \varvec{u}}{T} \cdot \nabla T\); we can re-write Eq. 13b as:

with the residual defined as \(\varvec{R}(\varvec{Y},\varvec{Y}_r) = \varvec{F} - \varvec{M}(\varvec{Y})\partial _t{\varvec{Y}_r} - \breve{\mathcal {L}}(\varvec{Y};\varvec{Y}_r)\), and the linear operator defined as \(\breve{\mathcal {L}} (\varvec{Y};\varvec{Y}_r) {:}{=}\partial _i{(\varvec{A}_i^c(\varvec{Y}) \varvec{Y}_r)} + \breve{\varvec{A}}_i^f(\varvec{Y}_r) \partial _i{\varvec{Y}} - \partial _i{ \left( \varvec{K}_{ij}(\varvec{Y}) \partial _j{\varvec{Y}_r} \right) } + \varvec{S}(\varvec{Y})\varvec{Y}_r\), with:

We can re-write Eq. 16 in the following way:

where \(\varvec{\Upsilon }_r^\perp \) is a term that ensures that Eq. 18 belongs to and its definition depends on the choice of .

Now, using the algebraic approximation \(\breve{\mathcal {L}}(\varvec{Y};\breve{\varvec{Y}}) \approx \varvec{\tau }^{-1}(\varvec{Y})\breve{\varvec{Y}}\), we can re-write Eq. 18 as:

where \(\varvec{\tau }\) is the matrix of stabilization parameters that depends on *K* and the coefficients of the operator \(\breve{\mathcal {L}}\). It is important to notice that so far the matrix \(\varvec{\tau }\) does not depend on the choice of the approximation space , and therefore we can use the same definition of the stabilization parameters as in the FE approximation of the problem. In this case, we use the definition of the algebraic operator \(\varvec{\tau }\) given by [2, 13]:

with the stabilization parameters defined as:

where *h* is the element size and \(c_1\) and \(c_2\) are algorithmic constants.

To complete the approximation of the subscales, it still remains to define the term \(\varvec{\Upsilon }_r^\perp \), that is, to choose the appropriate subscales space . Based on the orthogonality property of the basis \(\phi \) and on the work developed in [13, 19], we define the subscales space , which can be thought as being orthogonal to the approximation space , that implies having:

To numerically compute \(\varvec{\Upsilon }_r^\perp \) we follow the supposition made in [20], where the orthogonality between and is defined respect to the weighted inner product \((\varvec{Y},\varvec{\Upsilon })_{\varvec{M}} = (\varvec{Y},\varvec{M}(\varvec{Y}) \varvec{\Upsilon })\). Following this condition any subscale \(\breve{\varvec{Y}}\) must satisfy:

Now replacing the orthogonality condition (Eq. 23) in Eq. 19, we obtain:

from where it follows that \(\varvec{\Upsilon }_r^\perp \) is the following projection onto the space with respect to \(L^2\)-inner product, denoted by \(\Pi _r\):

Replacing \(\varvec{\Upsilon }_r^\perp \) into Eq. 19, and using the approximation \(\Pi _r \left( \varvec{\tau }^{-1}(\varvec{Y})\breve{\varvec{Y}} \right) = \varvec{M}^{-1}(\varvec{Y}) \varvec{\tau }^{-1}(\varvec{Y}) \Pi _r \left( \varvec{M}(\varvec{Y}) \breve{\varvec{Y}} \right) = \varvec{0}\) presented in [20], we find an expression for the FE-ROM-SGS:

with \(\Pi _r^\perp {:}{=}\varvec{I}-\Pi _r\) defined as the orthogonal projection on , where \(\varvec{I}\) is now the identity in .

Finally, by introducing the orthogonality condition (Eq. 23) in Eq. 14, neglecting the term \(\varvec{M}(\varvec{Y}) \partial _t{\varvec{Y}}\) in the residual \(\varvec{R}\) of Eq. 26—due to its orthogonality to given by \(\left( \varvec{M}(\varvec{Y}) \partial _t{\varvec{Y}}, \breve{\varvec{\Upsilon }} \right) = 0\), and rearranging Eqs. 14 and 26, we can state the problem in Eq. 13 as finding and , such that:

with the adjoint operator \(\mathcal {L}^*\) and the residual \(\varvec{R}\) redefined as:

### Remark

By following the same analysis performed when deriving the orthogonal SGS in [13, 19], we have come to a rather similar definition of the FE-ROM-SGS, where the most important difference lies in the definition of the orthogonal projection \(\Pi ^\perp \) in Eq. 26. In the FE case the projection is done onto the space , while in the FE-ROM approximation it is done onto the space .

### Remark

The choice of the stabilization parameters \(\varvec{\tau }\) is done following the Fourier analysis done in [13]. Since the information represented by the reduced basis corresponds to the resolved scales from the FOM, the subscales for both the FOM and the ROM are part of the continuous solution which cannot be approximated by the FOM.

### Remark

The previous definition of the FE-ROM-SGS is equivalent to the dynamic orthogonal SGS model in [20]; it is important to acknowledge that subscales could also be implemented without the temporal term (quasi-static), or not orthogonal to . An extensive analysis of the FE equivalent models is depicted in [12, 20].

### Time discretization

Any time integration scheme could now be applied to discretize in time the FE-ROM and FE-ROM-SGS equations together (Eq. 27). Considering the results in [21], where it is shown that the time integration for the subscales could be one order less accurate than for the finite element equations without affecting the accuracy of the scheme, we choose for this work two Backward Differentiation Formula (BDFs): of second order for the FE-ROM equations and of first order for the FE-ROM-SGS ones. Setting a uniform partition of the time interval of analysis \([0,t_f]\),with \(\delta t\) the time step and *n* the superscript that denotes the current time step, we can approximate the temporal derivatives in Eq. 27 using:

Replacing the time integration scheme (Eq. 28b) in Eq. 27b we get an equation for the subscales:

with the matrix of effective stabilization parameters is defined as \(\varvec{\tau }_t (\varvec{Y}^{n+1}) {:}{=}\left( \frac{\varvec{M}(\varvec{Y}^{n+1})}{\delta t} + \varvec{\tau }^{-1} (\varvec{Y}^{n+1}) \right) ^{-1}\).

Now, replacing Eq. 29 and the integration scheme (Eq. 28a) in Eq. 27a, we get:

### Linearization

To solve the non-linearity present in the terms involving \(\varvec{Y}\), we implement a linearization scheme based on Picard’s method. Using the terminology used in [20], for each time step \(n+1\), we first solve Eq. 30 for iteration \(i+1\), where the non-linear terms can be approximated in two ways: as \(\varvec{Y}_r^{n+1,i}\), for linear subscales; or as \(\varvec{Y}_r^{n+1,i} + \breve{\varvec{Y}}^{n+1,i}\), for nonlinear subscales. Then we solve Eq. 29 for iteration \(j+1\), approximating the non-linear terms in the same way: by linear subscales (\(\varvec{Y}_r^{n+1,i+1}\)); or non-linear subscales (\(\varvec{Y}_r^{n+1,i+1} + \breve{\varvec{Y}}^{n+1,j}\)).

### Discrete approximation

We can describe the discrete representation of the FE-ROM problem as a composition of the FE and ROM approximations. In FE the space is defined as made of continuous piece-wise polynomial functions in the domain \(\Omega \), where we can write the discrete approximation of the unknown as \(\varvec{Y} \approx \varvec{Y}_h(\varvec{x},t) {:}{=}\sum \nolimits _{i=1}^n N(\varvec{x}^i) \varvec{Y}^{i}(t)\), with \(N(\varvec{x}^i)\) the shape function of node *i*. In contrast, in ROM we approximate the unknown \(\varvec{Y}\) as \(\varvec{Y}(t) \approx \bar{\varvec{Y}} + \sum \nolimits _{k=1}^m \varvec{\phi }^k Y^k (t)\).

Using these two approximations, we can describe the space in two ways: as a FE space , represented using orthogonal basis \(\phi \), or as a ROM approximation of the problem, discretized in \(\Omega \) using continuous piece-wise polynomial functions. In that way, we can write the discrete representation of \(\varvec{Y}_r\) as:

### Petrov–Galerkin projection

Since the formulation presented above introduces the non-symmetrical linear operators \(\mathcal {L}\) and \(\mathcal {L}^*\), it is necessary to find an optimal projection in a way that it gives us a feasible solution [14]. To solve this lack of optimality in the projection, we replace the traditional Galerkin projection by the Petrov–Galerkin projection defined in [7]. Let us re-write the linearized version of Eq. 30 as the linear system:

where \(\varvec{\Phi }\) is the discrete basis matrix, \(\varvec{\Phi }^\top \varvec{\mathsf {L}} \varvec{\Phi }\) and \(\varvec{\Phi }^\top \varvec{\mathsf {R}}\) are the discrete left and right hand sides of Eq. 30, and \(\varvec{\mathsf {Y}}_r\) the discrete unknown.

To apply in a natural way the Petrov–Galerkin projection we define \(\varvec{\mathsf {W}} = \varvec{\Phi }^\top \varvec{\mathsf {L}} \varvec{\Phi }\) as a matrix whose column vectors form a basis to the projection space that allows us to transform the left hand side of Eq. 32 into a positive semi-define matrix. Projecting Eq. 32 onto such space we get:

Using the orthogonality property of the basis \(\varvec{\Phi } \varvec{\Phi }^\top = \varvec{\mathsf {I}}\), Eq. 33 becomes one that resembles the Petrov–Galerkin ROM formulations in [7, 9]:

### Hyper-ROM

Lastly, in order to reduce the computational cost of evaluating nonlinear terms, we propose a mesh-based hyper-ROM as an alternative to the sampling-based domain reduction algorithms [5,6,7,8,9,10].

The mesh-based hyper-ROM consists in the solution of the described ROM problem using a coarser mesh than the one of the FOM. The implementation of this technique is done straightforwardly by writing the discrete approximation (Eq. 31) in function of the new coarser mesh.

Ideally, the coarsening should be performed as a function of the ‘less important’ areas of the geometry, which can be achieved using already existing mesh refinement algorithms. In the subsequent examples we test this technique using a uniform coarsening of the mesh.

### Remark

When the POD basis is obtained by sampling a mesh-based solution—a FE one for example—the coarsening of the mesh implies an interpolation of such basis.

## Numerical examples

In this section we present two examples consisting of 2D and 3D versions of the initial transient part of a differentially heated cavity of aspect ratio 1—similar to the one presented in [12, 22]. In both examples the flow is considered an ideal gas with physical properties \(R=287.0 \frac{\text {J}}{\text {kg}\text {K}}\), \(c_p=1004.5 \frac{\text {J}}{\text {kg}\text {K}}\), and \(\mu =0.001 \frac{\text {kg}}{\text {m s}}\).

The computational domain for both problems is defined as \(\Omega = [0,L] \times [0,L]\) for the 2D problem, and \(\Omega = [0,L] \times [0,L] \times [0,L]\) for the 3D problem, with \(L= 1\) m. The temperatures on the walls perpendicular to the *x*-coordinate (horizontal) are fixed to \(T_h = 960\) K and \(T_c= 240\) K; while adiabatic boundary conditions are prescribed in the remaining walls. Additionally, no slip and impermeable conditions are set over all the walls, together with a homogeneous gravity force \(\varvec{g}\) prescribed in the negative *y*-coordinate (vertical). The initial thermodynamic pressure, temperature and density are set to \(p^{th}_0=101,325\) Pa, \(T_0 = 600\) K, and \(\rho _0 =0.58841 \frac{\text {kg}}{\text {m}^3}\) respectively, and the dimensionless Prandtl and Rayleigh numbers are set to \(Pr = \frac{c_p \mu }{\lambda } = 0.71\) and \(Ra = \frac{ 2|\varvec{g}| \rho ^2 c_p}{\lambda \mu } \frac{(T_h - T_c)}{(T_h + T_c)} = 3.55 \cdot 10^{6}\).

For the FOM solution (as a reference solution and for the construction of the snapshots), we follow the VMS formulation presented in [20], using the dynamic orthogonal SGS model. In all cases, we use a constant time step size of \(\delta t = 0.01\) s. For the finite element meshes used (described below) this time step is slightly higher than the critical time step of an explicit scheme due to advection, which in turn is of the same order as that due to viscous effects. Since we use an implicit scheme, we are not restricted to a critical time step size, but this observation serves to justify that our choice is adequate.

Additionally to the following examples, we have tested a differentially heated cavity of aspect ratio 8 analyzed in [23], getting inconclusive results.

### Two dimensional case

In the 2D problem, we use 2 uniform structured meshes composed of quadrilateral elements: one with 10,000 elements and a mesh size \(h=0.01\), used for the solving the FOM and the ROM; and one with 2500 elements and a mesh size \(h=0.02\), for testing the hyper-ROM formulation. To construct the basis, we collect 500 snapshots for velocity, pressure and temperature at every 4 time steps in a 20 s interval. Figures 1, 2, and 3, show temperature contours of the solutions obtained using the FOM, ROM, and hyper-ROM formulations respectively.

To evaluate the accuracy of the ROM and hyper-ROM formulations, we perform a series of numerical tests using 12 different sets of basis, varying the retained energy from \(\eta _1=0.99\) to \(\eta _{12}=0.3\). Figure 4 depicts the number of vectors in the basis in function of the retained energy.

In Figs. 5 and 6 we compare the Nusselt number for FOM, ROM, and hyper-ROM solutions. The Nusselt number is calculated as the integral of the local Nusselt number over the hot and cold walls \(\int _\Gamma \text {Nu}(\varvec{x},t)d \Gamma \), with the local Nusselt number defined as:

As expected, we observe a more diffusive behaviour, in both the mean and the fluctuation of the Nusselt number, when fewer basis vectors are included. The hyper-ROM results appear to have the same behaviour of the ROM with lower amplitude. Additionally, we include a FOM solution (labeled \(\text {FOM}_{H}\)) using the coarser mesh to evaluate how the hyper-ROM formulation relates to a FE mesh coarsening.

Since we are computing an initial transient period of the physical phenomena we choose a root mean square of the Nusselt error—over the hot and cold walls—as a way to measure the overall error. The discrete \(L^2\)-norm error of the Nusselt number—for each time step *i*—over all the nodes of coordinates \(\varvec{x}^a\) of a boundary \(\Gamma \) is defined as:

and the root squared mean of \(\epsilon _i\)—for *N* time steps— is defined as:

Figure 7 shows the convergence of \(\epsilon _{\text {rms}}\) over the hot and cold walls, and the mean value over both of them \(\bar{\epsilon }_{\text {rms}}\). We also include the convergence error for the FOM using the coarse mesh.

Although the convergence error does not have a clear slope, it behaves as expected, with the error decreasing with the addition of basis vectors. It is important to notice that appears to be an optimal value for \(\eta \ne 1\)—the maximum number of basis vectors—where the error reaches the minimum; considering that this results occur near \(\eta =1\), we believe it can attributed to an *overfitting* phenomenon. The same idea is explored in [24, 25], where it is attributed to a lack of smoothness or noisiness in low energy basis vectors. The overall results for the hyper-ROM seem adequate, given that the error is the same order of the ROM and the coarse mesh FOM solutions.

To evaluate the temporal evolution we perform a discrete Fourier transform of the Nusselt number. In Figs. 8 and 9 we compare the Nusselt number spectra for the hot and cold walls respectively.

Again we see how reducing the amount of basis vectors leads to a more diffusive solution. But in contrast to Fig. 7, in Nusselt number spectra we observe that the ROM and hyper-ROM spectra tend to the FOM spectra as we approach \(\eta =1\).

Regarding computational time, Fig. 10 shows speedup for all the cases under the same initial conditions, time step, and computer configuration. As expected the computational time is reduced when the coarser mesh is used. It is important to note that the computational time for the ROM and hyper-ROM is decreased not only by the solution of a smaller linear system but as well for having fewer non-linear iterations.

### Three dimensional case

For the 3D problem, we use 2 uniform structured meshes composed of regular hexahedral elements: one with 64,000 elements and a mesh size \(h=0.025\), used for the solving the FOM and the ROM; and one with 35937 elements and a mesh size \(h=0.\bar{03}\), for solving the hyper-ROM. To construct the basis, we collect 500 snapshots for velocity, pressure and temperature at every 2 time steps in a 10 s interval.

Figure 11 shows a comparison of streamlines of the FOM, ROM and hyper-ROM solutions at the last time step of the simulation.

To test the 3D problem we perform similar tests as the ones in the 2D problem using 6 different sets of bases, varying the retained energy from \(\eta _1=0.99\) to \(\eta _{6}=0.5\) Fig. 12 depicts the number of vectors in the basis as a function of the retained energy.

As in the 2D problem, for the 3D case we compute the Nusselt number, the root mean square of the Nusselt error and the discrete Fourier transform of the Nusselt number for the hot and cold walls, getting similar results.

In Figs. 13 and 14 we compare the Nusselt number spectra for the hot and cold walls. Although the results behave in a similar way as in the 2D case, the ROM and hyper-ROM seems to be more dissipative, in spite of the ratio of the meshes being smaller. We believe this could be attributed to the quality of basis, which directly depends on the quality of the snapshots used to construct it.

Figure 15 shows the root mean square of the Nusselt error for ROM and hyper-ROM, showing similar results as the 2D case, including the *overfitting* phenomena when the retained energy \(\eta \) approaches 1.

Figure 16 shows speedup for ROM and hyper-ROM solutions. The reduction in the computational time for the 3D problem is larger than the one achieved for the 2D problem, using a similar amount of basis vectors.

## Conclusions

In this work we have developed a formulation that allowed us to perform ROMs on the zero Mach number Navier–Stokes approximation. For that purpose we have described a set of tools that allow us to tackle the main problems that arise: lack of stability, added computational cost due to the non-linearities and non-optimal projection over the reduced space.

To solve the lack of stability, we have proposed a VMS-FE-ROM formulation with the following characteristics:

It is an implicit formulation, reducing the offline costs and easing the implementation.

Since it is built over a VMS framework, it incorporates non-linear terms in the adjoint operator (Eq. 15), which may become relevant in complex flows.

It maintains the orthogonality definition, proposed in [18, 26], between the sub-spaces and .

It is residual-based, as shown in Eq. 18.

It works with the same stabilization coefficients \(\varvec{\tau }\) as the ones developed for the VMS-FE formulation in [2, 12].

Although in this work we focused solely in the use of dynamic subscales, it is possible to construct the same method for quasi-static subscales or other stabilization techniques.

To solve the added computational cost, we have proposed a mesh-based hyper-ROM that contrary to the traditional sample-based methods, does not require any algorithm to select these sampling points. The numerical experiments performed show that this hyper-ROM method behaves appropriately, only inducing an expected added diffusion to the solution. A natural extension of the mesh-based hyper-ROM method is the use of mesh refinement techniques to improve both the computational time and the accuracy of the method.

Finally, to tackle the non-optimal projection of the non-linear formulation, we give a different interpretation to the Petrov–Galerkin projection—originally described in [7]—in order to include it in our formulation.

## References

- 1.
Principe J, Codina R. Mathematical models for thermally coupled low speed flows. Adv Theor Appl Mech. 2009;2(2):93–112.

- 2.
Principe J, Codina R. A stabilized finite element approximation of low speed thermally coupled flow. Int J Num Methods Heat Fluid Flow. 2008;18:835–67. https://doi.org/10.1108/09615530810898980.

- 3.
Sirovich L. Turbulence and the dynamics of coherent structures. I: coherent structures. II—symmetries and transformations. III—dynamics and scaling. Q Appl Math. 1987;45:561–71.

- 4.
Everson R, Sirovich L. Karhunen-loève procedure for gappy data. J Opt Soc Am A. 1995;12(8):1657–64. https://doi.org/10.1364/JOSAA.12.001657.

- 5.
Barrault M, Maday Y, Nguyen NC, Patera AT. An ‘empirical interpolation’ method: application to efficient reduced-basis discretization of partial differential equations. Comptes Rendus Math. 2004;339(9):667–72. https://doi.org/10.1016/j.crma.2004.08.006.

- 6.
Nguyen NC, Patera AT, Peraire J. A ‘best points’ interpolation method for efficient approximation of parametrized functions. Int J Num Methods Eng. 2008;73(4):521–43. https://doi.org/10.1002/nme.2086.

- 7.
Carlberg K, Bou-Mosleh C, Farhat C. Efficient non-linear model reduction via a least-squares Petrov–Galerkin projection and compressive tensor approximations. Int J Num Methods Eng. 2011;86(2):155–81. https://doi.org/10.1002/nme.3050.

- 8.
Ryckelynck D, Vincent F, Cantournet S. Multidimensional a priori hyper-reduction of mechanical models involving internal variables. Comput Methods Appl Mech Eng. 2012;225–228:28–43. https://doi.org/10.1016/j.cma.2012.03.005.

- 9.
Baiges J, Codina R, Idelsohn SR. Numerical simulations of coupled problems in engineering. In: Idelsohn SR, editor. Reduced-order modelling strategies for the finite element approximation of the incompressible Navier–Stokes equations. Cham: Springer; 2014. p. 189–216. https://doi.org/10.1007/978-3-319-06136-8_9.

- 10.
Hernández JA, Caicedo MA, Ferrer A. Dimensional hyper-reduction of nonlinear finite element models via empirical cubature. Comput Methods Appl Mech Eng. 2017;313:687–722. https://doi.org/10.1016/j.cma.2016.10.022.

- 11.
Ryckelynck D. A priori hyperreduction method: an adaptive approach. J Comput Phys. 2005;202(1):346–66. https://doi.org/10.1016/j.jcp.2004.07.015.

- 12.
Avila M, Principe J, Codina R. A finite element dynamical nonlinear subscale approximation for the low mach number flow equations. J Comput Phys. 2011;230(22):7988–8009. https://doi.org/10.1016/j.jcp.2011.06.032.

- 13.
Codina R. Stabilized finite element approximation of transient incompressible flows using orthogonal subscales. Comput Methods Appl Mech Eng. 2002;191(39):4295–321. https://doi.org/10.1016/S0045-7825(02)00337-7.

- 14.
Saad Y. Iterative methods for sparse linear systems, vol. 8. Philadelphia: Society for industrial and applied mathematics. p. 1–447. https://doi.org/10.1137/1.9780898718003. http://epubs.siam.org/doi/book/10.1137/1.9780898718003.

- 15.
Schimd PJ. Dynamic mode decomposition of numerical and experimental data. J Fluid Mech. 2010;656:5–28. https://doi.org/10.1017/S0022112010001217.

- 16.
Chinesta F, Ladeveze P, Cueto E. A short review on model order reduction based on proper generalized decomposition. Arch Comput Methods Eng. 2011;18(4):395. https://doi.org/10.1007/s11831-011-9064-7.

- 17.
Baiges J, Codina R, Idelsohn S. Reduced-order subscales for POD models. Comput Methods Appl Mech Eng. 2015;291:173–96. https://doi.org/10.1016/j.cma.2015.03.020.

- 18.
Iliescu T, Wang Z. Variational multiscale proper orthogonal decomposition. Convec Domin Convec Diff Eq. 2011;82(283):22.

- 19.
Codina R. Stabilization of incompressibility and convection through orthogonal sub-scales in finite element methods. Comput Methods Appl Mech Eng. 2000;190:1579–99. https://doi.org/10.1016/S0045-7825(00)00254-1.

- 20.
Avila M, Codina R, Principe J. Large eddy simulation of low Mach number flows using dynamic and orthogonal subgrid scales. Comput Fluids. 2014;99:44–66. https://doi.org/10.1016/j.compfluid.2014.04.003.

- 21.
Codina R, Principe J, Guasch O, Badia S. Time dependent subscales in the stabilized finite element approximation of incompressible flow problems. Comput Methods Appl Mech Eng. 2007;196(21–24):2413–30. https://doi.org/10.1016/j.cma.2007.01.002.

- 22.
Quéré PL, Weisman C, Paillere H, Vierendeels J, Dick E, Becker R, Braack M, Locke J. Modelling of natural convection flows with large temperature differences: a benchmark problem for low Mach number solvers. Part 1. Reference solutions. ESAIM. 2005;339:609–16 10.1051/m2an.

- 23.
Christon M, Gresho PM, Sutton SB. Computational predictability of natural convection flows in enclosures. LJINMF. 2002;40:953–80. https://doi.org/10.1002/fld.395.

- 24.
Baiges J, Codina R, Idelsohn S. Explicit reduced-order models for the stabilized finite element approximation of the incompressible Navier-Stokes equations. Int J Num Methods Fluids. 2013;72(12):1219–43. https://doi.org/10.1002/fld.3777.

- 25.
Giere S, Iliescu T, John V, Wells D. SUPG reduced order models for convection–dominated convection–diffusion-reaction equations. Comput Methods Appl Mech Eng. 2015;289:454–74. https://doi.org/10.1016/j.cma.2015.01.020.

- 26.
Azaïez M, Chacón Rebollo T, Rubino S. Streamline derivative projection-based POD-ROM for convection-dominated flows. Part I : numerical analysis. ArXiv e-prints. 2017. arXiv:1711.09780.

## Author's contributions

All authors contributed to the manuscript both in writing and the numerical experiments. The computer code for the numerical simulations was developed in FEMUSS by RR. All authors read and approved the final manuscript.

### Acknowledgements

R. Reyes acknowledges the scholarship received from COLCIENCIAS, from the Colombian Government. R. Codina acknowledges the support received from the ICREA Academia Research Program, from the Catalan Government.

### Competing interests

The authors declare that they have no competing interests.

## Author information

## Additional information

### Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## About this article

### Cite this article

Reyes, R., Codina, R., Baiges, J. *et al.* Reduced order models for thermally coupled low Mach flows.
*Adv. Model. and Simul. in Eng. Sci.* **5, **28 (2018). https://doi.org/10.1186/s40323-018-0122-7

Received:

Accepted:

Published:

### Keywords

- Reduced order models
- Finite element method
- Variational multiscale
- Hyper-reduction
- Thermally coupled flow
- Low Mach number flow