Mathematical Problems in Engineering
Volume 2020 (2020), Article ID 9405018, 11 pages
https://doi.org/10.1155/2020/9405018

Research Article

An Iterative Method for Shape Optimal Design of Stokes–Brinkman Equations with Heat Transfer Model

Wenjing Yan,¹ Feifei Jing,² Jiangyong Hou,³ Zhiming Gao,⁴ and Nannan Zheng¹

¹School of Mathematics and Statistics, Xi’an Jiaotong University, Xi’an 710049, China
²School of Mathematics and Statistics, Xi’an Key Laboratory of Scientific Computation and Applied Statistics, Northwestern Polytechnical University, Xi’an 710129, China
³School of Mathematics, Northwest University, Xi’an 710127, China
⁴Institute of Applied Physics and Computational Mathematics, Beijing 100088, China

Correspondence should be addressed to Wenjing Yan; wenjingyan@xjtu.edu.cn

Received 19 April 2020; Accepted 7 May 2020; Published 29 June 2020

Academic Editor: Yumin Cheng

Copyright © 2020 Wenjing Yan et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract.

This work is concerned with the shape optimal design of an obstacle immersed in the Stokes–Brinkman fluid, which is also coupled with a thermal model in the bounded domain. The shape optimal problem is formulated and analyzed based on the framework of the continuous adjoint method, with the advantage that the computing cost of the gradients and sensitivities is independent of the number of design variables. Then, the velocity method is utilized to describe the domain deformation, and the Eulerian derivative for the cost functional is established by applying the differentiability of a minimax problem based on the function space parametrization technique. Moreover, an iterative algorithm is proposed to optimize the boundary of the obstacle in order to reduce the total dissipation energy. Finally, numerical examples are presented to illustrate the feasibility and effectiveness of our method.

1. Introduction

The optimal shape design for the fluid flows has wide applications in engineering design and computational fluid mechanics. The industrial applications include the design for wings profiles, impeller blades, and high-speed trains. In this paper, we focus on identifying the optimal shape of an obstacle located in the viscous and incompressible fluid, which is governed by Stokes–Brinkman equations strongly coupled with a thermal model. Our purpose is to effectively find the optimal shapes that minimize certain cost functional which may represent a given objective related to the specific characteristic features of the fluids, subject to mechanical and geometrical constraints.

Different methods have been proposed to numerically solve the shape optimal problems, such as generic algorithm [1], complex Taylor series expansion approach [2], automatic differentiation method [3], one-shot method [4, 5], level set method [6, 7], domain derivative method [8], and adjoint method [9–11]. Among the popularly used approaches, the adjoint method has received plenty of attention. Especially for the shape optimal control in fluids, the cost of computing the gradients and sensitivities is independent of the number of design variables. Jameson first applied this method to solve the shape design of aircraft [12]. Srinath and Mittal presented a numerical method for shape optimization for unsteady viscous flows which is based on the continuous adjoint approach [13]. Yagi and Kawahara utilized the adjoint method to identify the optimal shape for a body located in incompressible flow [14].

However, many authors considered the shape optimal problems in fluids without the heat transfer, steady state or not [15, 16]. In Reference [17], Chenais et al. solved the shape optimal problem in a potential flow coupled with a thermal model. Moreover, the number of publications on shape optimal problems for Stokes–Brinkman equations is relatively small when compared to Stokes equations [18–20].

In shape optimization, the efficient computation requires a shape calculus which differs from its analog in vector spaces. The traditional approaches always involve the computation of the state derivative with respect to the domain, but the state parameters belong to the function spaces depending on the variable domain. Besides, the state differentiability is not necessary in many cases even if the state system is not differentiated. To avoid the differentiation of the state system, the adjoint method is employed to solve shape optimal problem, which just requires to solve only one extra adjoint system.

