Hostname: page-component-586b7cd67f-vdxz6 Total loading time: 0 Render date: 2024-11-21T23:28:11.222Z Has data issue: false hasContentIssue false

Data-driven surrogate modeling and benchmarking for process equipment

Published online by Cambridge University Press:  04 September 2020

Gabriel F. N. Gonçalves
Affiliation:
Department of Chemical Engineering, Imperial College London, London, United Kingdom
Assen Batchvarov
Affiliation:
Department of Chemical Engineering, Imperial College London, London, United Kingdom
Yuyi Liu
Affiliation:
Department of Chemical Engineering, Imperial College London, London, United Kingdom
Yuxin Liu
Affiliation:
Department of Chemical Engineering, Imperial College London, London, United Kingdom
Lachlan R. Mason
Affiliation:
Data Centric Engineering Program, The Alan Turing Institute, London, United Kingdom
Indranil Pan
Affiliation:
Data Centric Engineering Program, The Alan Turing Institute, London, United Kingdom Centre for Environmental Policy, Imperial College London, London, United Kingdom
Omar K. Matar*
Affiliation:
Department of Chemical Engineering, Imperial College London, London, United Kingdom
*
*Corresponding author. E-mail: [email protected]

Abstract

In chemical process engineering, surrogate models of complex systems are often necessary for tasks of domain exploration, sensitivity analysis of the design parameters, and optimization. A suite of computational fluid dynamics (CFD) simulations geared toward chemical process equipment modeling has been developed and validated with experimental results from the literature. Various regression-based active learning strategies are explored with these CFD simulators in-the-loop under the constraints of a limited function evaluation budget. Specifically, five different sampling strategies and five regression techniques are compared, considering a set of four test cases of industrial significance and varying complexity. Gaussian process regression was observed to have a consistently good performance for these applications. The present quantitative study outlines the pros and cons of the different available techniques and highlights the best practices for their adoption. The test cases and tools are available with an open-source license to ensure reproducibility and engage the wider research community in contributing to both the CFD models and developing and benchmarking new improved algorithms tailored to this field.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2020. Published by Cambridge University Press in association with Data-Centric Engineering

1 Introduction

Process models are used in the design and operation stages of a process plant for a wide array of tasks including design optimization, sensitivity analysis and uncertainty quantification among others (McBride and Sundmacher, Reference McBride and Sundmacher2019). Most common process models use regression, where a variable of interest (e.g., a drag, or heat transfer coefficient) can be mapped as some function of operating conditions, fluid properties, and/or geometric parameters. Usually, experimental tests are performed in down-scaled versions of the system of interest, and the measurements are used to develop regression functions on an ad hoc basis. Computational fluid dynamics (CFD) simulations are an attractive tool to complement such a methodology as once a model has been set up and validated, parametric analysis can be easily performed manually or automatically. Additionally, numerical computations allow for the exploration of parameters that could not be easily replicated in laboratory conditions due to infrastructure or measurement limitations.

Despite the aforementioned advantages, realistic CFD simulations suffer from major limitations in terms of computational cost. Simulating moderately sized industrial systems may take hours to days on high-performance computing clusters, which means that in practice the total number of simulations in a given study will rarely be greater than a few dozen. The regression algorithm should therefore have the highest possible sample efficiency, that is, be able to provide good estimates of interpolated values with the lowest number of simulations possible. Traditional techniques used in the design of computational experiments include Latin hypercubes, Hammersley sequence sampling, orthogonal arrays and uniform designs (Simpson et al., Reference Simpson, Lin and Chen2001). These methods aim to distribute the input features such that the space of parameters is filled as “evenly” as possible. In the context of machine learning, different strategies have been used for dealing with small sample regression problems where obtaining samples is costly. They include transfer learning, semi-supervised learning, and active learning (Wu et al., Reference Wu, Lin and Huang2019) among others. This study will focus on the last strategy, since it requires minimal interference on the surrogate development algorithm and is also agnostic of the underlying CFD model. Note, however, that these techniques are not necessarily exclusive, and combinations of methods could also be explored for further improvements.

Active learning consists of a mathematical criterion, a sampling strategy, to select the most “informational” parameters from a pool of possibilities. In the present case, this consists of selecting the next expensive simulation to be performed and is decided algorithmically, possibly making use of the underlying structure of the solution estimated with previous results. This avoids an extremely expensive grid search of all parametric permutations, a procedure that is infeasible in moderately complex systems. Such grid search techniques suffer from the “curse of dimensionality,” where the number of possible combinations of simulations increases exponentially with respect to the increase in dimensionality, making such techniques computationally intractable. Active learning techniques for regression problems have been the subject of relatively few studies, when compared to classification tasks. Ray-Chaudhuri and Hamey (Reference RayChaudhuri and Hamey2002) utilized the “query-by-committee” scheme for active learning with a neural network. Several copies of the model were trained on random subsets of the data and the discrepancy of the predictions was used as a criterion for selecting samples. Cai et al. (Reference Cai, Zhang and Zhou2013) proposed an active learning algorithm which selects the examples expected to affect the predictions the most. The expected change is estimated based on the comparison between models, which were trained in subsets of the data. O’Neil (Reference O’Neil2015) compared active learning techniques in the context of linear regression models. From all the schemes investigated, only the diversity-based approach was found to significantly outperform the baseline results. Wu et al. (Reference Wu, Lin and Huang2019) analyzed the performance of six sample selection algorithms for regression, of which two were proposed by the author, on datasets from various domains. The five active learning techniques were found to outperform random selection consistently. The strategy based on greedy sampling of both inputs and output was verified to be particularly effective.

However, there does not seem to be a generic active learning strategy which can outperform all others for every class of problems. On the other hand, empirical and systematic comparison of algorithms in different domains of knowledge may be useful for a practitioner interested in applying such techniques to a specific class of problems. The present idea is to build a set of industrially relevant problems which are generic enough to cover similar types of CFD problems and benchmark different active learning algorithms to assess their efficacy and provide directions for best practices to users in similar domains. In the present work, a methodology for generation of surrogate models based on CFD simulations is explored and evaluated with a set of test cases from the literature. The library developed for benchmarking is available on GitHubFootnote 1 under an MIT Licence, which allows users to freely “use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software.” This includes functions for selecting between different strategies, preparing and extracting results from CFD cases and calculating errors, as well as case setups and plotting scripts.

The remainder of this article is organized as follows: in Section 2, the surrogate model development algorithm will be presented, along with the specific regression and sampling techniques which were evaluated. Following that, Section 3 will introduce the test cases used in the present work and Section 4.1 will detail the methodology used for comparison between methods. Finally, Section 4.2 will present the results of the analysis, along with general conclusions and recommendations for the engineering applicability of the methodology.