This paper is organized as follows. In Section 2, we briefly introduce the general approach of the shape optimal control problem in fluids. Section 3 briefly describes the shape optimal problem for Stokes–Brinkman equations and heat exchanges are considered. Section 4 is devoted to the velocity method which is used to perform the domain deformation. In addition, the definitions of Eulerian derivative and shape gradient are introduced. In Section 5, based on the minimax principle, the shape optimal problems can be expressed as the saddle point problems of some suitable Lagrangian functionals. Then, applying the function space parametrization technique and minimax differential theorem, we deduce the expression of shape gradient for the Lagrangian functional, which plays the key role of design variables in the optimal design framework. Finally, some numerical examples are presented to verify the effectiveness of the proposed method in Section 6.

2. Shape Optimal Control Problem in Fluids

In this section, we present the general structure to solve the optimal control problems, which will be applied to the particular case of shape optimal problem in Stokes–Brinkman flow with heat transfer in the following section.

Our work is to minimize a cost functional which consists of the solution of the state equations:

where is the state variable, represents an elliptic differential operator, stands for the source term, and denotes a differential operator acting on the control variable . Now, we introduce the Lagrangian functional and Lagrangian multiplier :

For the linear case, problem (1) satisfies . Suppose that and are two suitable Hilbert spaces; for and , we obtain the variational form for state equation (1):

where denotes the inner product, is a bilinear form with respect to a linear elliptic operator, and . Therefore,

We need to solve following problem to obtain the optimal solution:

Usually, we can apply an iterative method to solve the control problem by choosing an initial value for the variable . At each step, we compute the state equations and then evaluate the cost functional and solve the adjoint equations. When is available, we give a suitable stopping criterion and derive the cost functional derivative [21, 22].

3. Shape Optimal Problem for Stokes–Brinkman Equations with Heat Transfer

In this section, we focus on the shape optimal problem of modeling flow through porous and partially porous media, which is described by Stokes–Brinkman equations with heat transfer. Suppose that is a bounded Lipschitz domain which is filled with the incompressible viscous fluid of the kinematic viscosity . The boundary of the domain is smooth and consists of four parts. denotes the inflow boundary, is the boundary corresponding to the fluid wall, represents the outflow boundary, and is the boundary of the obstacle which is to be optimized.

The fluid is described by the Stokes–Brinkman equations strongly coupled with a thermal model; the unknowns are the fluid velocity , the pressure , and the temperature :

where the stress tensor is defined by with the rate of deformation tensor , denotes the transpose of the matrix , and is the identity tensor. The matrix-valued function , denotes the inverse of Peclet number, is the Grashof number, and equals .

In this paper, our work is to identify the optimal shape of the boundary that minimizes the following cost functional :

where and denote the velocity and the temperature and is the rate of deformation tensor. The shape admissible set is given by

This type of optimal problem often occurs in the design and control of many industrial equipment. The weak formulation associated with (6)–(13) can be written as

where the functional spaces are defined as follows:

Shape optimal problems usually involve very large computational costs, besides the numerical approximation of partial differential equations and optimization. To avoid the differentiation of the state system and save the computational cost, the adjoint method applied to solve shape optimal problem can be summarized as follows: first, we establish the saddle point problem and the Lagrangian functional associated with the cost functional and weak form of the state system. Then, we are able to perform the shape sensitivity analysis of the Lagrangian functional by the minimax principle concerning the differentiability problem. Last but not least, applying the function space technique, we obtain the Euler derivative of cost functional by the first variation of the cost functional with respect to the domain.

First, we give the following Lagrangian functional which is associated with (14) and (16):

where

Now, problem (18) can be transformed into the saddle point form:

Then, we use the minimax framework to avoid the analysis of the state derivative with respect to the variable domains and establish the first optimality condition of the shape optimal problem to deduce the adjoint equations:

Since the adjoint equations are defined from the Euler–Lagrange equations of the corresponding Lagrange functional , the variation of with respect to can recover the state system and its weak formulation. Furthermore, we can differentiate with respect to the state variables () to deduce the adjoint state system.

Differentiating Lagrangian functional with respect to in the direction , we have

Owing to with compact support in , it leads to . Moreover, we differentiate with respect to in the direction and apply Green formula:

Since has compact support in , we obtain

To vary on the boundary , we deduce

Similarly, we obtain the adjoint equation with respect to :