2 Surrogate Modeling Framework

The objective of the surrogate model approach is to develop computationally inexpensive statistical model which, following a systematic calibration can reproduce key predictions of a complete CFD simulation at a fraction of the computational cost. Mathematically, the aim is to find a regressor $ {f}^{\star}\left(\mathbf{x}\right) $ that approximates a function $ f\left(\mathbf{x}\right) $ for the domain $ \mathbf{x}\in \left[{\mathbf{x}}_{\mathrm{min}},{\mathbf{x}}_{\mathrm{max}}\right] $ , based on a limited number $ {N}_s $ of function evaluations $ \left\{f\left({\mathbf{x}}_i\right)\right\},i\in \left[1,{N}_s\right] $ . Since the toolbox is designed generically to evaluate the sampling criterion and choose from a discrete pool of parameters, the domain is divided into a fine grid of possible simulation conditions. An initial set of working conditions $ \left\{{\mathbf{x}}_i\right\},i\in \left[1,{N}_0\right] $ is chosen with a fixed initialization strategy, and the respective simulations are performed in order to obtain a set of initial responses. A regression model is built based on these results. Following that, a sampling algorithm selects a new operating condition (e.g., from the available pool) to be evaluated. This is repeated until $ {N}_s $ simulations have been performed. This workflow is shown in Figure 1. Alternatively the stopping criterion could be defined based on some measure of estimated uncertainty. For benchmarking purposes, however, the procedure presented here seems more appropriate, allowing for a direct comparison between different methods given a fixed number of simulations.

Figure 1. Workflow utilized for building the surrogate models for computational fluid dynamics (CFD) simulations through the active learning methodology.

2.1 Regression techniques

Five regression techniques of varying complexity were chosen for evaluation. The key concepts will be introduced here; for details on each model we refer the reader to Hastie et al. (Reference Hastie, Tibshirani and Friedman2009). The implementations were provided in the scikit-learn package (Pedregosa et al., Reference Pedregosa, Varoquaux, Gramfort, Michel, Thirion, Grisel, Blondel, Prettenhofer, Weiss, Dubourg, Vanderplas, Passos, Cournapeau, Brucher, Perrot and Duchesnay2011). Most of these techniques depend on hyperparameters—parameters the values of which are set before the training process begins. These need to be adjusted through empirical rules and systematic testing. In order to keep the procedure of this work simple and relevant to engineering applications, we forfeited fine-tuning of default parameters whenever possible, restricting the analysis to the defaults provided by the software. These settings have been shown to work well across a wide range of problem domains and have hence been recommended as defaults in the popular software implementations. As such, they would also be the default choice to a user applying such active learning techniques to a new CFD model with minimal prior insight regarding the choice of hyperparameters. Therefore, the results of each method should not be seen as best case scenarios, but instead as a typical results.

2.1.1 Linear regression

The most basic kind of regression is a linear model, given by:

(1) $$ {f}^{\star}\left(\mathbf{x}\right)=\mathbf{a}\cdot \mathbf{x}+b, $$

where $ \mathbf{a} $ and $ b $ are coefficients to be adjusted based on observations.

Linear regression can often describe the behavior of functions over small ranges, but eventually becomes too limited to describe data from real systems. It is included here as a baseline for comparison to more sophisticated models.

2.1.2 Gaussian process regression

Gaussian process (GP) regression is a nonparametric Bayesian technique, which provides the regression as a distribution over functions. As such, predictions are also characterized by a mean value and a standard deviation. The mean values of the predictions are given by:

(2) $$ {f}^{\star}\left(\mathbf{x}\right)=\sum \limits_{i=0}^{N_t}{w}_ik\left({\mathbf{x}}_i,\mathbf{x}\right), $$

where $ {\mathbf{x}}_i $ are the parameters used for training and $ {N}_t $ is the total number of observations. The weights $ {w}_i $ can be calculated with the knowledge of the kernel function $ k({\mathbf{x}}_i{\mathbf{x}}_j) $ and the responses $ f\left({\mathbf{x}}_i\right) $ . A kernel function $ k({\mathbf{x}}_i{\mathbf{x}}_j) $ must be chosen to generate the covariance matrix, which defines the smoothness of the regression function. Here, three alternatives will be compared: the radial-basis function (RBF), Matérn, and cubic kernels (Rasmussen and Williams, Reference Rasmussen and Williams2005). The RBF kernel is a popular choice for GP models, given by:

(3) $$ k\left({\mathbf{x}}_i,{\mathbf{x}}_j\right)=\exp \left(-\frac{1}{2}d{\left({\mathbf{x}}_i/l,{\mathbf{x}}_j/l\right)}^2\right), $$

where $ d $ is the Euclidean distance between the vectors and $ l $ is a length-scale hyperparameter, which should be strictly positive. The Matérn kernel is a generalization of the RBF kernel. It is defined by an additional parameter $ {\nu}_M $ . In the particular case of $ {\nu}_M=5/2 $ , the obtained functions are twice differentiable, and the kernel is given by:

(4) $$ k\left({\mathbf{x}}_i,{\mathbf{x}}_j\right)=\left(1+\sqrt{5}d\left({\mathbf{x}}_i/l,{\mathbf{x}}_j/l\right)+\frac{5}{3}d{\left({\mathbf{x}}_i/l,{\mathbf{x}}_j/l\right)}^2\right)\exp \left(-\sqrt{5}d\left({\mathbf{x}}_i/l,{\mathbf{x}}_j/l\right)\right). $$

In the present models, the initial length scale $ l $ was set to $ 0.1 $ . The cubic kernel is given by:

(5) $$ k\left({\mathbf{x}}_i,{\mathbf{x}}_j\right)={\left({\sigma}_0^2+{\mathbf{x}}_i\cdot {\mathbf{x}}_j\right)}^3, $$

where $ {\sigma}_0 $ is a hyperparameter. The parameter estimation was performed using an optimization algorithm (L-BFGS-B, a variation of the Limited-memory Broyden–Fletcher–Goldfarb–Shanno algorithm; Zhu et al., Reference Zhu, Byrd, Lu and Nocedal1997).

2.1.3 Random forest regression

In a random forest regression, the response is obtained from a combination of the predictions of several decision trees, which are trained on random subsets of the complete dataset. The technique has become very popular for nonlinear regression, scaling well to many input parameters and large amounts of data. It also allows for an inspection of the importance of individual features in the results, which can be useful for interpretability. The number of trees was set to 10.

2.1.4 Support vector regression

Support vector regression relies on projecting the input data onto a reproducing kernel Hilbert space, where a linear regression is then performed. Here, the frequently adopted RBF kernel (Equation 3) was used.

2.1.5 Multilayer perceptron

A multilayer perceptron is a type of neural network composed of a sequence of layers of neurons. A series of linear operations and nonlinear activation functions is applied to the input vector as it passes through the network, until a single output vector is obtained. Since data are scarce in the cases considered here, a single hidden layer with 10 neurons was used. The stochastic optimization algorithm Adam (Kingma and Ba, Reference Kingma and Ba2014) was used for weight adjustment.

2.1.6 Summary

A summary of the total number of adjustable parameters for each technique, with the configurations presented before, is shown in Table 1. Here, $ {N}_f $ is the number of features in the input vector. In a situation of scarce data, as examined here, the computational cost of fitting the parameters is negligible in comparison to the data collection. In scenarios of abundant data, on the other hand, the scalability of each method in respect to $ {N}_t $ may be a matter of concern.

Table 1. Number of fitting parameters used in each regression technique.

2.2 Sampling strategies

Five sampling strategies were compared: random sampling, three variations of greedy sampling presented by Wu et al. (Reference Wu, Lin and Huang2019) and a strategy based on the estimation of prediction variance, specific to GP models. The active learning strategies were implemented using the modAL Python package (Danka and Horvath, Reference Danka and Horvath2018).

2.2.1 Random sampling

Random sampling is commonly used as a base reference for comparing against other methodologies. Since it does not require any kind of modeling, it has negligible computational overhead, and is readily parallelizable. However, the fact that it neglects the underlying structure of the response space means that for complex functions it might require a very large number of function evaluations to converge. Samples are randomly chosen from the pool:

(6) $$ \left\{{\mathbf{x}}_i\right\}\overset{R}{\to }{\mathbf{x}}_s. $$

2.2.2 Greedy sampling on the inputs

Greedy sampling on the inputs seeks to sample the locations which maximize the exploration of the input space, ignoring outputs. It is not dependent on a regression model for estimation of outputs, which means that the computational overhead is low. The distance $ d $ in feature space of an unlabeled instance $ {\mathbf{x}}_i $ to the already labeled positions $ {\mathbf{x}}_j $ is given by:

(7) $$ {d}_{\mathbf{x}}\left({\mathbf{x}}_i\right)=\underset{j}{\min}\left\Vert {\mathbf{x}}_i-{\mathbf{x}}_j\right\Vert . $$

For greedy sampling on inputs, each sample is selected according to:

(8) $$ {\mathbf{x}}_s=\underset{{\mathbf{x}}_i}{\mathrm{argmax}}{d}_{\mathbf{x}}\left({\mathbf{x}}_i\right). $$

This methodology can be characterized as a passive sampling scheme, since the selection does not require values of the output variables, meaning that it shares some of the same advantages of the random scheme. As the points are added gradually, the distribution of points generates a hierarchical grid somewhat similar to the one generated by a grid search.

2.2.3 Greedy sampling on the output

In contrast to the previous strategy, greedy sampling on the output aims to find the unlabeled instance that maximizes the distance of estimated responses to the previously observed function values. The distance of an unlabeled instance in output space is given by:⋆

(9) $$ {d}_f\left({\mathbf{x}}_i\right)=\underset{j}{\min}\mid {f}^{\star}\left({\mathbf{x}}_i\right)-f\left({\mathbf{x}}_j\right)\mid . $$

The next sample is selected according to:

(10) $$ {\mathbf{x}}_s=\underset{{\mathbf{x}}_i}{\mathrm{argmax}}{d}_f\left({\mathbf{x}}_i\right). $$

This strategy will lead to a large number of samples in the regions where the response function varies rapidly, but potentially small exploration of the parameter space. In the case of multimodal functions, for example, this could lead to important features being missed in the sampling procedure.

2.2.4 Greedy sampling on both inputs and output

The greedy algorithm based on inputs and outputs is a combination of the previous criteria. The distances in both feature and response spaces are combined. The next sample is selected according to:

(11) $$ {\mathbf{x}}_s=\underset{{\mathbf{x}}_i}{\mathrm{argmax}}{d}_{\mathbf{x}}\left({\mathbf{x}}_i\right){d}_f\left({\mathbf{x}}_i\right). $$

The distances in input and output spaces are calculated as shown before. The product of distances is used here instead of a weighted sum so that the resulting function is independent of the scales of the inputs and output.

2.2.5 Variational sampling

In the case of GP regressors, the standard deviation $ {\sigma}^{\star } $ of the predictive distribution may be used as a criterion for choosing sampling locations. In this case, the sample is chosen with:

(12) $$ {\mathbf{x}}_s=\underset{{\mathbf{x}}_i}{\mathrm{argmax}}{\sigma}^{\star}\left({\mathbf{x}}_i\right). $$

The standard deviation does not depend directly on the response values obtained at the training stage, which is a characteristic of the Gaussian distribution (Rasmussen and Williams, Reference Rasmussen and Williams2005). However, these values are still utilized for the optimization of the kernel’s hyperparameters, which affect in turn the expected covariance.

2.3 Computational fluid dynamics simulations

In order to quantify the performance of the systems analyzed here, the flow field inside the domain of interest has to be characterized. Engineering quantities such as pressure and shear stresses, for example, can be obtained from the knowledge of velocity and pressure fields, along with the fluid properties. The core equations to be solved are the continuity and momentum balance equations (Batchelor, Reference Batchelor2000). The continuity equation for incompressible flows is given by:

(13) $$ \nabla \cdot \mathbf{u}=0, $$

while the momentum equation is expressed by:

(14) $$ \frac{\partial \mathbf{u}}{\partial t}+\nabla \cdot \left(\mathbf{u}\otimes \mathbf{u}\right)-\nabla \cdot \left({\nu}_{app}\nabla \mathbf{u}\right)=-\nabla p, $$

where $ \mathbf{u} $ is the velocity, $ p $ is the static pressure divided by the constant fluid density, $ {\nu}_{app} $ is the apparent kinematic viscosity, and $ t $ denotes time; gravitational forces have been neglected. We consider, for generality, that the apparent kinematic viscosity follows a power law $ {\nu}_{app}=k{\left|\dot{\gamma}\right|}^{n-1} $ , where $ k $ is the consistency and $ n $ is the flow index. The Newtonian behavior of the fluid, as assumed in test Cases 1 and 2, can be recovered by setting the value of $ n $ to unity in which case we set $ k\equiv \nu $ , a constant. In nondimensional form, Equations (13) and (14) may be rewritten as:

(15) $$ \nabla \cdot {\mathbf{u}}^{\star }=0 $$

and

(16) $$ \frac{\partial {\mathbf{u}}^{\star }}{\partial t}+\nabla \cdot \left({\mathbf{u}}^{\star}\otimes {\mathbf{u}}^{\star}\right)-\frac{1}{\mathit{\operatorname{Re}}}\nabla \cdot \left(\frac{\nu_{app}}{\nu_{ref}}\nabla {\mathbf{u}}^{\star}\right)=-\nabla {p}^{\star }, $$

where $ \mathit{\operatorname{Re}} $ ( $ = UL/{\nu}_{ref} $ ) is a Reynolds number in which $ L $ and $ U $ represent characteristic length and velocity scales, the choice of which is case dependent; here, $ t $ and $ p $ were scaled on $ L/U $ and $ \rho {U}^2 $ , respectively, wherein $ \rho $ denotes the fluid (constant) density. The reference viscosity is taken to be $ {\nu}_{ref}=k{\left(U/L\right)}^{n-1} $ .

In the case of turbulent flows, two-equation models based on the turbulent viscosity are used such as the $ k $ - $ \varepsilon $ model (Launder and Spalding, Reference Launder and Spalding1974). The simulations were performed with OpenFOAM-6 with two-dimensional setups, except for the last test case, which is fully three-dimensional (3D). In the case of axisymmetric flows (Cases 1 and 2), the geometry is defined as a wedge of small angle and thickness of a single cell in the out-of-plane direction. All simulations utilized second-order discretization schemes for the spatial terms, and steady state was assumed. If the mixing performance is to be evaluated (as in test Case 1), a transport equation for a passive scalar $ c $ can also be solved:

(17) $$ \frac{\partial c}{\partial t}+\nabla \cdot \left(\mathbf{u}c\right)-\nabla \cdot \left(\frac{\nu_{eff}}{Sc}\nabla c\right)=0, $$

where the turbulent viscosity, $ {\nu}_{eff} $ , is provided by the turbulence model and the Schmidt number, $ Sc $ , is taken to be unity.

3 Case Definitions

3.1 Case 1: flow through a static mixer

Industrial high efficiency vortex static mixers are commonly used for turbulent mixing along pipelines (Thakur et al., Reference Thakur, Vial, Nigam, Nauman and Djelveh2003; Eissa, Reference Eissa2009). The first case in this study aims to model the geometry of such a mixer. The fluid enters the domain through the leftmost boundary, where a passive scalar is inserted in part of the domain. As it goes across the device, turbulent mixing takes place, eventually leading to a nearly uniform concentration of the tracer on the cross-section. To evaluate the mixing performance of the device, Equation (17) was solved along with the flow equations, as mentioned previously. The two-dimensional geometry of the static mixer is shown in Figure 2. For the surrogate model, we mainly focus on two of the parameters: blade length to diameter ratio ( $ L/D $ ) from 0.2 to 0.3, and blade angle ( $ \theta $ ) from 0.8 to 1.57 rad. The Reynolds number, $ \mathit{\operatorname{Re}} $ ( $ = UD/\nu $ ), is kept constant at $ {10}^5 $ , where $ U $ is the constant speed of the fluid that enters the mixer from the left boundary, where a uniform velocity profile is imposed; note that here we consider the fluid to be Newtonian with a constant kinematic viscosity, $ \nu $ . For all the walls in contact with the fluid (e.g., upper wall of the wedge, and blade walls), a no-slip condition is imposed. For scalar transport, the tracer injection at the inlet is set as a step profile similar to the one presented by (Eissa, Reference Eissa2009). The turbulence model used is the standard $ k $ - $ \varepsilon $ (Launder and Spalding, Reference Launder and Spalding1974), and a turbulence intensity of 5% was set for the inlet. To determine the mixing performance, $ {c}_v $ at the outlet is calculated, which corresponds to the variance of the tracer concentration at the outlet:

(18) $$ {c}_v=\frac{\sqrt{\overline{{\left(c-\overline{c}\right)}^2}}}{\overline{c}}, $$

where the average concentration, $ \overline{c} $ , is computed over the outlet area.

Figure 2. Schematic representation of the static mixer geometry used in Case 1 with side- and front-views shown in (a) and (b), respectively.

In order to assure that the results were valid in a wide range of conditions, the wall boundary conditions utilized for $ \varepsilon $ , $ k $ , and $ {\nu}_t $ were set to, respectively epsilonWallFunction, kLowReWallFunction, and nutUSpaldingWallFunction, which automatically switch between low- and high-Reynolds number formulations as needed.

Figure 3 shows the nondimensional velocity magnitude, turbulent kinetic energy, and concentration fields obtained for a geometry similar to the one presented by Eissa (Reference Eissa2009), with an angle of $ \theta =\pi /4 $ . Despite the fact that the current results were generated using a two-dimensional formulation, they are nonetheless in qualitative agreement with the results of Eissa (Reference Eissa2009) and Bakker and Laroche (Reference Bakker and LaRoche2000). One major discrepancy with the work by Eissa (Reference Eissa2009) is the cross-sectional vortices generated at the blade tips. In order to reproduce those more accurately, it is possible for us to deploy more sophisticated turbulence models, or large eddy simulations, to better capture these phenomena, but this is not the focus of the present work.

Figure 3. Computational fluid dynamics simulation of turbulent scalar transport through a static mixer using the $ k $ - $ \varepsilon $ model (Launder and Spalding, Reference Launder and Spalding1974) for Case 1 showing steady, two-dimensional nondimensional velocity magnitude (a), turbulent kinetic energy (b), and scalar concentration (c), fields, generated with $ \mathit{\operatorname{Re}}={10}^5 $ , $ L/D=0.3 $ , and $ \theta =\pi /4 $ . The scale bars represent the magnitude of the fields depicted in each panel.

3.2 Case 2: orifice flow