Finally, we derive the following adjoint state system associated with (6)–(13):

4. The Velocity Method

In this section, we will apply the velocity method to describe the domain deformation. For shape optimal problem, the set of domain is not a vectorial space, but we need an expression of the differential of the cost functional. In order to overcome this difficulty, we define the derivative of a real-valued function with respect to the domain so that we can present the differential expression for the cost functional to establish a gradient-type algorithm.

Let boundary be piecewise and the velocity field , where is a small positive real number and denotes the space of all times continuous differentiable functions with compact support contained in . The velocity field

belongs to for each . It can generate transformations through the following dynamical system:

with the initial value . The flow with respect to can be defined as the mapping with , where is the solution of (30). The transformed domain can be denoted by at , and its boundary .

Next, we introduce two definitions for shape sensitivity analysis. The of the cost functional at for the velocity field is defined as [23]

Moreover, if the map is linear and continuous, is shape differentiable at . In the distributional sense, it leads to

When has a Eulerian derivative, is called the of at .

5. Function Space Parametrization

In this section, we derive the expression of the shape gradient for the cost functional by the function space parametrization techniques.

The velocity method is applied to describe the domain deformations. We only perturb the boundary and consider the mapping and the flow of the velocity field:

The perturbed domain is denoted by .

We aim to evaluate the derivative of with respect to , where

and and satisfy corresponding state and adjoint systems on the perturbed domain , respectively. However, the Sobolev spaces , , , and depend on the perturbation parameter . Consequently, we need to apply the function space parametrization technique to get rid of it. The advantage of this technique is being able to transport different quantities defined on the variable domain back into the reference domain which is entirely unrelated to . Then, we can employ the differential calculus since the functionals involved are defined in a fixed domain with respect to the parameter .

Now, we define the following parametrization functions:

where “” denotes the composition of the two maps.

Note that and are diffeomorphisms, so the parametrization will not change the value of the saddle point. We can rewrite (34) as

where the Lagrangian functional

with

Next work is to differentiate the perturbed Lagrangian functional , so we introduce the following Hadamard formula to perform the differentiation:

for a sufficiently smooth functional .

Applying (39), we have

where

In order to simplify the above identities, we introduce the following lemma.

Lemma 1 (see [23]). If vector functions and vanish on the boundary , the following identities hold on the boundary :

We apply Lemma 1 and obtain

Recalling and satisfies the state and adjoint system, respectively, and (42) can be reduced to

Similarly, (43) can be rewritten as

Finally, we have the boundary expression for the Eulerian derivative of :

According to (32), we derive the expression of the shape gradient for the cost functional:

6. Numerical Examples

This section is devoted to present the numerical algorithm and examples for the shape optimization problem in two dimensions.

We consider the optimal design of a body immersed in a Stokes–Brinkman flow and aim at reducing the dissipation energy acting on its surface. Namely, we solve the minimization problem

subject to (6)–(13).

For the minimization problem (50), we rather work with the following minimization problem:

where , is a positive Lagrangian multiplier, and satisfies the following equation:

where is the shape gradient with

Taking no account of regularization, a descent direction is sought by

and then the shape of domain can be updated as

where is a small descent step at -th iteration. We obtain the iterative scheme:

To avoid shape oscillations, we have to project or smooth the variation into . Therefore, we choose the descent direction which is the unique solution of the problem

It is obvious that is a descent direction which guarantees the decrease of the cost functional . The computation of is seemed as a regularization of the shape gradient.

Then, we consider how to choose the Lagrangian multiplier in the optimization problem. In order to satisfy the fixed constraint, the value of is updated at each iteration. As a result of the high cost in moving the mesh, we do not impose exactly the volume constraint before convergence. If the present area is smaller than the target area, we decrease the multiplier ; otherwise, we increase it. We suppose

at least in the average sense on the boundary ,

Therefore, we update the Lagrange multiplier by

where is a small positive parameter and denotes the target area.

We propose the numerical algorithm for solving the shape optimal problem in a Stokes–Brinkman flow with convective transfer. The algorithm is terminated when the relative decrease (denoted by ) of two consecutive objective is less than a given tolerance (Algorithm 1).