Flow through an orifice is a common occurrence in industry with applications that include pipeline transportation of fluids, and flow in chemical reactors and mixers wherein orifice flows are used for the purpose of flow rate measurement and regulation. Here, pressure drop across the orifice as a function of system parameters is investigated. As the shape is symmetrical in both the radial and axial directions, the computational domain is a pipe sector, as shown in Figure 4. A uniform velocity profile is considered for the inlet boundary, and no slip conditions are applied for the wall. At the outlet, a constant pressure is assumed. When creating the surrogate model, the geometry of the orifice is allowed to vary, such that each configuration is defined by the area ratio $ {\left(d/D\right)}^2 $ and length to diameter ratio $ s/d $ . The Reynolds number $ \mathit{\operatorname{Re}} $ , given here by $ UD/\nu $ , is taken to be constant and equal to $ {10}^5 $ . The flow field simulated in OpenFOAM is using the SST k- $ \omega $ model (Menter et al., Reference Menter, Kuntz, Langtry, Hanjalic, Nagano and Tummers2003). A turbulence intensity of 2% was assumed for calculation of turbulent kinetic energy at the inlet, and this value was used along with a prescribed mixing length for definition of the specific turbulence dissipation value. The chosen mesh resolution resulted in a total of $ 5.1\times {10}^4 $ cells for a setup with area ratio $ {\left(d/D\right)}^2=0.54 $ and length to diameter ratio $ s/d=0.2 $ (see Figure 11). Mesh refinement is utilized to increase the mesh density close to wall while reducing computational cost simultaneously. A mesh-refinement study has been conducted to prove that the solutions obtained are mesh-independent. The difference in pressure drop across the vena contracta between $ 2.5\times {10}^4 $ cells and $ 5.1\times {10}^4 $ cells is less than 2% as well as the difference between $ 5.1\times {10}^4 $ cells and $ {10}^5 $ ; thus the setup for $ 5.1\times {10}^4 $ cells was deemed to produce simulation results that are unaffected by mesh resolution.

Figure 4. Schematic representation of the orifice geometry used in Case 2 with side- and front-views shown in (a) and (b), respectively.

Since the change in geometry is expected to have an impact on the mesh requirements for the wall, the boundary conditions for $ \omega $ , $ k $ , and $ {\nu}_t $ were set to, respectively omegaWallFunction, kLowReWallFunction, and nutUSpaldingWallFunction, which are able to deal with low- and high-Reynolds number scenarios as needed.

In Figure 5, we compare our results with the of experimental data of Fossa and Guglielmini (Reference Fossa and Guglielmini2002) for the local pressure drop across the orifice as a function of the flow Reynolds number. Inspection of Figure 5 reveals excellent agreement—with maximum deviations of 7.9%—which inspires confidence in the reliability of the present numerical predictions.

Figure 5. A comparison of the current predictions of pressure drop across the orifice as a function of the local Reynolds number with the experimental data of Fossa and Guglielmini (Reference Fossa and Guglielmini2002) with $ {\left(d/D\right)}^2=0.54 $ and $ s/d=0.20 $ (see Figure 4b).

3.3 Case 3: flow in an inline mixer (2D)

The third case is representative of flow of Newtonian and power-law fluids in an inline mixer reported by Vial et al. (Reference Vial, Stiriba and Trad2015). This setup utilizes a two-dimensional geometry, neglecting the effect of the flow in the axial direction. The geometry and key variables are shown in Figure 6. The impeller rotates in the counter-clockwise direction around the $ z $ -axis, while the outer tank wall is kept fixed. For further efficiency gains in the simulation, a periodic symmetry is prescribed in the tangential direction. For this system, the power number (per nondimensional length $ {L}_e/d $ ) $ {N}_{p,2D} $ is chosen as the main variable of interest. It is given by:

(19) $$ {N}_{p,2D}=\frac{2\pi {T}_{2D}}{N^2{d}^4}, $$

where $ {T}_{2D} $ is the torque applied per fluid mass and $ N $ is the rotation speed. Through dimensional analysis, it can be shown that this value is a function of the Reynolds number, $ \mathit{\operatorname{Re}} $ ( $ =d2\pi {N}^{\left(2-n\right)}{d}^2/k $ ), nondimensional gap between rotor and stator $ \alpha $ ( $ =\left(D-d\right)/D $ ), flow index $ n $ , and number of blades $ {N}_b $ .

Figure 6. Schematic representation of the geometry used in Case 3, two-dimensional flow in an inline mixer.

The simulations performed were two-dimensional. Vial et al. (Reference Vial, Stiriba and Trad2015) reported that this simplification was adequate to describe the behavior of the system as long as the flow was in the laminar regime and the nondimensional gap between rotor and stator was kept below $ 0.2 $ . Thus, these restrictions were considered in the choice of parameter ranges. Similarly to the original study, the computational domain consisted of a single blade, and cyclic boundaries were applied for the tangential direction. No-slip conditions were considered for the walls, and the rotation effect was included through the Single reference frame (SRF) model. Further details about the SRF methodology can be found in Wilhelm (Reference Wilhelm2015).

All computations were performed with a quadrilateral mesh with circumferential resolution $ \Delta s/{D}_s=0.005 $ and radial resolutions $ \Delta {r}_i/{D}_s=0.005 $ and $ \Delta {r}_o/{D}_s=0.002 $ at the rotor and stator regions, respectively. The difference in the power number obtained with a finer mesh, with double the resolution, was 0.3%. Table 2 shows the comparison of the power coefficient $ {k}_p $ ( $ ={N}_{p,2D}{ReL}_e/d $ ) calculated here and the results obtained by Vial et al. (Reference Vial, Stiriba and Trad2015) through experiments and two-dimensional simulations. The agreement is very good.

Table 2. Comparison between present results for power coefficient, $ \alpha $ , and those reported by Vial et al. (Reference Vial, Stiriba and Trad2015).

3.4 Case 4: flow in an inline mixer (3D)

The final test case is a 3D version of the inline mixer presented before. Here, besides the rotation around the $ z $ -axis, we also take into account the flow along that direction, as well as the finite length of the blades. The newly introduced variables are illustrated along with the general geometry in Figure 7.

Figure 7. Schematic representation of the geometry used in Case 4, three-dimensional flow in an inline mixer.

Besides the parameters defined before, this setup introduces two new parameters to the input: the axial Reynolds number $ {\mathit{\operatorname{Re}}}_{\mathrm{ax}} $ ( $ ={dUN}^{\left(1-n\right)}d/k $ ), and the nondimensional length $ {L}_e/D $ , for a total of six parameters. The mesh utilized for the 3D case was less refined than for the two-dimensional setup, with circumferential resolution $ \Delta s/{D}_s=0.01 $ , radial resolutions $ \Delta {r}_i/{D}_s=0.01 $ and $ \Delta {r}_o/{D}_s=0.005 $ at the rotor and stator regions, respectively, and axial resolution $ \Delta z/{D}_s=0.01 $ . The power number difference to a mesh with double the resolution was 1.2%. The power coefficient numbers obtained with this setup and the comparison to the experimental values are shown in Table 2. The values are well within the experimental uncertainty of the measurements.

3.5 Summary of regression variables

Table 3 shows a summary of the parameters considered for the surrogate models, along with the respective output variables. Note that all variables are nondimensional, in order to enforce similarity constraints. The variables that could vary over several orders of magnitude were represented in logarithmic form.

Table 3. Features and responses utilized in each of the three test cases.

Table 4 presents the comparison between the average computational costs of the test cases, including the time to both generate the parameterized mesh as well as to calculate the solution of the flow. The values range from a few minutes to 1 h, and are directly related to the size of the grid that is required.

Table 4. Typical computational cost of individual simulations of each test case.

4 Results and Discussion

4.1 Performance evaluation methodology

Before the active-learning techniques are employed, an initial version of the regression model must be calibrated. All methods are initialized with the procedure proposed by Wu et al. (Reference Wu, Lin and Huang2019): the first point is located at the centroid of the parameter space, followed by $ {N}_0-1 $ locations selected with the passive strategy of greedy sampling on inputs. We set the total number of initial simulations $ {N}_0 $ to be equal to $ 4{N}_{\mathrm{features}} $ in Cases 1 and 2, $ 2{N}_{\mathrm{features}} $ in Cases 3 and 6 in Case 4.

In order to quantify the global interpolation performance of each algorithm, a set of $ {N}_e $ simulations with parameters $ {\mathbf{x}}_i $ is performed, independent of the ones used in the development of the surrogate model, to be used as “ground truth.” The average relative error is given by Equation (20):

(20) $$ {\varepsilon}^{\star }=\frac{1}{N_e}\sum \limits_{i=0}^{N_e}\frac{\mid f\left({\mathbf{x}}_i\right)-{f}^{\star}\left({\mathbf{x}}_i\right)\mid }{\mid f\left({\mathbf{x}}_i\right)\mid }. $$

The positions $ {\mathbf{x}}_i $ for error estimations were chosen randomly, with the total number of simulations $ {N}_e $ set to $ 100 $ . Additionally, for the techniques that are stochastic—either due to the regression or sampling methods— $ 10 $ repetitions were performed. Results are presented in the form of a mean value and a confidence interval of 95% based on the $ t $ -distribution. Due to the very high computational cost of the full 3D computations, we have utilized a single repetition of each for Case 4, such that no confidence bars are provided.

4.2 Discussion

Figure 8 presents a qualitative comparison of the interpolation obtained for Case 1 using the regression techniques presented in Section 2.1. In order to better isolate effects, a fixed sampling method was used for these results: in this case, greedy I/O, based on the recommendation of Wu et al. (Reference Wu, Lin and Huang2019). The predictions of all methods are found to be qualitatively very similar. The notable outlier is the random forest regression—although the predicted values are reasonable, the surface is non-smooth, since the values originate from a combination of decision trees. It is important to highlight that, despite using the same sampling strategy, the sampling locations for each regression method may be different, since they also depend on the predicted values provided by the regression.

Figure 8. Comparison between regressions for case 1, with 20 samples. Circles indicate sampling locations.

In Figure 9, a qualitative visual comparison between sampling strategies for case 1 is presented. Based on preliminary performance tests which indicated it performed well in quantitative tests, the fixed regression strategy chosen here was a Gaussian process with the Matérn 5/2 kernel. A good sampling strategy should be able to adapt to both the situation of “effect sparsity”—where only some of the parameters significantly affect the solution—as well as the situation where all inputs have equal importance (Morris and Mitchell, Reference Morris and Mitchell1995). As such, sampling positions should be spread out enough so as to fully capture the main features of the response surface, while simultaneously avoiding unnecessary computations in regions of low gradient. The greedy input and variational methods provide a uniform coverage of the domain, while the greedy output sampling is heavily biased towards the center and top right regions. The greedy I/O, as a mix of two criterion, has a somewhat attenuated bias.

Figure 9. Comparison between sampling strategies for Case 1, with 20 samples. Circles indicate sampling locations and numbers indicate the sampling order (positions used for initialization are unlabeled).

Figure 10 presents the calculated interpolation error for each regression strategy. The relative errors are high for Case 2 since the response function has values close to zero in a large part of the domain, but the trends are somewhat consistent between all cases. Since it has very few degrees of freedom, the strategy employing linear regression rapidly stagnates after a small number of simulations. Similarly, the performance of the multilayer perceptron does not improve significantly as samples are added; most likely, this can be attributed to overfitting due to the quite limited number of data points. The Gaussian process regression performs well in all three cases, while Support Vector regression has mixed results: the performance is satisfactory for Cases 1 and 3 but poor for Case 3. Finally, it is noticeable that, in general, the curves are nonsmooth and nonmonotonic, meaning that there is room for significant optimization with the choice of sampling quantity and locations.

Figure 10. Error as a function of number of samples beyond the ones used for the initialization for different regression strategies, for case 1 (top), case 2 (middle) and case 3 (bottom).

Figure 11 show the progress of the estimated error as the number of simulations increases, for different sampling strategies. For Cases 1 and 2, most of the examined strategies had performance comparable or slightly better than the random baseline. For the latter, in particular, the errors obtained with the variational, greedy I and greedy I/O strategies were lower than half of the baseline values, with more than approximately five samples. For Case 3, the variational and greedy I significantly outperformed random sampling in the range of 5–30 samples. Despite the relatively low dimensionality of the the cases that were examined, some positive effect may be observed already with the use of the passive or active strategies, especially at low numbers of samples.

Figure 11. Error as a function of number of samples beyond the ones used for the initialization for different sampling strategies, for Case 1 (top), Case 2 (middle), and Case 3 (bottom).

The scalability of the techniques to more complex systems can be evaluated by analyzing Figure 12, which presents the performance of the regression and sampling techniques as a function of the number of simulations performed on Case 4. The general trend is somewhat similar to the one observed for Case 3, a similar mixer setup. However, due to the limited samples and larger parameter space, instances of severe overfitting are observed in some situations, leading to predictions outside of the training data to be completely erroneous. In fact, the only sampling technique that seems to be able to provide reasonable predictions for the GP model is the GIO algorithm.

Figure 12. Error of the regressions developed for Case 4 as a function of number of samples beyond the ones used for the initialization, for different regression strategies (top), and different sampling strategies (bottom).

The overfitting problem is illustrated explicitly in Figure 13, which compares the predictions for training and test data, for two different sampling methodologies. The GP fit is quite flexible and able to reproduce the set of training data very well. In complex cases, however, the hyperparameter optimization may lead to length scales which are too small, such that the regression function collapses into a combination of singularities around the training data. This results in meaningless values for any new data outside the immediate neighborhood of the training set. Although this could be addressed through fine tuning of the algorithm, it would require a case-by-case analysis. In this case, the GIO strategy seems to achieve a balance between density and coverage of the sampling space, leading to a smoother convergence of the length scale to an adequate value.