Choose an initial shape and initial step and a Lagrangian multiplier

,

Step 1: solve state system (6)–(13).

Step 2: compute adjoint system (27) and (28).

Step 3: evaluate the cost functional.

Step 4: compute the descent direction by (56).

Step 5: set and a suitable Lagrange multiplier , where is a small positive real number.

Algorithm 1: Iterative algorithm for shape optimal control.

We restrict the shape optimal problem posed on a bounded rectangular domain by introducing an artificial boundary , and is the effective domain with its boundary . The fluid enters horizontally from the left boundary and exits from the right boundary . We choose the initial shapes of the obstacle to be different curves:

 Case 1: a circle whose center is at origin with radius 0.5. Case 2: an elliptic curve: .

For the two examples, the inflow velocities are assumed to be parabolic with the profiles and , respectively. Also, the no-slip boundary conditions are imposed at all the other boundaries. The admissible set is defined by

Figures 1 and 2 show the comparison between the initial shape and optimal shape for the computing meshes, the contours of the velocity , and the pressure with different Reynolds numbers. Figures 3 and 4 demonstrate that the proposed method is effective, stable, and rapidly convergent. We also observe that when the Reynolds number increases, the cost of the optimization procedure rises due to the increase of computation of the state and adjoint system.

(a)

(b)

(c)

(d)

(e)

(f)

(g)

(h)

Figure 1: Case 1: comparison of the initial shape and optimal shape (Reynolds number = 1000). (a) Mesh for initial shape. (b) u₁ for initial shape. (c) Mesh for optimal shape. (d) u₁ for optimal shape. (e) u₂ for initial shape. (f) p for initial shape. (g) u₂ for optimal shape. (h) p for optimal shape.

(a)

(b)

(c)

(d)

(e)

(f)

(g)

(h)

Figure 2: Case 2: comparison of the initial shape and optimal shape (Reynolds number = 500). (a) Mesh for initial shape. (b) u₁ for initial shape. (c) Mesh for optimal shape. (d) u₁ for optimal shape. (e) u₂ for initial shape. (f) p for initial shape. (g) u₂ for optimal shape. (h) p for optimal shape.

Figure 3: Case 1: convergence history of the cost functional (Reynolds number = 1000).

Figure 4: Case 2: convergence history of the cost functional (Reynolds number = 500).

7. Conclusion

This work focuses on the optimal shape determination in an incompressible viscous Stokes–Brinkman flow, with the consideration of heat transfer. Based on the adjoint method and the function space parametrization technique, we derive the shape gradient of the cost functional by involving a Lagrangian functional, which plays the key role of design variables in the optimal design framework. Moreover, we propose a gradient-type algorithm for the minimization dissipation energy problem. Finally, we present numerical examples to demonstrate the proposed algorithm is feasible and effective for the quite high Reynolds number problems.

Data Availability

The data and code used in this study cannot be shared at this time as the data also form a part of an ongoing study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This study was supported by the National Natural Science Foundation of China (grant nos. 11971377, 91730306, and 11701451), Natural Science Foundation of Shaanxi Province (grant nos. 2019JM-367, 2018JQ1077, and 2019JQ-173), and Scientific Research Program funded by Shaanxi Provincial Education Department (grant no. 17JK0787).

References

S. Milewski, “Determination of the truss static state by means of the combined FE/GA approach, on the basis of strain and displacement measurements,” Inverse Problems in Science and Engineering, vol. 27, no. 11, pp. 1537–1558, 2019.

C. O. E. Burg and J. C. Newma III, “Computationally efficient, numerically exact design space derivatives via the complex Taylor’s series expansion method,” Computers & Fluids, vol. 32, no. 3, pp. 373–383, 2003.

L. Sherman, A. Taylor, L. Green et al., “First and second order aerodynamic sensitivity derivatives via automatic differentiation with incremental iterative methods,” Journal of Computational Physics, vol. 129, no. 2, pp. 307–331, 1994.