Figure 13. Comparison between predicted and reference values for the GP52 regression with GIO (a) and variational sampling (b) generated with 20 samples for Case 4.

Similar comparisons of predictions and reference values are shown for the other cases on Figure 14. Systematic deviations may be observed in some situations for variational, GI, and GO sampling. Using a more balanced sampling approach such as GIO, which does not focus on one specific area of the parameter space seems to aid the most stable result outcome without the need of additional fitting procedures.

Figure 14. Comparison between predicted and reference values for each Cases 1–3, with 5 (left) or 20 samples (right). Dashed lines represent a 20% error.

A summary of the error values obtained with each sampling strategy, for selected numbers of samples (5, 10, or 20), is shown in Table 5. The active learning strategies managed to outperform random sampling in most of the chosen configurations. The variational method, based on estimates of standard deviation provided by the GP, presented the best performance on Cases 1 and 3, followed closely by the greedy input passive sampling. On Case 2, the latter performed particularly well, although the variational approach also presented satisfactory results in the case of 10 and 20 samples. Greedy sampling on the outputs strategy proved inconsistent across the three two-dimensional cases, where it performed particularly bad for Case 2. Once more the last remaining greedy strategy (GIO) proved to work persistently across the first three cases, whereas for Case 4 it was the only algorithm that provided satisfactory results. In the 3D case GIO outperformed random sampling for low query numbers, whereas the latter began to be increasingly competitive as the number of samples was increased.

Table 5. Error for different sampling strategies, for 5, 10 or 20 queries.

Bold values represented the best performance in each configuration.

Abbreviations: GI, greedy sampling on the inputs; GIO, greedy sampling on both inputs and output; GO, greedy sampling on the output; R, random; V, variational.

5 Final Remarks and Future Directions

We have evaluated different active-learning strategies for the development of surrogate models based on CFD simulations. The procedure was applied to a selection of industrially-relevant flow cases, and an extensive comparison between different regression and sampling algorithms was performed. In general, one active learning strategy (GIO) proved to work consistently across all cases, outperforming random sampling in most instances. This strategy proved superior to other active learning strategies particularly for Case 4, where it provided meaningful results without the need for additional fine tuning of the fitting algorithm. For the lower dimensional (Cases 1–3), two active-learning strategies (variational and greedy sampling on inputs) outperformed random sampling for all cases considered.

The very small sample sizes, in this study, due to the restriction on the number of queries ensures that only a limited part of the parameter space for low-dimensional cases is explored, which is also the case in high-dimensional problems even with increased samples. Hence potentially similar results could hold for higher-dimensional problems, but this needs to be quantified in future studies. Using the methodology presented here, further benchmarks need to be developed for other classes of flow problems, involving, for example, discontinuous parameter spaces and/or noisy or stochastic results. The algorithms could also take into account the non-uniform computational cost of the simulations using an approach similar to that followed by Snoek et al. (Reference Snoek, Larochelle and Adams2012). To improve upon the present results in future work, the CFD-agnostic active-learning schemes employed in the present paper might need to incorporate physical insights and case-specific knowledge.

Funding Statement.

We acknowledge Funding from the UK Research and Innovation, and Engineering and Physical Sciences Research Council through the PREdictive Modeling with QuantIfication of UncERtainty for MultiphasE Systems (PREMIERE) program, grant number EP/T000414/1, the AI for Science and Government project on Digital Twins for Multiphase Flow Systems, and the Royal Academy of Engineering for a Research Chair in Multiphase Fluid Dynamics for OKM. G.G. acknowledges funding by CNPq, Brazil. I.P. acknowledges funding from the Imperial College Research Fellowship scheme.

Competing Interests.

The authors declare no competing interests exist.

Data Availability Statement.

Scripts and test cases setups may be found in the following repository: https://github.com/ImperialCollegeLondon/al_cfd_benchmark.

Ethical Standards.

The research meets all ethical guidelines, including adherence to the legal requirements of the study country.

Author Contributions.

Conceptualization, L.M. and I.P.; Investigation, G.G., Y.L., and Y.L.; Software, G.G.; Supervision, A.B., I.P., and O.M. Writing-original draft, G.G., Y.L., and Y.L.; Writing-review & editing, A.B., L.M., I.P., and O.M. All authors approved the final submitted draft.

Appendix

Mesh Study of Cases 1 and 2

For Case 1, the effect of mesh resolution on the concentration field along the symmetry axis is presented in Figure A1. The chosen resolution proves sufficient for capturing the solution accurately without requiring excessive time for computation. For the base case, the mesh adopted had an average y + of 38.7 and 22.3 and maximum of 80.8 and 67.4 for walls and blades, respectively, which is adequate for the high-Reynolds model.

Figure A1. Effect of mesh resolution on concentration profile along the symmetry axis.

For Case 2, the pressure profiles along the symmetry axis for different mesh resolutions are presented in Figure A2. The results are nearly indistinguishable between the three meshes.

Figure A2. Effect of mesh resolution on pressure profile along the symmetry axis.

References