S. B. Hazra and A. Jameson, “One-shot pseudo-time method for aerodynamic shape optimization using the Navier-Stokes equations,” International Journal for Numerical Methods in Fluids, vol. 68, no. 5, pp. 564–581, 2012.

L. Kusch, T. Albring, A. Walther, and N. R. Gauger, “A one-shot optimization framework with additional equality constraints applied to multi-objective aerodynamic shape optimization,” Optimization Methods and Software, vol. 33, no. 4–6, pp. 694–707, 2018.

P. Fulmanski, A. Laurain, J. Scheid et al., “Level set method with topological derivatives in shape optimization,” International Journal of Computer Mathematics, vol. 85, no. 10, pp. 1491–1514, 2018.

S. Zhu, Q. Wu, and C. Liu, “Shape and topology optimization for elliptic boundary value problems using a piecewise constant level set method,” Applied Numerical Mathematics, vol. 61, no. 6, pp. 752–767, 2011.

W. Yan, Y. He, and Y. Ma, “A numerical method for the viscous incompressible Oseen flow in shape reconstruction,” Applied Mathematical Modelling, vol. 36, no. 1, pp. 301–309, 2012.

B. Mohammadi and O. Pironneau, “Shape optimization in fluid mechanics,” Annual Review of Fluid Mechanics, vol. 36, no. 1, pp. 255–279, 2004.

M. Giles and N. Pierce, “An introduction to the adjoint approach to design,” Flow Turbulence and Combustion, vol. 65, no. 3-4, pp. 393–415, 2000.

E. Katamine, H. Azegami, T. Tsubata, and S. Itoh, “Solution to shape optimization problems of viscous flow fields,” International Journal of Computational Fluid Dynamics, vol. 19, no. 1, pp. 45–51, 2005.

A. Jameson, “Computational algorithms for aerodynamic analysis and design,” Applied Numerical Mathematics, vol. 13, no. 5, pp. 383–422, 1993.

D. N. Srinath and S. Mittal, “An adjoint method for shape optimization in unsteady viscous flows,” Journal of Computational Physics, vol. 229, no. 6, pp. 1994–2008, 2010.

H. Yagi and M. Kawahara, “Optimal shape determination of a body located in incompressible viscous fluid flow,” Computer Methods in Applied Mechanics and Engineering, vol. 196, no. 49–52, pp. 5084–5091, 2007.

Y. Ogawa and M. Kawahara, “Shape optimization of body located in incompressible viscous flow based on optimal control theory,” International Journal of Computational Fluid Dynamics, vol. 17, no. 4, pp. 243–251, 2003.

H. Heck, G. Uhlmann, G. Uhlmann, and J.-N. Wang, “Reconstruction of obstacles immersed in an incompressible fluid,” Inverse Problems & Imaging, vol. 1, no. 1, pp. 63–76, 2007.

D. Chenais, J. Monnier, and J. P. Vila, “Shape optimal design problem with convective and radiative heat transfer: analysis and implementation,” Journal of Optimization Theory and Applications, vol. 110, no. 1, pp. 75–117, 2001.

W. Yan, Y. He, and Y. Ma, “Shape inverse problem for the two-dimensional unsteady stokes flow,” Numerical Methods for Partial Differential Equations, vol. 26, no. 3, pp. 690–701, 2010.

F. Caubet and M. Dambrine, “Localization of small obstacles in Stokes flow,” Inverse Problems, vol. 28, no. 10, p. 105007, 2012.

A. Abda, M. Hassine, M. Jaoua et al., “Topological sensitivity analysis for the location of small cavities in stokes flow,” SIAM Journal on Control and Optimization, vol. 48, no. 5, pp. 2871–2900, 2009.

J. Lions, Optimal Control of Systems Governed by Partial Differential Equations, Springer-Verlag, New-York, NY, USA, 1971.

O. Pironneau, Optimal Shape Design by Local Boundary Variations, Springer-Verlag, Berlin, Germany, 1988.

M. C. Delfour and J.-P. Zolésio, Shapes and Geometries: Analysis, Differential Calculus, and Optimization, Advance in Design and Control, Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, 2001.