Bakker, A and LaRoche, RD (2000) Modeling of the turbulent flow in HEV static mixers. In The Online CFM Book. p. 8. Available at http://www.bakker.org/cfmbook/cfmbook.htmGoogle Scholar
Batchelor, GK (2000) An Introduction to Fluid Dynamics. Cambridge, UK: Cambridge Mathematical Library, Cambridge University Press.Google Scholar
Cai, W, Zhang, Y and Zhou, J (2013) Maximizing expected model change for active learning in regression. In Proceedings of IEEE International Conference on Data Mining, ICDM, pp. 5160.Google Scholar
Danka, T and Horvath, P (2018) modAL: A Modular Active Learning Framework for Python. Available at https://arxiv.org/abs/1805.00979.Google Scholar
Eissa, A (2009) Simulation of the turbulent flow in HEV static mixers: Mixing of ethanol with gasoline. In Proceedings of the COMSOL Conference 2009, pp. 3–6. Available at https://uk.comsol.com/paper/download/45594/Eissa.pdfGoogle Scholar
Fossa, M and Guglielmini, G (2002) Pressure drop and void fraction profiles during horizontal flow through thin and thick orifices. Experimental Thermal and Fluid Science 26(5), 513523.Google Scholar
Hastie, T, Tibshirani, R and Friedman, J (2009) The Elements of Statistical Learning, 2nd ed. Berlin, Germany: Springer.Google Scholar
Kingma, DP and Ba, J (2015) Adam: A method for stochastic optimization In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7–9, 2015, Conference Track Proceedings.Google Scholar
Launder, B and Spalding, D (1974) The numerical computation of turbulent flows. Computer Methods in Applied Mechanics and Engineering 3(2), 269289.Google Scholar
McBride, K and Sundmacher, K (2019) Overview of surrogate modeling in chemical process engineering. Chemie-Ingenieur-Technik 91(3), 228239.Google Scholar
Menter, FR, Kuntz, M and Langtry, R (2003) Ten years of industrial experience with the SST turbulence model. In Hanjalic, K, Nagano, Y and Tummers, M (eds), Turbulence, Heat and Mass Transfer 4. New York, NY: Begell House, Inc.Google Scholar
Morris, MD and Mitchell, TJ (1995) Exploratory designs for computational experiments. Journal of Statistical Planning and Inference 43(3), 381402.Google Scholar
O’Neil, J (2015) An Evaluation of Selection Strategies for Active Learning with Regression. M.Sc. dissertation.Google Scholar
Pedregosa, F, Varoquaux, G, Gramfort, A, Michel, V, Thirion, B, Grisel, O, Blondel, M, Prettenhofer, P, Weiss, R, Dubourg, V, Vanderplas, J, Passos, A, Cournapeau, D, Brucher, M, Perrot, M and Duchesnay, E (2011) Scikit-learn: Machine learning in Python. Journal of Machine Learning Research 12, 28252830.Google Scholar
Rasmussen, CE and Williams, CKI (2005) Gaussian Processes for Machine Learning (Adaptive Computation and Machine Learning series). Cambridge, MA: The MIT Press.CrossRefGoogle Scholar
RayChaudhuri, T and Hamey, L (2002) Minimisation of data collection by active learning. Proceedings of the 1995 IEEE International Conference on Neural Networks 3, 13381341.Google Scholar
Simpson, TW, Lin, DKJ and Chen, W (2001) Sampling strategies for computer experiments: Design and analysis. International Journal of Reliability and Applications 2(3), 209240.Google Scholar
Snoek, J, Larochelle, H and Adams, RP (2012) Practical bayesian optimization of machine learning algorithms. Advances in Neural Information Processing Systems 25. 29512959Google Scholar
Thakur, RK, Vial, C, Nigam, KD, Nauman, EB and Djelveh, G (2003) Static mixers in the process industries—A review. Chemical Engineering Research and Design 81(7), 787826.CrossRefGoogle Scholar
Vial, C, Stiriba, Y and Trad, Z (2015) CFD simulation of flow and mixing in-inline rotor-stator mixers with complex fluids. Canadian Journal of Chemical Engineering 93(2), 391403.CrossRefGoogle Scholar
Wilhelm, D (2015) Rotating flow simulations with OpenFOAM. Int J Aeronautics Aerospace Res. S1:001, 17. doi: http://dx.doi.org/10.19070/2470-4415-SI01001Google Scholar
Wu, D, Lin, CT and Huang, J (2019) Active learning for regression using greedy sampling. Information Sciences 474, 90105.CrossRefGoogle Scholar
Zhu, C, Byrd, RH, Lu, P and Nocedal, J (1997) Algorithm 778: L-BFGS-B: Fortran subroutines for large-scale bound-constrained optimization. ACM Transactions on Mathematical Software 23(4), 550560.CrossRefGoogle Scholar
Figure 0

Figure 1. Workflow utilized for building the surrogate models for computational fluid dynamics (CFD) simulations through the active learning methodology.

Figure 1

Table 1. Number of fitting parameters used in each regression technique.

Figure 2

Figure 2. Schematic representation of the static mixer geometry used in Case 1 with side- and front-views shown in (a) and (b), respectively.

Figure 3

Figure 3. Computational fluid dynamics simulation of turbulent scalar transport through a static mixer using the $ k $-$ \varepsilon $ model (Launder and Spalding, 1974) for Case 1 showing steady, two-dimensional nondimensional velocity magnitude (a), turbulent kinetic energy (b), and scalar concentration (c), fields, generated with $ \mathit{\operatorname{Re}}={10}^5 $, $ L/D=0.3 $, and $ \theta =\pi /4 $. The scale bars represent the magnitude of the fields depicted in each panel.

Figure 4

Figure 4. Schematic representation of the orifice geometry used in Case 2 with side- and front-views shown in (a) and (b), respectively.

Figure 5

Figure 5. A comparison of the current predictions of pressure drop across the orifice as a function of the local Reynolds number with the experimental data of Fossa and Guglielmini (2002) with $ {\left(d/D\right)}^2=0.54 $ and $ s/d=0.20 $ (see Figure 4b).

Figure 6

Figure 6. Schematic representation of the geometry used in Case 3, two-dimensional flow in an inline mixer.

Figure 7

Table 2. Comparison between present results for power coefficient, $ \alpha $, and those reported by Vial et al. (2015).

Figure 8

Figure 7. Schematic representation of the geometry used in Case 4, three-dimensional flow in an inline mixer.

Figure 9

Table 3. Features and responses utilized in each of the three test cases.

Figure 10

Table 4. Typical computational cost of individual simulations of each test case.

Figure 11

Figure 8. Comparison between regressions for case 1, with 20 samples. Circles indicate sampling locations.

Figure 12

Figure 9. Comparison between sampling strategies for Case 1, with 20 samples. Circles indicate sampling locations and numbers indicate the sampling order (positions used for initialization are unlabeled).

Figure 13

Figure 10. Error as a function of number of samples beyond the ones used for the initialization for different regression strategies, for case 1 (top), case 2 (middle) and case 3 (bottom).

Figure 14

Figure 11. Error as a function of number of samples beyond the ones used for the initialization for different sampling strategies, for Case 1 (top), Case 2 (middle), and Case 3 (bottom).

Figure 15

Figure 12. Error of the regressions developed for Case 4 as a function of number of samples beyond the ones used for the initialization, for different regression strategies (top), and different sampling strategies (bottom).

Figure 16

Figure 13. Comparison between predicted and reference values for the GP52 regression with GIO (a) and variational sampling (b) generated with 20 samples for Case 4.

Figure 17

Figure 14. Comparison between predicted and reference values for each Cases 1–3, with 5 (left) or 20 samples (right). Dashed lines represent a 20% error.

Figure 18

Table 5. Error for different sampling strategies, for 5, 10 or 20 queries.

Figure 19

Figure A1. Effect of mesh resolution on concentration profile along the symmetry axis.

Figure 20

Figure A2. Effect of mesh resolution on pressure profile along the symmetry axis.

Submit a response

Comments

No Comments have been published for this article.