원시데이터 수집 시스템
선정목록으로

Solving fluid flow domain identification problems with adjoint lattice Boltzmann methods

간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (7) MEA(막전극접합체)(18) VENT(방수통기 부품)

기본 정보

저자
  1. Fabian Klemens — Institute for Applied and Numerical Mathematics (IANM),Karlsruhe Institute of Technology (KIT), 76131 Karlsruhe, Germany
  2. Benjamin Förster — Institute for Applied and Numerical Mathematics (IANM),Karlsruhe Institute of Technology (KIT), 76131 Karlsruhe, Germany
  3. Márcio Dorn — Institute of Informatics (INF), Federal University of Rio Grande do Sul (UFRGS), Av. Bento Gona̧lves 9500, Porto Alegre, Rio Grande do Sul, Brazil
  4. Gudrun Thäter — Institute for Applied and Numerical Mathematics (IANM),Karlsruhe Institute of Technology (KIT), 76131 Karlsruhe, Germany
  5. Mathias J. Krause — Institute for Mechanical Process Engineering and Mechanics (MVM), Karlsruhe Institute of Technology (KIT), 76131 Karlsruhe, Germany|||Institute for Applied and Numerical Mathematics (IANM),Karlsruhe Institute of Technology (KIT), 76131 Karlsruhe, Germany
DOI
10.1016/j.camwa.2018.07.010
저널
Computers & Mathematics with Applications
발행년도
2018
발행기관
Elsevier BV
피인용수
10
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.camwa.2018.07.010
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W2576419431

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(7) MEA(막전극접합체), (18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
porous media model, fluid flow, Lattice Boltzmann method, permeability, porosity
판단 근거
이 논문은 다공성 매질(porous media) 내의 유체 흐름을 시뮬레이션하고 최적화하는 수치 해석 방법론(LBM)을 다룹니다. 이는 수소연료전지의 가습기(5) 내 중공사막 유체 흐름 분석이나 방수통기 부품(18)의 기공 구조를 통한 공기 흐름 모델링에 응용될 수 있는 공정/분석 기법입니다.
R&D 활용 포인트
수소연료전지용 막가습기(5)의 중공사막 내부 유체 거동 예측이나, VENT(18) 부품의 다공성 구조를 통한 통기 성능을 수치적으로 모델링하고 최적화하는 데 활용 가능합니다.
평가 입력
본문 57,522자 중 30,032자 발췌

초록

초록이 없습니다.

본문 57,522자

본문 펼치기
[Computers and Mathematics with Applications](https://doi.org/10.1016/j.camwa.2018.07.010) ( ) [Contents lists available at ScienceDirect](http://www.elsevier.com/locate/camwa) # Computers and Mathematics with Applications [journal homepage: www.elsevier.com/locate/camwa](http://www.elsevier.com/locate/camwa) # Solving fluid flow domain identification problems with adjoint lattice Boltzmann methods Fabian Klemens <sup>a,</sup> *, Benjamin Förster <sup>a</sup>, Márcio Dorn <sup>c</sup>, Gudrun Thäter <sup>a</sup>, Mathias J. Krause <sup>a,b</sup> a _Institute for Applied and Numerical Mathematics (IANM),Karlsruhe Institute of Technology (KIT), 76131 Karlsruhe, Germany_ b _Institute for Mechanical Process Engineering and Mechanics (MVM), Karlsruhe Institute of Technology (KIT), 76131 Karlsruhe, Germany_ c _Institute of Informatics (INF), Federal University of Rio Grande do Sul (UFRGS), Av. Bento Gona¸ lves 9500, Porto Alegre,_ _Rio Grande do Sul, Brazil_ a r t i c l e i n f _Article history:_ Available online xxxx _Keywords:_ Optimisation Adjoint LBM LBM Porous media model Fluid flow control Domain identification 1. Introduction a b s t r a c t In this article, the adjoint lattice Boltzmann method (ALBM) for solving fluid domain identification problems for incompressible fluids, proposed by Krause et al. (2016), is improved and validated. The problem is formulated as a distributed control problem which minimises the distance between a given, e.g. from measurements like MRI, and a simulated flow field. Thereby, the simulated flow field is the solution of a parametrised porous media BGK–Boltzmann problem, where the parameters represent porosity distributed in the domain. The proposed parametrisation consists of linking the variables representing a lattice-dependent porosity with the control variables. Hereby, it is paid attention that a given control parameter set yields results which are independent of the underlying grid resolution. It enables solving an optimisation problem with different resolutions without adapting the initial set of control variables. © 2018 Elsevier Ltd. All rights reserved. Solving fluid flow domain identification problems numerically is a very important task, not only for academic studies, but also for medical and process engineering applications. One possible application is the improvement of Phase Contrast MRI (PC-MRI) measurements through coupling of measured and simulated results, which can lead to a significantly more accurate characterisation of flows and flow domains in complex geometries. The so improved PC-MRI promises to expand the area of its application and further enables saving costly and limited resources or improving the effectiveness of their use. The suggested approach has therefore an enormous economic and social impact. A great challenge thereby is to numerically solve the problem in a time reasonable for practical applications. Fluid flow domain identification problems can be formulated as restricted optimisation problems, where the difference of a measured and simulated fluid flow field is minimised. Because the side condition to be solved, here a fluid flow problem, requires a very large amount of computer resources, a highly efficient and scalable parallelisation of the solution strategy is vital. Because of the simplicity of the core algorithm and its local computations, the lattice Boltzmann methods (LBM) have not only become a widely accepted numerical tool to solve incompressible Navier–Stokes equations [1], but also for high performance computing (HPC) and various physical problems [2,3]. However, for fluid flow control and optimisation problems its usefulness has only been partially discussed. For example for 2 _D_ topology and design optimisation by Pingen - <sup>Corresponding author.</sup> _E-mail address:_ [fabian.klemens@kit.edu (F. Klemens).](mailto:fabian.klemens@kit.edu) [https://doi.org/10.1016/j.camwa.2018.07.010](https://doi.org/10.1016/j.camwa.2018.07.010) 0898-1221/© 2018 Elsevier Ltd. All rights reserved. 2 _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ Nomenclature Abbreviations ALB Adjoint lattice Boltzmann ALBM Adjoint lattice Boltzmann method BGK Bhatnagar, Gross and Krook CFD Computational fluid dynamics HPC High Performance Computing LB Lattice Boltzmann LBM Lattice Boltzmann method Fluid Constants, Parameters and Variables _ϕ_ Adjoint particle density function _dMfeq,Bα_ Adjoint Porous Media Maxwellian distribution _dMfeq,Bα_ Adjoint Porous Media Maxwellian distribution α Control _α_ 0 Control start value _ρf_, _ρf h_ Density, discrete density _J_ Goal functional _Gh_ Grid term _ν_ Kinematic viscosity _K_ Permeability _dh_ Porosity _Mfeq,Bα_ Porous media Maxwellian distribution _Mfeq,Bα_ Porous media Maxwellian distribution _f_ Particle density function _B_ Projection operator _Re_ Reynolds number G Side condition function _R_ Universal gas constant u _,_ u _f,_ u _f h_ Velocity of flow (macroscopic, mesoscopic, discrete) u <sup>∗</sup> Velocity of flow of the measurement c Velocity of molecules (microscopic) Norms and Spaces x - y Standard scalar product for x _,_ y ∈ R <sup>_n_</sup> _, n_ ∈ N ∥ _x_ ∥ Euclidean norm, <sup>√</sup> x - x for x ∈ R <sup>_n_</sup> _, n_ ∈ N ∥ _x_ ∥ Euclidean norm, <sup>√</sup> x - x for x ∈ R <sup>_n_</sup> _, n_ ∈ N _d_ Dimension of the position space _Ω_, _d_ = 2,3 R≥0 Positive real numbers with zero, _x_ ∈ R with _x_ ≥ 0 _h_ Discretisation/model parameter, _h_ ∈ R _>_ 0 _Ω_ Domain filled by the fluid, _Ω_ ⊆ R <sup>_d_</sup> _Ωh_ Lattice, uniform mesh with spacing _h_, _Ωh_ <sup>∼</sup> = _Xh_ ⊆ N <sup>_d_</sup> _I_ Time interval [ _t_ 0 _, t_ 1] = _I_ ⊆ R _,_ 0 ≤ _t_ 0 _<_ _t_ 1 _<_ ∞ _Ih_ Discrete time interval, _Ih_ := <sup>{</sup> _t_ ∈ _I_ : _t_ = _t_ 0 + _h_ <sup>2</sup> _k_ _t_ ∈ _I_ : _t_ = _t_ 0 + _h_ <sup>2</sup> _k, k_ ∈ N <sup>}</sup> ∫ _X_ <sup>_ξ_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_dx_</sup> <sup>)1</sup> <sup>_/_</sup> <sup>2</sup> <sup>for</sup> <sup>_ξ_</sup> <sup>∈</sup> <sup>_L_</sup> <sup>2(</sup> <sup>_X_</sup> <sup>)</sup> ∥ _ξ_ ∥ _L_ 2( _X_ ) _L_ <sup>2</sup> ( _X_ )-norm over _X_ ⊆ R <sup>_d_</sup>, ∥ _ξ_ ∥ _L_ 2( _X_ ) := ( ∥ _ξ_ <sup>_h_</sup> ∥ _L_ 2( _Xh_ ) _L_ <sup>2</sup> ( _Xh_ )-Norm over _Xh_ ⊆ N <sup>_d_</sup>, ∥ _ξ_ <sup>_h_</sup> ∥ _L_ 2( _Xh_ ) := ( _h_ <sup><u>1</u></sup> <sup>_d_</sup> _x_ ∈ _Xh_ <sup>_ξ_</sup> <sup>(</sup> <sup>_x_</sup> <sup>))1</sup> <sup>_/_</sup> <sup>2</sup> <sup>for</sup> <sup>_ξ h_</sup> <sup>∈</sup> <sup>_L_</sup> <sup>2(</sup> <sup>_Xh_</sup> <sup>)</sup> ∑ Differential Operators _dxd_ Total derivative _∂∂x_ Partial derivative ∇ _x_ Gradient ∇ _x_ - Divergence et al. [4–6], which has been extended for transient flows by Kirk et al. [7]. These methods use an adjoint sensitivity approach to calculate the needed gradient based on the discrete lattice Boltzmann equation. This approach leads to a linear system, which is then solved by e.g. the Schur-complement method [5], or for transient problems by matrix–vector products due to backwards in time evaluation [7]. The first to derive an adjoint lattice Boltzmann equation were Tekitek et al. [8], whereby _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ 3 the adjoints were also derived from the discrete equations. In contrast, the strategy proposed by Krause et al. [9] follows a sensitivity-based so-called _first-optimise-then-discretise_ approach [10], also called _first-differentiate-then-discretise_ [11], where the adjoint equation is derived on a continuous basis and then discretised afterwards. This discretisation strategy, referred to as adjoint lattice Boltzmann method (ALBM) [9], leads to algorithms as efficient as LB algorithms due to similar locality properties. Recently, Liu et al. [12] and also Laniewski-Wollk et al. [13] showed that using the first-discretise-thenoptimise also yields structures similar to LBM and thus no matrix solving is required. ALBM is most often used for solving topology optimisation problems, e.g. by Liu et al. [12], Yaji et al. [14], Laniewski-Wollk et al. [13], Yonekura et al. [15] while its application to other inverse or optimisation problems is rarely studied. The main aim of this article is to improve the robustness of the adjoint lattice Boltzmann method (ALBM) for solving fluid flow domain identification problems, proposed by Krause et al. [16]. Additionally, the method is to be thoroughly validated for laminar fluid flow regimes with existing steady state. In order to determine the flow domain and the physical flow dynamics, it is proposed to formulate the fluid flow problem parametrised with a porous media model, where porosities are linked to control variables. The use of porosities thereby guarantees continuous functions, which are necessary for the solution strategy considered here. The optimisation problem is then minimising the difference between resulting and the measured velocity distribution. After completion of the gradientbased optimisation algorithm (e.g. the LBFGS scheme [17]), a porosity threshold value is chosen in order to interpret the resulting porosity values as solid or fluid. In order to enable solving an optimisation problem with different resolutions without adapting the initial set of control variables, i.e. to guarantee the robustness of the parametrisation, a linking is proposed which connects the variables representing a lattice-dependent porosity with control variables. Hereby, it is paid attention that a given control parameter set yield to results which are independent of the underlying grid resolution. In Section 2 the optimisation problem is introduced, and with it a parametrised BGK–Boltzmann model for fluid flow through porous media, as well as a sensitivity-based strategy to solve fluid flow domain identification problems. In Section 3 the discretisation for the primal and dual problem is discussed, thereby the similar structure of both problems is utilised which leads to discretisation methods referred to as lattice Boltzmann method and adjoint lattice Boltzmann method. In Section 4, a robust parametrisation is introduced. It is shown that the proposed relation between the lattice-dependent porosities and the control variables are robust with respect to grid resolution. Further, the result is a projection which turns the optimisation problem in an unrestricted problem which enables the use of standard gradient-based optimisation schemes as Steepest Decent or L-BFGS. 2. Method Here, a brief overview of the used method and the later needed variables and terms are provided. Thereby, the governing equations are first derived in continuous description and discretised afterwards, a procedure often referred to as the _first-optimise-then-discretise_ strategy [18]. Further, the underlying porous media BGK–Boltzmann equation is introduced, a continuous solution strategy for the optimisation problem is given by formulating a primal and dual problem, and the specific domain identification problem equations are formulated. The method is described in detail in the preceding work of Krause et al. [16]. _2.1._ _Overview_ We consider the following constrained optimisation problem minimise _J_ ( _f,_ α), such that G ( _f,_ α) = 0 _._ (1) Thereby _f_ is said to be the _state_, α the _control_, _J_ the _goal_ _function_ and G ( _f, α_ ) = 0 the _side_ _condition_ or _constraint_ . Using a quasi-Newton method, like _BFGS_ [17], the optimisation problem is solved iteratively using only the goal function _J_ and its total derivative with respect to the control _ddα_ <sup>_J_</sup> <sup>(cf. [9,16]). However, finding the total derivative or calculating it efficiently</sup> is the main challenge for optimisation problems. _2.2._ _Side condition_ Here, the side condition is an element of the _diffusive limit family of porous media BGK–Boltzmann equations_ [19,16] denoted as _h_ <sup>2</sup> <sup>_d_</sup> _dt_ _f_ + <sup>1</sup> 3 _ν_ ( _f_ - _M_ _eq_ _f,dh_ = 0 _,_ (2) ) where _f_ = _f_ ( _t,_ r _,_ c ) is the _particle_ _distribution_ _function_, with time _t_ ∈ _I_ = [ _t_ 0 _, t_ 1) ⊆ R≥0, position r ∈ _Ω_ ⊆ R <sup>_d_</sup>, velocity c ∈ R <sup>_d_</sup>, model parameter _h_ ∈ R _>_ 0 and kinematic viscosity _ν_ ∈ R. As shown by Saint-Raymond [20] Eq. (2) is related to an incompressible Navier–Stokes equation. The macroscopic _density_ and _velocity ρf_, u _f_ of the Newtonian fluid can be obtained as moments of _f_ via v _f_ ( v ) _d_ v _._ ∫ _Ω_ _ρf_ := ∫ R <sup>_d_</sup> _f_ ( v ) _d_ v and u _f_ := <sup>1</sup> _ρf_ 4 _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ Furthermore, _eq_ _ρf_ _h_ <sup>_d_</sup> _f,dh_ <sup>=</sup> <u>( 2</u> 3 <sup>_π_</sup> <sup><u>)</u></sup> <sup>_d_</sup> <sup>3</sup> ( 2 in _I_ × _Ω_ × R <sup>_d_</sup> c _h_ - _d_ u _f_ _h_ <sup>)2</sup> ) _Mf_ _ρf_ _h_ <sup>_d_</sup> ( <u>2</u> 3 <sup>_π_</sup> <sup><u>)</u></sup> <sup>_d/_</sup> <sup>2</sup> <sup>exp</sup> - <sup>3</sup> denotes the _Porous Media Maxwellian distribution_, where the _porosity d_ : _Ω_ →[0 _,_ 1] is defined by (c.f. [21,16]) _d_ ( _r_ ) = 1 − <sup>_ντ_</sup> _K_ (3) with _permeability K_ . Porosity values of _d_ := _d_ ( _r_ ) are to be interpreted as solid ( _d_ = 0), fluid ( _d_ = 1) and porous ( _d_ ∈ (0 _,_ 1)) at point _r_ ∈ _Ω_ . Using the porous media model requires the control parameter _α_ ( _r_ ) ∈ R to be projected onto the porosity parameter _dh_ ( _r_ ) ∈[0 _,_ 1] for all points _r_ ∈ _Ω_ through an operator _Bα_ = _dh_ . An appropriate operator _B_ is introduced in Section 4. This coupling of porosity and control leads to _f_ - _M_ G ( _f_ (α) _,_ α) = _h_ <sup>2</sup> <sup>_d_</sup> _dt_ _f_ + <sup>1</sup> ( <sup>1</sup> 3 _ν_ _._ (4) _eq_ _f,B_ α ) _2.3._ _Goal function_ For domain identification problems the goal functional _J_ is defined as ( u _f_ - u <sup>∗</sup> ) <sup>2</sup> _dr_ _,_ (5) _J_ ( _f, α_ ) = <sup>1</sup> 2 ∫ _ΩJ_ with u <sup>∗</sup> is the _measured_ _flow_ _field_ (e.g. by a PC-MRI scan) and _ΩJ_ ⊆ _Ω_ is the _objective_ _domain_ . The partial derivative with respect to the particle distribution, needed for the _optimality condition_ (Section 2.4), reads _∂_ _∂f_ _J_ ( _f, α_ ) = − <sup>(</sup> <sup>u</sup> <sup>∗</sup> <sup>−</sup> <sup>u</sup> <sup>_f_</sup> <sup>)(</sup> <sup>v</sup> <sup>−</sup> <sup>u</sup> <sup>∗)</sup> _._ _ρf_ Note that the evaluation of the goal functional _J_ requires solving the side condition G ( _f,_ α) = 0, which corresponds to solving a fluid flow problem. _2.4._ _Optimality condition_ A necessary condition for an optimal state ( _f_ <sup>∗</sup> _, α_ <sup>∗</sup> ) is given by the _optimality condition_ _ddα_ <sup>_J_</sup> <sup>(</sup> <sup>_f_</sup> <sup>∗</sup> <sup>_, α_</sup> <sup>∗)</sup> <sup>=</sup> <sup>0 [9,16]. Here, the</sup> optimality condition formulates as _eq_ _f,Bα_ <sup>_dv_</sup> <sup>+</sup> <sup>_∂_</sup> _∂f_ _d_ _J_ ( _f_ (α) _,_ α) = _uτ_ _d_ α ∫ R <sup>_d ϕ_</sup> <sup>3</sup> <sup>_h_</sup> <sup>2(</sup> <sup>_v_</sup> <sup>−</sup> <sup>_Bα_</sup> <sup>u</sup> <sup>_f_</sup> <sup>)</sup> <sup>_M_</sup> _∂f_ _J_ ( _f, α_ ) _,_ (6) where _ϕ_ is determined by solving the _adjoint porous media BGK–Boltzmann equation_ (cf. [16]) _dtd_ <sup>_ϕ_</sup> <sup>−</sup> 3 <sup>1</sup> _ν_ _d_ ( _ϕ_ - _dM_ 3 <sup>1</sup> _ν_ _eq_ _f,Bα_ <sup>) +</sup> <sup>_∂_</sup> _∂f_ _J_ = 0 _,_ (7) with the _adjoint Maxwellian distribution_ _Bα_ + 1 <sup>)</sup> _Mfeq,Bα_ <sup>(</sup> <sup>v</sup> <sup>ˆ)</sup> <sup>_d_</sup> <sup>v</sup> <sup>ˆ</sup> <sup>_._</sup> R <sup>_d ϕ_</sup> <sup>(</sup> <sup>v</sup> <sup>ˆ)</sup> _dMfeq,Bα_ <sup>=</sup> ∫ (3 _h_ <sup>2</sup> <sup>(</sup> u _f_ - v <sup>) (</sup> _Bα_ u _f_ −ˆ v <sup>)</sup> _ρ_ The main advantage of this method is the similarity of the porous media BGK–Boltzmann equation (2) and its adjoint formulation (7), as they both can be discretised in a similar manner, which is discussed in Section 3. The discretised form of the optimality condition (6) is then used for a gradient-based method like steepest descent or BFGS in combination with e.g. the Armijo or the Wolfe–Powell rule to find the optimal state iteratively (cf. [22,16]). 3. Discretisation Due to the similar structure of the LB equation (2) and the ALB equation (7), similar discretisation methods can be used, which are referred to as lattice Boltzmann method (LBM) and adjoint lattice Boltzmann method (ALBM), depending on the based equations. LBM are strategies for discretising a family of Boltzmann equations or of other mesoscopic Boltzmann-like equations which is related to a target equation in a certain limit which is usually macroscopic in nature. The basic and common idea of all LBM is the coupling of discretisation parameters with those parameters characterising the limit process. The specific domain identification problem equations are discretised with an adjoint lattice Boltzmann method (ALBM) [9,16]. _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ 5 _3.1._ _Lattice Boltzmann method_ The continuous space _I_ × _Ω_ × R <sup>_d_</sup> is replaced by a discrete space _Ih_ × _Ωh_ × _Q_ where _h_ is identified with the model parameter and is now called the discretisation parameter. The position space _Ωh_ is chosen as a uniform grid with spacing _h_ and the discrete time interval is set to _Ih_ := <sup>{</sup> _t_ ∈ _I_ : _t_ = _t_ 0 + _kh_ <sup>2</sup> _, k_ ∈ N <sup>}</sup> . The velocity space _Q_ consists of _q_ ∈ N directions _t_ ∈ _I_ : _t_ = _t_ 0 + _kh_ <sup>2</sup> _, k_ ∈ N <sup>}</sup> and the discrete time interval is set to _Ih_ := <sup>{</sup> _t_ ∈ _I_ : _t_ = _t_ 0 + _kh_ <sup>2</sup> _, k_ ∈ N <sup>}</sup> . The velocity space _Q_ consists of _q_ ∈ N directions c _i_ ( _i_ = 0 _,_ 1 _, . . ., q_ - 1) which link dedicated neighbouring positions in such a way that for r ∈ int _Ωh_ it holds r + c _ih_ <sup>2</sup> ∈ _Ωh_, i.e. c _i_ ∼ _h_ <sup>−1</sup> . The resulting discrete phase space is called the _lattice_ and denoted by _DdQq_ . The continuous distribution function _f_ is replaced by a set _f_ <sup>_h_</sup> of _q_ distribution functions _fi_ ( _i_ = 0 _,_ 1 _, . . ., q_ - 1), which represent an average value of _f_ in the neighbourhood of the velocity c _i_ . For the porous media model the lattice porosity _dh_ is defined as [16,21,23] _dh_ = 1 − _h_ <sup>2</sup> <sup>_νhτh_</sup> _,_ (8) _K_ with physical permeability _K_ and relaxation time _τh_ = 3 _νh_ + 1 _/_ 2. Where the parameter _h_ <sup>2</sup> comes from nondimensionalisation of the physical permeability. The iterative process in an LB algorithm can be written in two steps as follows, the _collision step_ (9) and the _streaming step_ (10): 1 ˜ _fi_ ( _t,_ r ) = _fi_ ( _t,_ r ) − 3 _νh_ + 1 _/_ 2 ( _feqi,dh_ <sup>(</sup> <sup>_t,_</sup> <sup>r</sup> <sup>)</sup> ) _,_ (9) _fi_ ( _t,_ r ) − _Mfeqi,dh_ <sup>(</sup> <sup>_t,_</sup> <sup>r</sup> <sup>)</sup> _fi_ ( _t_ + _h_ <sup>2</sup> _,_ r + c _ih_ <sup>2</sup> ) = <sup>˜</sup> _fi_ ( _t,_ r ) (10) for _i_ = 0 _,_ 1 _, . . ., q_ - 1, where _eq_ _fi,dh_ <sup>(</sup> <sup>_t,_</sup> <sup>r</sup> <sup>) :=</sup> <sup>_wi_</sup> _w_ ( 1 + 3 _h_ <sup>2</sup> c _i_ - _dh_ u _f h_ - <sup>3</sup> <sup>3</sup> _h_ <sup>2</sup> ( _dh_ u _f h_ ) <sup>2</sup> + <sup>9</sup> 2 2 <sup>9</sup> _h_ <sup>4(</sup> 2 c _i_ - _dh_ u _f h_ ) (11) )2 _M_ <sup>_wi_</sup> _w_ <sup>_ρf h_</sup> is a _discretised Porous-Media Maxwell distribution_ with moments _ρf h_ and u _f h_ which are defined as _q_ −1 ∑ _i_ =0 _ρf h_ := _q_ −1 ∑ _i_ =0 1 _fi_ and u _f h_ := _ρf h_ c _ifi,_ where u _f h_ corresponds to the _macroscopic fluid velocity_ and _ρf h_ to the _mass density_ . The lattice viscosity _νh_ is assumed to be given, and the terms _wi/w_, c _ih_ ( _i_ = 0 _,_ 1 _, . . ., q_ - 1) are model dependent constants. An exhaustive derivation of various LB equations can be found e.g. in [1,24,25]. For _D_ 2 _Q_ 9 and _D_ 3 _Q_ 27 Krause [26] showed that the truncation error comparing an element of the diffusive limit family of BGK–Boltzmann equations with its corresponding discrete LB term is of second order. Krause’s approach is different to previously published derivations of LBM, where macroscopically motivated assumptions are made. For the derivation of the ALBM the approach in [26] is followed. _3.2._ _Adjoint lattice Boltzmann method_ Like for the LBM (cf. [1,24,27]), the particular choice of _Ih_ × _Ωh_ × _Q_ sets up an ALBM model which is denoted by _DdQq_ with _d_ representing the dimension and _q_ the number of discrete velocities in _Q_ ⊆ R <sup>_d_</sup> . Commonly _D_ 2 _Q_ 9, _D_ 3 _Q_ 19 and _D_ 3 _Q_ 27 models are applied. In a similar manner an iterative algorithm can be derived, which is executed step by step but for decreasing _t_ ∈ _Ih_ . In every time step two operations are to be performed for all r ∈ _Ωh_ and every _j_ = 0 _,_ 1 _, . . ., q_ - 1, namely the _adjoint_ _collision step_ (12) and the _adjoint streaming step_ (13) 1 ˜ _ϕj_ ( _t,_ r ) = _ϕj_ ( _t,_ r ) − 3 _νh_ + 1 _/_ 2 ( _ϕj_ ( _t,_ r ) − _dM_ _feq_ <sup>_h_</sup> _,Bα_ <sup>(</sup> <sup>_t,_</sup> <sup>r</sup> <sup>)</sup> ) (12) 6 _νh_ + _h_ <sup>2</sup> _dJf h,Bα_ ( _t_ ) 6 _νh_ + 1 _ϕj_ ( _t_ - _h_ <sup>2</sup> _,_ r - _h_ <sup>2</sup> c _j_ ) = ˜ _ϕj_ ( _t,_ r ) _,_ (13) where _ϕj_ ( _t,_ r ) := _ϕ_ ( _t,_ r _,_ c _j_ ) and c _j_ ∈ _Q_, and with _velocity discrete adjoint Maxwellian distribution_ ( ) ( _h_ u _f h_ −˜ c _i_ + 1 <sup>)</sup> _Mfeq_ <sup>_h_</sup> _,Bα_ <sup>_._</sup> ) (3 _Bα_ <sup>(</sup> _Bαh_ u _f h_ −˜ c _j_ _ρf h_ _dM_ _q_ −1 _eq_ ∑ _f_ <sup>_h_</sup> _,Bα_ <sup>(</sup> <sup>c</sup> <sup>_j_</sup> <sup>) :=</sup> _i_ =0 _ϕi_ ( c _i_ ) The _velocity discrete derivative of the goal functional_ reads ( u <sup>∗</sup> - u _f h_ )( c _j_ - u <sup>∗</sup> ) _dJf h,Bα_ ( _cj_ ) = − _._ _ρf h_ The advantage of the ALBM is that the resulting equations (cf. (12), (13)) are very similar to the LB equations (cf. (9), (10)). <u>6</u> _<u>νh</u>_ The main differences are its time reverse character and the additional term 6 _νh_ +1 <sup>_h_</sup> <sup>2</sup> <sup>_dJf h_</sup> <sup>.</sup> <sup>However,</sup> <sup>its</sup> <sup>locality</sup> <sup>properties</sup> basically remain the same. 6 _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ Fig. 1. Relative Average Velocity Norm (RAV Norm) over Permeability _K_ . We observe that the RAV norm is approximately the same for all grid resolutions _N_ . This is a strong indication for the grid-independence of permeability _K_ in a sense that for different grid sizes, the same value of permeability leads to the same fluid flow behaviour. Consequently an ALB algorithm can be implemented similarly to a LB algorithm [16]. In particular, the data structure design and the hybrid parallelisation strategy proposed early for standard LBM in [28] can be applied. Therefore, executing an ALB scheme is expected to qualitatively perform as efficient as a LB scheme. For a detailed analysis and efficient implementation the preceding work of Krause et al. [16] is recommended. 4. Projection: linking porosity and control The proposed optimisation problem is unbounded, i.e. all control variable are _α_ ∈ R, but to change the topology of our domain we need to control the porosity parameter _dh_ which is in [0 _,_ 1]. This section is dedicated to finding a projection _B_ : R →[0 _,_ 1] with _α_ → _Bα_ := _dh_, linking each optimisation parameter _α_ ∈ R to a porosity value _dh_ ∈[0 _,_ 1]. Thereby the proposed projection should preserve the physical properties of fluid flow in porous media, such that the optimisation problem can be solved for different resolutions without adapting the initial set of control variables. _4.1._ _Analysis of lattice porosity and permeability in porous media LBM_ In order to analyse the influence of the lattice porosity on the simulation, we define a simple test case and a measure of the average flow velocity through a certain domain within a flow field. The test case is a cube of side length 1 m extending from geometrical point (0 _,_ 0 _,_ 0) to (1 m _,_ 1 m _,_ 1 m), defined as the flow domain _Ωh_ with constant inflow at the surface of the cube at _y_ = 0 and constant outflow at _y_ = 1. At the inflow and outflow plane the velocity is set to 1 m/s in _y_ -direction (cf. Fig. 4), with viscosity of 0 _._ 1 m <sup>2</sup> _/_ s. Boundary conditions at _x_ = 0, _x_ = 1, _z_ = 0 and _z_ = 1 are set to bounce back. The _design_ _domain D_ (green), where a fixed porosity _dh_ is set, is defined as a cube of side length 0.4 m in the centre of _Ω_, extending from (0 _._ 3 _,_ 0 _._ 3 _,_ 0 _._ 3) to (0 _._ 7 _,_ 0 _._ 7 _,_ 0 _._ 7) (cf. Fig. 4). This test case is also used in the numerical experiments in Section 5. For a fixed porosity value _dh_, we define the _L_ <sup>2</sup> norm of the velocity inside the cube _D_ _u_ <sup>2</sup> _dr_ _u_ <sup>_dh_</sup> := ∥ _u_ ∥ _L_ 2( _D_ ) = (∫ )1 _/_ 2 _,_ (14) _D_ where _dh_ ( _r_ ) = _dh_ for all _r_ ∈ _D_ and _u_ being the flow velocity function. We define the relative average velocity (RAV) norm _udrelh_ <sup>as the relative change of the velocity field inside the design domain for a certain porosity</sup> <sup>_dh_</sup> <sup>with respect to the velocity</sup> field of full fluid flow ( _dh_ = 1) _u_ _drelh_ <sup>:=</sup> <sup>_udh_</sup> (15) _u_ <sup>1</sup> <sup>_._</sup> The simulation was performed for five different grid sizes _h_ = 1 _/N_ and twenty-eight permeability values _K_ which are translated into different porosity values _dh_ by relation _dh_ = 1 − _h_ <sup>2</sup> _νhτh/K_ (cf. (8)). The results are shown in Fig. 1, which indicate that the physical permeability is grid-independent in the sense that it does not change the fluid flow behaviour for higher resolutions. The presented result is expected as it only indicates the validity of the used porous media model [21]. The problem which arises is the grid dependency of porosity due to Eq. (8), therefore resulting in grid dependency of the optimisation parameter if used directly, for example in optimisation methods with bounded sets. The relation of porosity and permeability is shown in Fig. 2 for a viscosity of _uh_ = 0 _._ 002. It shows that for a given permeability the corresponding porosity changes with the resolution. In order to maintain the fluid behaviour for different resolutions, we must therefore take permeability into account. _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ 7 Fig. 2. Porosity _dh_ over Permeability _K_ for different grid resolutions _N_ . This is the graph of relation (8) for _uh_ = 0 _._ 002. Here the grid dependency of the relation porosity and permeability can be seen. This is in contrast to Fig. 1, where the grid-independency of the permeability is indicated. Fig. 3. RAV norm of projection _B_ for multiple grid resolutions _N_ . Using the proposed projection it can be seen that for different resolutions the fluid behaviour is very similar for fixed optimisation parameters. This is a good indication of the grid-independence of the proposed projection. _4.2._ _Constructing a projection using permeability_ To combine the advantages of grid-independency of permeability with the usability of porosity, we use the relation of the porous media model (cf. (8)). After defining the _grid term Gh_ := _h_ <sup>2</sup> _νhτh_ for notation purpose, we get _dh_ = 1 − <sup>_Gh_</sup> (16) _K_ <sup>_,_</sup> where _K_ ∈[ _Gh,_ ∞). We want the control to have the same properties as the permeability, therefore we are looking for a subprojection _p_ : R → (0 _,_ ∞) such that _p_ ( _α_ ) + _Gh_ ∈[ _Gh,_ ∞), which leads to _Gh_ _Bα_ = 1 − _p_ ( _α_ ) + _Gh_ _._ (17) We propose _p_ ( _α_ ) := _e_ <sup>_α_</sup> which yields _Gh_ _Bα_ = 1 − _e_ <sup>_α_</sup> + _Gh_ _e_ <sup>_α_</sup> = _e_ <sup>_α_</sup> + _Gh_ _,_ (18) with _B_ ∈ _C_ <sup>∞</sup> (R) and _Bα_ ∈ (0 _,_ 1). Analysing the projection with the RAV norm, a similar fluid behaviour for a given control is observed, see Fig. 3. This is expected as Fig. 1 shows the logarithmic plot of _K_, where now the control is mapped to _α_ = log( _K_ - _Gh_ ) with _Gh_ −−→ _h_ →0 0. Note, that using _α_ = log( _K_ ) directly would lead to _dh_ ∈ (−∞ _,_ 1) and could therefore _α_ = log( _K_ - _Gh_ ) with _Gh_ −−→ _h_ →0 0. Note, that using _α_ = log( _K_ ) directly would lead to _dh_ ∈ (−∞ _,_ 1) and could therefore not be used in the porous media model. _<u>e</u>_ <sup>_α_</sup> To summaries, the proposed projection _Bα_ = _e_ <sup>_<u>α</u>_</sup> + _Gh_ <sup>is a smooth function, which maps the control</sup> <sup>_α_</sup> <sup>∈</sup> <sup>R to a porosity</sup> _dh_ ∈ (0 _,_ 1). Thereby the control is linked to the physical permeability which is consistent with the used porous media model. _<u>e</u>_ <sup>_α_</sup> To summaries, the proposed projection _Bα_ = _e_ <sup>_<u>α</u>_</sup> + 8 _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ Fig. 4. Object Identification Setup. A cube of side length 1 m extending from geometrical point (0 _,_ 0 _,_ 0) to (1 _,_ 1 _,_ 1) is defined as the flow domain _Ω_ with constant inflow at _y_ = 0 and constant outflow at _y_ = 1. Boundary conditions at _x_ = 0, _x_ = 1, _z_ = 0 and _z_ = 1 are set to bounce back. The _design domain D_ (green) is defined as a cube of side length 0.4 m in the centre of _Ω_, extending from (0 _._ 3 _,_ 0 _._ 3 _,_ 0 _._ 3) to (0 _._ 7 _,_ 0 _._ 7 _,_ 0 _._ 7). Different object geometries _C_ are placed inside the design domain which are then attempted to be identified by the optimisation algorithm. 5. Numerical experiments In this section, different flow domain identification test cases are investigated for validation. First, the novel domain identification approach of _a priori_ defined geometries is presented in detail. Then, a simple test case of identifying a cube in the centre of a flow domain is presented, with the objective domain subsequently being reduced to subsets of the flow data. _5.1._ _Test case and generic evaluation approach_ For validation of the flow domain identification method, a generic test case approach is set up, where the geometry information which is to be identified is available _a_ _priori_ . Hereby, first the fluid flow around a solid object geometry _Π_ is simulated and the resulting flow field is saved. Then the optimisation algorithm is applied to the obtained flow field by choosing a start value _α_ 0 and setting _dh_ ( _r_ ) = _Bα_ 0 for all points _r_ in the design domain _D_ ⊇ _Π_ (see Fig. 4). Algorithm 1 describes the generic approach of _a priori_ defined geometries in more detail. 1. Simulate fluid flow with _dh_ ( _r_ ) = 1 for _r_ ∈ _/_ _Π_ and _dh_ ( _r_ ) = 0 for _r_ ∈ _Π_ ; 2. Save the resulting flow data as the solution flow field _u_ <sup>∗</sup> ; 3. Choose start value _α_ 0 and set _dh_ ( _r_ ) = 1 for _r_ ∈ _Ω_ \ _D_ and _dh_ ( _r_ ) = _Bα_ 0 for all points _r_ ∈ _D_ ; 4. Solve optimisation problem with the ALBM-based method presented in Section 2; Algorithm 1: Generic validation approach with an _a priori_ defined geometry _Π_ . The quality of the resulting object geometry is evaluated by comparison to the _a priori_ defined geometry _Π_ . The modelling and discretisation of the fluid flow simulation follows the approach of _collide_ _and_ _stream_ presented in Section 3. The modelling and discretisation of the optimisation problem follows the approach of ALBM described in Sections 2 and 3. The simulations and optimisations are run on a regular grid of resolution _N_ = 100, i.e. a lattice length of 1 _/N_ = 0 _._ 01, if not noted otherwise. In all test cases, the gradient-based quasi-Newton algorithm BFGS [17] is used. For the physical properties of the object identification test case a viscosity of _ν_ = 0 _._ 1 m <sup>2</sup> _/_ s is used which results in a Reynolds number of 10. The geometrical setup of these test cases consists of a cube of side length 1 m, which is defined as the flow domain _Ω_ as described in Fig. 4. The _design domain D_ (green) is defined as a cube of side length 0.4 m in the centre of _Ω_ . Various different object geometries _Π_ are placed inside the design domain _D_, which are to be identified by the solution approach. _5.2._ _Partial data objectives_ It is a common problem with flow domain identification to have only incomplete data available. For example, with PC-MRI measurements, most of the time only slices of data are measured. This poses a big challenge to the optimisation algorithm. One may be interested in a specific object which is unfortunately not covered by the area where the measurement is applied. _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ 9 Fig. 5. Cube Identification from Partial Data (Scheme). Inside the design domain _D_ (green) an object _C_ =: _Π_ is placed, which is to be identified. The objective domain (red) is reduced to different parts of the domain, and therefore only partial information of the flow data is used for the optimisation algorithm. For (a) (Shadow Quarter) the objective domain is reduced to the quarter behind the cube with respect to the flow direction, reaching from _y_ = 0 _._ 75 to _y_ = 1. For (b) (Upper Quarter) the upper quarter of the flow domain, reaching from _z_ = 0 _._ 75 to _z_ = 1 is used. And for (c) (Two Slices) one slice in front of the object, reaching from _y_ = 0 _._ 1 to _y_ = 0 _._ 2, and one slice behind the object, reaching from _y_ = 0 _._ 8 to _y_ = 0 _._ 9 is used. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.) Fig. 6. Object Identification: Cube (Scheme). A cube _C_ =: _Π_ of side length 0.2 m (blue) is placed in the centre of the design domain _D_ (green). Therefore, the same cube identification test case as presented above is set up with _Π_ := _C_, but the objective domain, where the objective functional is evaluated, is reduced to three different subdomains of _Ω_ . In all three partial data test cases, the design domain _D_ is completely uncovered by the objective functional. The partial data test cases are the _flow_ _shadow_ _quarter_ test case where only the 25% of the flow data behind the cube is being used. An _upper_ _quarter_ test case with only the upper 25% of the flow data is being used. And the _two slices_ test case where only two slices of each 10% of the flow data behind and in front of the cube is being used (cf. Fig. 5). _5.3._ _Test case 1: Cube identification_ First a simple flow domain identification test case is set up. A single cube _C_ =: _Π_ of 0.2 m is placed in the centre of the previously introduced design domain _D_ . The detailed setup of this test case is presented in Fig. 6. The graph of the optimisation objective for the numerical results of this test case are presented in Fig. 7 for different grid resolutions _N_ = 25 _,_ 50 and 100, i.e. the voxel length is 1 _/N_ m. It is observed that the value of the objective decreases for increasing grid resolutions, indicating the convergence of the objective towards zero if _N_ tends to infinity, as well as the grid independence of the start value. In Fig. 8, a graphical visualisation of the numerical results of this test case with a porosity threshold value of _dh_ = 0 _._ 99 is presented. The results show very few points of a porosity value near the threshold value of _dh_ = 0 _._ 99 after termination of the optimisation algorithm. The cube can be clearly identified after as few as 10 optimisation steps, with a highly precise identification after 35 steps with very low porosity values, indicating a very clear separation between solid and fluid points. In Fig. 9 the porosity in a slice of the cube in the _y_ - _z_ plane is shown. As it can be seen, the inside of the cube is also getting more solid. In order to measure the error of the object identification we propose following error norm ∥ _dh_ - _dC_ ∥ _L_ 2( _D_ ) ∥ _dC_ ∥ _L_ 2( _D_ ) _,_ (19) 10 _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ Fig. 7. Optimisation objective on different grid resolutions _N_ . Results for the fluid flow characterisation. The optimisation algorithm reached a termination condition for grid resolution _N_ = 50 after 17 optimisation steps. For _N_ = 25 and _N_ = 100, the number of optimisation steps exceeded 30. An artificial data point is inserted for _N_ = 50 at step 30 with the same value as at step 17 for comparison purposes. Fig. 8. Cube Identification (Results). The cube identification algorithm after 5, 10, 20 and 35 optimisation steps. The original cube is marked by a black outline. The figure shows the same section, displaying only lattice-porosities of _dh_ ≤ 0 _._ 99. Fig. 9. Cube Identification Inside (Results). The cube identification algorithm after 5, 10, 20 and 35 optimisation steps. Shown is the porosity in a slice of the cube in the _y_ - _z_ plane, with threshold of _dh_ ≤ 0 _._ 99. where _dh_ is the lattice porosity obtained by the optimisation method and _dC_ the porosity of the object. Fig. 10 shows the proposed error norm for the identification of the cube, where the error starts at 97% and reaches 2% in the end, indicating the clear identification of the object. _5.3.1._ _Test case 2: Cube identification from partial data_ For the fluid flow characterisation the relative _L_ <sup>2</sup> error of the velocity inside the objective domain ∥ _u_ - _u_ <sup>∗</sup> ∥ _L_ 2( _<u>Ω</u>_ ) ∥ _u_ <sup>∗</sup> ∥ _L_ 2( _Ω_ ) (20) was considered. The results of the three partial data test cases and the full data test case is presented in Fig. 11. It is observed that for all three partial data test cases the objective reaches very low values, indicating that the optimisation works very well inside the objective domain. After 10 steps the error reaches near its minimum for all cases. Fig. 12 shows the error inside the whole domain. For all test cases the error gets minimised, where the full information case works best, as expected. The shadow quarter test case is the slowest of the three to converge, but still reaches an error of 5%. The two slices test case produces the best approximation in the lowest number of optimisation steps with only 20% of the flow data being used and _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ 11 Fig. 10. Object Identification. The relative _L_ <sup>2</sup> error for the given and simulated porosity fields is shown. The error starts at 97% and reaches 2%, indicating a clear identification of the object. Fig. 11. Flow Characterisation: Objective Domain. The relative _L_ <sup>2</sup> error inside the objective domain for the velocity is given for the full and partial information test cases. an error of 1%. Although the fluid flow is very accurately characterised by the proposed method, the object is not as clearly identified. As can be seen in Fig. 14 a cubical form is nearly identified but with high porosities and low porosities are only found near the objective domain. This is best seen for the upper quarter case. For the two slices case the lowest porosities are in direction of the flow. Fig. 13 shows the relative _L_ <sup>2</sup> error of the porosities were an error of 64% for the shadow case, 33% for the two slices case and 79% for the upper case are found. This contrasts strongly with the results obtained for the flow characterisation, where the error is less than 5%. This could be due to the interpretation of the lattice porosities, which is strongly dependent on the grid size, as discussed in Section 4. The interpretation of a lattice porosity for one grid size is a very different one for another grid size (cf. 2). _5.4._ _Test case 3: Identification of more complex object geometries_ After successfully identifying a simple cube in the design domain _D_ in the previous test cases, the optimisation algorithm is applied to increasingly complex geometries. For each of the following test cases, a scheme is provided, describing the _a_ _priori_ defined geometry _Π_ that is to be identified by the optimisation algorithm and the numerical results are visualised for validation. _5.4.1._ _Object identification: Sphere_ In this test case, a sphere _S_ =: _Π_ of radius 0.1 m (blue) is placed in the centre of the design domain (green) as described in Fig. 15. The numerical results are visualised in Fig. 16, the result of the relative _L_ <sup>2</sup> error of the objective is shown in Fig. 17. It is observed that the optimisation algorithm is able to identify the position and shape of the sphere at a satisfying level after 5 steps and with very low porosity values after only 15 steps. After 2 steps, the object is barely to be recognised, but after 5 steps, the sphere is mostly identified. After 10 steps, the porosity values have become lower and the shape of the sphere is identified more precisely. After 15 steps, the sphere is clearly identified with very low porosity values. 12 _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ Fig. 12. Flow Characterisation: Whole Domain. The relative _L_ <sup>2</sup> error for the velocity inside the whole domain is given for the full and partial information test cases. The full information case reaches the lowest error. For the partial information cases the shadow case shows the highest error at 5%, where the two slices case reaches 1%. Fig. 13. Object Identification. Shown is the relative error of given and simulated porosity fields for the partial test cases. _5.4.2._ _Two spheres side by side_ In this test case, two spheres { _S_ 1 _, S_ 2} =: _Π_ are placed side by side in the centre of the design domain as described in Fig. 18. It is assumed that the area in the middle of the two spheres poses a big challenge for the optimisation algorithm. The visualisation of the numerical results are presented in Fig. 19, the result of the relative _L_ <sup>2</sup> error in Fig. 20. It is observed that the optimisation algorithm is able to clearly identify the position and shape of the two spheres with very low porosity values after 25 steps. After 5 steps, the shape of the objects is roughly to be recognised. After 15 steps, the two spheres are identified with low porosity values, whilst the front area of spheres consists still of very high porosity values. After 25 steps, the two spheres are clearly identified with very low porosity values. _5.4.3._ _Cube and cuboid_ In this test case, a cube and a cuboid are placed in the design domain asymmetrically as described in Fig. 21. It is assumed that the asymmetric positioning is a challenging task for the optimisation algorithm. The close positioning of the objects is suspected to be an additional challenge. One needs to be aware of the position of the small cube in the corner of the design domain. Since all neighbouring points outside the design domain are set to be totally fluid ( _dh_ = 1), the three outwards oriented surfaces of the cube are assumed to be immediately identified as even surfaces. The visualisation of the numerical results are presented in Fig. 22, with the relative _L_ <sup>2</sup> error of the objective in Fig. 23. It is observed that the optimisation algorithm is able to identify both objects with satisfying precision in 10 steps and with significantly lower porosity values in 25 steps. After 2 steps, the two objects are still indistinguishable. After 5 steps, one can already roughly identify the two distinct objects. After 10 steps, the objects are mostly identified, leaving it for the next 15 steps to lower the porosity values of the points even more. After 25 steps, the objects are clearly identified. _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ 13 Fig. 14. Cube Identification from Partial Data (Results). Each row shows the results of the optimisation algorithm for a different partial data test case at the last optimisation step (cf. Fig. 5). The threshold for every result is given, where _dh_ = 0 _._ 9 means all porosities greater than 0.9 are not shown. Fig. 15. Object Identification: Sphere (Scheme). A sphere _S_ =: _Π_ of radius 0.1 m (blue), which is to be identified, is placed in the centre of the design domain _D_ (green). 14 _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ Fig. 16. Object Identification: Sphere (Results). Optimisation results after 2, 5, 10 and 15 steps are visualised for the test case described in Fig. 15. Fig. 17. Identification of a Sphere. Relative L2 error of the velocity for the full data test case of a sphere. Fig. 18. Object Identification: Two Spheres Side By Side (Scheme). Two spheres { _S_ 1 _, S_ 2} =: _Π_ with radius 0.05 m (blue), which are to be identified, are placed side-by-side in the centre of the design domain _D_ (green). The centre of _S_ 1 is at (0.45, 0.5, 0.5) and the centre of _S_ 2 is at (0.55, 0.5, 0.5). It is observed that the outwards oriented surfaces of the small cube are identified as even surfaces as early as in the second step. 6. Conclusion In this work, the solution strategy for domain identification problems [16] has been improved and thoroughly validated. The approach allows the identification of objects in a fluid by solving an optimisation problem based on ALBM. Therefore, the parameters of a porous media fluid flow problem are controlled to achieve a specified velocity profile. It turns out that linking the variables representing the porosity of the discrete problem with the control variables is the key to a robust setup that does not require initial parameter tuning. The linking is analysed and a projection is proposed to ensure grid independence for a given set of control variables. Based on a porous media model formulated on a mesoscopic scale, it is shown that the novel ALBM-based optimisation approach is able to clearly identify the flow domain for problems up to 70000 controlled variables, in wide range of validation test cases, various _a_ _priori_ defined object geometries of increasing complexity and _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ 15 Fig. 19. Object Identification: Two Spheres Side By Side (Results). Optimisation results after 2, 5, 15 and 25 steps are visualised for the test case described in Fig. 18. Fig. 20. Identification of Two Spheres. Relative L2 error of the velocity for the full data test case of two spheres. Fig. 21. Object Identification: Cube and Cuboid (Scheme). A small cube _C_ 1 of side length 0.1 m (blue) is placed in an upper corner of the design domain _D_ (green), extending from (0.6, 0.6, 0.6) to (0.7, 0.7, 0.7). An additional cuboid _C_ 2 (blue) of side length (0.1 m, 0.2 m, 0.2 m) extending from (0.4, 0.4, 0.4) to (0.5, 0.6, 0.6) is placed in the design domain _D_ (green). The geometry { _C_ 1 _, C_ 2} =: _Π_ is to be identified. Fig. 22. Object Identification: Cube and Cuboid (Results). Optimisation results after 2, 5, 10 and 25 steps are visualised for the test case described in Fig. 21. 16 _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ Fig. 23. Identification of a Cube and a Cuboid. Relative L2 error of the velocity for the full data test case of a cube and a cuboid. of decreasing flow data being available. In future, improvements, as for example additional conditions on the volume, are to be found that ensure the uniqueness of the identified objects. Further, a combination with MRI measurements can be considered. For it, MRI data could serve as the given velocity profiles. A significant reduction of the noise in the flow field is expected as well as an identification of the flow domain, i.e. a new segmentation approach is expected, which projects the measured flow field very close to the physical one. Acknowledgements The authors would like to thank Tim Dornieden and Lukas Baron from KIT (Karlsruhe, Germany) for their contributions to ALBM as well as Willy Dörfler and Hermann Nirschl, both from KIT, for providing the work facilities and excellent supervision. The authors would also like to thank the Steinbuch Centre for Computing at KIT for allowing access to their high performance computer FH1, where most computations have been performed. References [1] [B. Chopard, M. Droz, Cellular Automata Modeling of Physical Systems, Cambridge University Press, 1998. http://dx.doi.org/10.1017/CBO9780511549](http://dx.doi.org/10.1017/CBO9780511549755) [755.](http://dx.doi.org/10.1017/CBO9780511549755) [2] T. Henn, G. Thäter, W. Dörfler, H. Nirschl, M. Krause, Parallel dilute particulate flow simulations in the human nasal cavity, Comput. & Fluids 124 (2016) [197–207. http://dx.doi.org/10.1016/j.compfluid.2015.08.002.](http://dx.doi.org/10.1016/j.compfluid.2015.08.002) [3] [V. Heuveline, F. Strauss, Shape optimization towards stability in constrained hydrodynamic systems, J. Comput. Phys. 228 (2009) 938–951.](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb3) [4] G. Pingen, A. Evgrafov, K. Maute, Topology optimization of flow domains using the lattice Boltzmann method, Struct. Multidiscip. Optim. 34 (6) (2007) [507–524. http://dx.doi.org/10.1007/s00158-007-0105-7.](http://dx.doi.org/10.1007/s00158-007-0105-7) [5] G. Pingen, A. Evgrafov, K. Maute, A parallel Schur complement solver [for](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb5) the solution of the adjoint steady-state lattice Boltzmann equations: [application to design optimisation, Int. J. Comput. Fluid Dyn. 22 (7) (2008) 457–464.](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb5) [6] G. Pingen, A. Evgrafov, K. Maute, Adjoint parameter sensitivity analysis for the hydrodynamic lattice Boltzmann method with applications to design optimization, Comput. & Fluids 38 (4) (2009) 910–923. [http://dx.doi.org/10.1016/j.compfluid.2008.10.002.](http://dx.doi.org/10.1016/j.compfluid.2008.10.002) URL: [http://www.sciencedirect.](http://www.sciencedirect.com/science/article/B6V26-4TTMJN3-1/2/16383afe088243863f7bc5f569da1279) [com/science/article/B6V26-4TTMJN3-1/2/16383afe088243863f7bc5f569da1279.](http://www.sciencedirect.com/science/article/B6V26-4TTMJN3-1/2/16383afe088243863f7bc5f569da1279) [7] S. Kreissl, G. Pingen, K. Maute, Topology optimization for unsteady flow, Internat. J. Numer. Methods Engrg. 87 (13) (2011) 1229–1253. [http:](http://dx.doi.org/10.1002/nme.3151) [//dx.doi.org/10.1002/nme.3151.](http://dx.doi.org/10.1002/nme.3151) [8] M.M. Tekitek, M. Bouzidi, F. Dubois, P. Lallemand, Adjoint lattice Boltzmann equation for parameter identification, Comput. & Fluids 35 (2006) 805–813. [http://dx.doi.org/10.1016/j.compfluid.2005.07.015.](http://dx.doi.org/10.1016/j.compfluid.2005.07.015) [9] M.J. Krause, G. Thäter, V. Heuveline, Adjoint-based fluid flow control and optimisation with lattice Boltzmann methods, in: Mesoscopic Methods in [Engineering and Science, Comput. Math. Appl. 65 (6) (2013) 945–960. http://dx.doi.org/10.1016/j.camwa.2012.08.007.](http://dx.doi.org/10.1016/j.camwa.2012.08.007) [[10]](http://dx.doi.org/10.1007/978-1-4020-8839-1) [M. Hinze, R. Pinnau, M. Ulbrich, S. Ulbrich, Optimization with PDE Constraints, vol. 23, Springer Science & Business Media, 2008. http://dx.doi.org/10.](http://dx.doi.org/10.1007/978-1-4020-8839-1) [1007/978-1-4020-8839-1.](http://dx.doi.org/10.1007/978-1-4020-8839-1) [11] M.D. Gunzburger, Perspectives in Flow Control and Optimization, vol. 5, SIAM, 2003. [12] G. Liu, M. Geier, Z. Liu, M. Krafczyk, T. Chen, Discrete adjoint sensitivity analysis for fluid flow topology optimization based on the generalized lattice [Boltzmann method, Comput. Math. Appl. 68 (10) (2014) 1374–1392. http://dx.doi.org/10.1016/j.camwa.2014.09.002.](http://dx.doi.org/10.1016/j.camwa.2014.09.002) [13] L. Laniewski-Wollk, J. Rokicki, Adjoint Lattice Boltzmann for topology optimization on multi-GPU architecture, Comput. Math. Appl. 71 (3) (2016) [833–848. http://dx.doi.org/10.1016/j.camwa.2015.12.043.](http://dx.doi.org/10.1016/j.camwa.2015.12.043) [14] K. Yaji, T. Yamada, M. Yoshino, T. Matsumoto, K. Izui, S. Nishiwaki, Topology optimization using the lattice Boltzmann method incorporating level set [boundary expressions, J. Comput. Phys. 274 (2014) 158–181. http://dx.doi.org/10.1016/j.jcp.2014.06.004.](http://dx.doi.org/10.1016/j.jcp.2014.06.004) [15] K. Yonekura, Y. Kanno, A flow topology optimization method for steady state flow using transient information of flow field solved by lattice Boltzmann [method, Struct. Multidiscip. Optim. 51 (1) (2015) 159–172. http://dx.doi.org/10.1007/s00158-014-1123-x.](http://dx.doi.org/10.1007/s00158-014-1123-x) [16] M.J. Krause, B. Förster, A. Mink, H. Nirschl, Towards solving fluid flow domain identification problems with adjoint lattice Boltzmann methods, in: High [Performance Computing in Science and Engineering ’16, Springer International Publishing, Cham, 2016, pp. 337–353. http://dx.doi.org/10.1007/978-](http://dx.doi.org/10.1007/978-3-319-47066-5_23) [3-319-47066-5_23.](http://dx.doi.org/10.1007/978-3-319-47066-5_23) _F. Klemens et al. / Computers and Mathematics with Applications_ _(_ _)_ _–_ 17 [17] R.H. Byrd, P. Lu, J. Nocedal, C. Zhu, A limited memory algorithm for bound constrained optimization, SIAM J. Sci. Comput. 16 (5) (1995) 1190–1208. [http://dx.doi.org/10.1137/0916069.](http://dx.doi.org/10.1137/0916069) [18] M.D. Gunzburger, Perspectives In Flow Control and Optimization, in: Advances in Design and Control, Society for Industrial and Applied Mathematics, [Philadelphia, PA, USA, 2002. URL: http://www.ulb.tu-darmstadt.de/tocs/129935174.pdf.](http://www.ulb.tu-darmstadt.de/tocs/129935174.pdf) [[19]](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb19) [M.J. Krause, Fluid Flow Simulation and Optimisation with Lattice Boltzmann Methods on High Performance Computers - Application to the Human](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb19) [Respiratory System (Ph.D. thesis), Karlsruhe Institute of Technology (KIT), 2010.](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb19) [[20]](http://dx.doi.org/10.1016/S0012-9593%0x2803%0x2900010-7) [L. Saint-Raymond, From the BGK model to the Navier-Stokes equations, Ann. Sci. Éc. Norm. Supér. 36 (2) (2003) 271–317. http://dx.doi.org/10.1016/](http://dx.doi.org/10.1016/S0012-9593%0x2803%0x2900010-7) [S0012-9593(03)00010-7. URL: http://www.sciencedirect.com/science/article/B6VKH-48HS9DK-5/2/4b7102c9ed9f501112dc9b08b7c9ae3d.](http://dx.doi.org/10.1016/S0012-9593%0x2803%0x2900010-7) [21] M.A.A. Spaid, F.R. Phelan Jr., Lattice Boltzmann methods for modeling microscale flow in fibrous porous media, Phys. Fluids 9 (9) (1997) 2468–2474. [http://dx.doi.org/10.1063/1.869392.](http://dx.doi.org/10.1063/1.869392) [22] C. Geiger, C. Kanzow, Numerische Verfahren zur Lösung unrestringierter Optimierungsaufgaben, in: Springer-Lehrbuch, Springer, Berlin, 1999. URL: [http://swbplus.bsz-bw.de/bsz080178243inh.htm, http://swbplus.bsz-bw.de/bsz080178243cov.htm.](http://swbplus.bsz-bw.de/bsz080178243inh.htm) [23] M.J. Krause, F. Klemens, T. Henn, R. Trunk, H. Nirschl, Particle flow simulations with homogenised lattice Boltzmann methods, Particuology [34 (Supplement C) (2017) 1–13. http://dx.doi.org/10.1016/j.partic.2016.11.001.](http://dx.doi.org/10.1016/j.partic.2016.11.001) [[24]](http://dx.doi.org/10.1007/978-3-540-27982-2) [M.C. Sukop, D.T. Thorne, Lattice Boltzmann Modeling: An Introduction for Geoscientists and Engineers, Springer, 2006. http://dx.doi.org/10.1007/978-](http://dx.doi.org/10.1007/978-3-540-27982-2) [3-540-27982-2.](http://dx.doi.org/10.1007/978-3-540-27982-2) [25] [D. Hänel, Molekulare Gasdynamik, Springer, 2004.](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb25) [26] M.J. Krause, Fluid Flow Simulation and Optimisation with Lattice Boltzmann Methods on High Performance Computers: Application to the Human Respiratory System (Ph.D. thesis), Karlsruhe Institute of Technology (KIT), Universität Karlsruhe (TH), Kaiserstraße 12, 76131 Karlsruhe, Germany, [2010. URL: http://digbib.ubka.uni-karlsruhe.de/volltexte/1000019768, http://digbib.ubka.uni-karlsruhe.de/volltexte/1000019768.](http://digbib.ubka.uni-karlsruhe.de/volltexte/1000019768) [[27]](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb27) D.A. Wolf-Gladrow, Lattice-Gas, Cellular Automata and Lattice [Boltzmann](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb27) Models, An Introduction, in: Lecture Notes in Mathematics, Springer, [Heidelberg, Berlin, 2000.](http://refhub.elsevier.com/S0898-1221%0x2818%0x2930375-4/sb27) [[28]](http://dx.doi.org/10.1016/j.camwa.2009.04.001) V. Heuveline, M. Krause, J. Latt, Towards a hybrid parallelization of lattice Boltzmann methods, Comput. Math. Appl. 58 (2009) 1071–1080. [http:](http://dx.doi.org/10.1016/j.camwa.2009.04.001) [//dx.doi.org/10.1016/j.camwa.2009.04.001.](http://dx.doi.org/10.1016/j.camwa.2009.04.001)

섹션 본문 71문단 · 28,891자

(제목 없음)

1a b s t r a c tIn this article, the adjoint lattice Boltzmann method (ALBM) for solving fluid domain identification problems for incompressible fluids, proposed by , is improved and validated. The problem is formulated as a distributed control problem which minimises the distance between a given, e.g. from measurements like MRI, and a simulated flow field. Thereby, the simulated flow field is the solution of a parametrised porous media BGK-Boltzmann problem, where the parameters represent porosity distributed in the domain. The proposed parametrisation consists of linking the variables representing a lattice-dependent porosity with the control variables. Hereby, it is paid attention that a given control parameter set yields results which are independent of the underlying grid resolution. It enables solving an optimisation problem with different resolutions without adapting the initial set of control variables.

Introduction

2Solving fluid flow domain identification problems numerically is a very important task, not only for academic studies, but also for medical and process engineering applications. One possible application is the improvement of Phase Contrast MRI (PC-MRI) measurements through coupling of measured and simulated results, which can lead to a significantly more accurate characterisation of flows and flow domains in complex geometries. The so improved PC-MRI promises to expand the area of its application and further enables saving costly and limited resources or improving the effectiveness of their use. The suggested approach has therefore an enormous economic and social impact. A great challenge thereby is to numerically solve the problem in a time reasonable for practical applications. Fluid flow domain identification problems can be formulated as restricted optimisation problems, where the difference of a measured and simulated fluid flow field is minimised. Because the side condition to be solved, here a fluid flow problem, requires a very large amount of computer resources, a highly efficient and scalable parallelisation of the solution strategy is vital.

3Because of the simplicity of the core algorithm and its local computations, the lattice Boltzmann methods (LBM) have not only become a widely accepted numerical tool to solve incompressible Navier-Stokes equations [1], but also for high performance computing (HPC) and various physical problems [2,3]. However, for fluid flow control and optimisation problems its usefulness has only been partially discussed. For example for 2D topology and design optimisation by Pingen

Norms and Spaces

4x · y Standard scalar product for x, y ∈ R n , n ∈ N ∥x∥ Euclidean norm, √

5x · x for x ∈ R n , n ∈ N

6Divergence et al. [4][5][6], which has been extended for transient flows by Kirk et al. [7]. These methods use an adjoint sensitivity approach to calculate the needed gradient based on the discrete lattice Boltzmann equation. This approach leads to a linear system, which is then solved by e.g. the Schur-complement method [5], or for transient problems by matrix-vector products due to backwards in time evaluation [7]. The first to derive an adjoint lattice Boltzmann equation were Tekitek et al. [8], whereby the adjoints were also derived from the discrete equations. In contrast, the strategy proposed by Krause et al. [9] follows a sensitivity-based so-called first-optimise-then-discretise approach [10], also called first-differentiate-then-discretise [11], where the adjoint equation is derived on a continuous basis and then discretised afterwards. This discretisation strategy, referred to as adjoint lattice Boltzmann method (ALBM) [9], leads to algorithms as efficient as LB algorithms due to similar locality properties. Recently, Liu et al. [12] and also Laniewski-Wollk et al. [13] showed that using the first-discretise-thenoptimise also yields structures similar to LBM and thus no matrix solving is required. ALBM is most often used for solving topology optimisation problems, e.g. by Liu et al. [12], Yaji et al. [14], Laniewski-Wollk et al. [13], Yonekura et al. [15] while its application to other inverse or optimisation problems is rarely studied.

7The main aim of this article is to improve the robustness of the adjoint lattice Boltzmann method (ALBM) for solving fluid flow domain identification problems, proposed by Krause et al. [16]. Additionally, the method is to be thoroughly validated for laminar fluid flow regimes with existing steady state.

8In order to determine the flow domain and the physical flow dynamics, it is proposed to formulate the fluid flow problem parametrised with a porous media model, where porosities are linked to control variables. The use of porosities thereby guarantees continuous functions, which are necessary for the solution strategy considered here. The optimisation problem is then minimising the difference between resulting and the measured velocity distribution. After completion of the gradientbased optimisation algorithm (e.g. the LBFGS scheme [17]), a porosity threshold value is chosen in order to interpret the resulting porosity values as solid or fluid. In order to enable solving an optimisation problem with different resolutions without adapting the initial set of control variables, i.e. to guarantee the robustness of the parametrisation, a linking is proposed which connects the variables representing a lattice-dependent porosity with control variables. Hereby, it is paid attention that a given control parameter set yield to results which are independent of the underlying grid resolution.

9In Section 2 the optimisation problem is introduced, and with it a parametrised BGK-Boltzmann model for fluid flow through porous media, as well as a sensitivity-based strategy to solve fluid flow domain identification problems. In Section 3 the discretisation for the primal and dual problem is discussed, thereby the similar structure of both problems is utilised which leads to discretisation methods referred to as lattice Boltzmann method and adjoint lattice Boltzmann method. In Section 4, a robust parametrisation is introduced. It is shown that the proposed relation between the lattice-dependent porosities and the control variables are robust with respect to grid resolution. Further, the result is a projection which turns the optimisation problem in an unrestricted problem which enables the use of standard gradient-based optimisation schemes as Steepest Decent or L-BFGS.

Method

10Here, a brief overview of the used method and the later needed variables and terms are provided. Thereby, the governing equations are first derived in continuous description and discretised afterwards, a procedure often referred to as the first-optimise-then-discretise strategy [18]. Further, the underlying porous media BGK-Boltzmann equation is introduced, a continuous solution strategy for the optimisation problem is given by formulating a primal and dual problem, and the specific domain identification problem equations are formulated. The method is described in detail in the preceding work of Krause et al. [16].

Overview

11We consider the following constrained optimisation problem minimise J(f , α), such that G(f , α) = 0.

12(1) Thereby f is said to be the state, α the control, J the goal function and G(f , α) = 0 the side condition or constraint. Using a quasi-Newton method, like BFGS [17], the optimisation problem is solved iteratively using only the goal function J and its total derivative with respect to the control d dα J (cf. [9,16]). However, finding the total derivative or calculating it efficiently is the main challenge for optimisation problems.

Side condition

13Here, the side condition is an element of the diffusive limit family of porous media BGK-Boltzmann equations [19,16] denoted as

14where f = f (t, r, c) is the particle distribution function, with time t ∈ I = [t 0 , t 1 ) ⊆ R ≥0 , position r ∈ Ω ⊆ R d , velocity c ∈ R d , model parameter h ∈ R >0 and kinematic viscosity ν ∈ R. As shown by Saint-Raymond [20] Eq. Furthermore,

15with permeability K . Porosity values of d := d(r) are to be interpreted as solid (d = 0), fluid (d = 1) and porous (d ∈ (0, 1)) at point r ∈ Ω.

16Using the porous media model requires the control parameter α(r) ∈ R to be projected onto the porosity parameter d h (r) ∈ [0, 1] for all points r ∈ Ω through an operator Bα = d h . An appropriate operator B is introduced in Section 4. This coupling of porosity and control leads to

17) .

18(4)

Goal function

19For domain identification problems the goal functional J is defined as

20with u * is the measured flow field (e.g. by a PC-MRI scan) and Ω J ⊆ Ω is the objective domain. The partial derivative with respect to the particle distribution, needed for the optimality condition (Section 2.4), reads

21Note that the evaluation of the goal functional J requires solving the side condition G(f , α) = 0, which corresponds to solving a fluid flow problem.

Optimality condition

22A necessary condition for an optimal state (f * , α * ) is given by the optimality condition d dα J(f * , α * ) = 0 [9,16]. Here, the optimality condition formulates as

23where ϕ is determined by solving the adjoint porous media BGK-Boltzmann equation (cf. [16])

24with the adjoint Maxwellian distribution

25The main advantage of this method is the similarity of the porous media BGK-Boltzmann equation (2) and its adjoint formulation (7), as they both can be discretised in a similar manner, which is discussed in Section 3. The discretised form of the optimality condition (6) is then used for a gradient-based method like steepest descent or BFGS in combination with e.g. the Armijo or the Wolfe-Powell rule to find the optimal state iteratively (cf. [22,16]).

Discretisation

26Due to the similar structure of the LB equation (2) and the ALB equation (7), similar discretisation methods can be used, which are referred to as lattice Boltzmann method (LBM) and adjoint lattice Boltzmann method (ALBM), depending on the based equations.

27LBM are strategies for discretising a family of Boltzmann equations or of other mesoscopic Boltzmann-like equations which is related to a target equation in a certain limit which is usually macroscopic in nature. The basic and common idea of all LBM is the coupling of discretisation parameters with those parameters characterising the limit process.

28The specific domain identification problem equations are discretised with an adjoint lattice Boltzmann method (ALBM) [9,16].

Lattice Boltzmann method

29The continuous space I × Ω × R d is replaced by a discrete space I h × Ω h × Q where h is identified with the model parameter and is now called the discretisation parameter. The position space Ω h is chosen as a uniform grid with spacing h and the discrete time interval is set to

30The velocity space Q consists of q ∈ N directions c i (i = 0, 1, . . . , q − 1) which link dedicated neighbouring positions in such a way that for r ∈ int Ω h it holds r + c i h 2 ∈ Ω h , i.e. c i ∼ h −1 . The resulting discrete phase space is called the lattice and denoted by DdQq. The continuous distribution function f is replaced by a set f h of q distribution functions f i (i = 0, 1, . . . , q − 1), which represent an average value of f in the neighbourhood of the velocity c i . For the porous media model the lattice porosity d h is defined as [16,21,23]

31with physical permeability K and relaxation time τ h = 3ν h + 1/2. Where the parameter h 2 comes from nondimensionalisation of the physical permeability. The iterative process in an LB algorithm can be written in two steps as follows, the collision step (9) and the streaming step (10):

32is a discretised Porous-Media Maxwell distribution with moments ρ f h and u f h which are defined as

33where u f h corresponds to the macroscopic fluid velocity and ρ f h to the mass density. The lattice viscosity ν h is assumed to be given, and the terms w i /w, c i h (i = 0, 1, . . . , q − 1) are model dependent constants. An exhaustive derivation of various LB equations can be found e.g. in [1,24,25]. For D2Q 9 and D3Q 27 Krause [26] showed that the truncation error comparing an element of the diffusive limit family of BGK-Boltzmann equations with its corresponding discrete LB term is of second order. Krause's approach is different to previously published derivations of LBM, where macroscopically motivated assumptions are made. For the derivation of the ALBM the approach in [26] is followed.

Adjoint lattice Boltzmann method

34Like for the LBM (cf. [1,24,27]), the particular choice of I h ×Ω h ×Q sets up an ALBM model which is denoted by DdQq with d representing the dimension and q the number of discrete velocities in Q ⊆ R d . Commonly D2Q 9, D3Q 19 and D3Q 27 models are applied. In a similar manner an iterative algorithm can be derived, which is executed step by step but for decreasing t ∈ I h . In every time step two operations are to be performed for all r ∈ Ω h and every j = 0, 1, . . . , q − 1, namely the adjoint collision step (12) and the adjoint streaming step (13)

35where ϕ j (t, r) := ϕ(t, r, c j ) and c j ∈ Q , and with velocity discrete adjoint Maxwellian distribution

36The velocity discrete derivative of the goal functional reads

37The advantage of the ALBM is that the resulting equations (cf. (12), (13)) are very similar to the LB equations (cf. (9), (10)). The main differences are its time reverse character and the additional term Consequently an ALB algorithm can be implemented similarly to a LB algorithm [16]. In particular, the data structure design and the hybrid parallelisation strategy proposed early for standard LBM in [28] can be applied. Therefore, executing an ALB scheme is expected to qualitatively perform as efficient as a LB scheme. For a detailed analysis and efficient implementation the preceding work of Krause et al. [16] is recommended.

Projection: linking porosity and control

38The proposed optimisation problem is unbounded, i.e. all control variable are α ∈ R, but to change the topology of our domain we need to control the porosity parameter d h which is in [0, 1]. This section is dedicated to finding a projection 1]. Thereby the proposed projection should preserve the physical properties of fluid flow in porous media, such that the optimisation problem can be solved for different resolutions without adapting the initial set of control variables.

Analysis of lattice porosity and permeability in porous media LBM

39In order to analyse the influence of the lattice porosity on the simulation, we define a simple test case and a measure of the average flow velocity through a certain domain within a flow field. The test case is a cube of side length 1 m extending from geometrical point (0, 0, 0) to (1 m, 1 m, 1 m), defined as the flow domain Ω h with constant inflow at the surface of the cube at y = 0 and constant outflow at y = 1. At the inflow and outflow plane the velocity is set to 1 m/s in y-direction (cf. Fig. 4), with viscosity of 0.1 m 2 /s. Boundary conditions at x = 0, x = 1, z = 0 and z = 1 are set to bounce back. The design domain D (green), where a fixed porosity d h is set, is defined as a cube of side length 0.4 m in the centre of Ω, extending from (0.3, 0.3, 0.3) to (0.7, 0.7, 0.7) (cf. Fig. 4). This test case is also used in the numerical experiments in Section 5.

40For a fixed porosity value d h , we define the L 2 norm of the velocity inside the cube D

41where d h (r) = d h for all r ∈ D and u being the flow velocity function. We define the relative average velocity (RAV) norm

42The simulation was performed for five different grid sizes h = 1/N and twenty-eight permeability values K which are translated into different porosity values d h by relation d h = 1 − h 2 ν h τ h /K (cf. (8)). The results are shown in Fig. 1, which indicate that the physical permeability is grid-independent in the sense that it does not change the fluid flow behaviour for higher resolutions. The presented result is expected as it only indicates the validity of the used porous media model [21].

43The problem which arises is the grid dependency of porosity due to Eq. (8), therefore resulting in grid dependency of the optimisation parameter if used directly, for example in optimisation methods with bounded sets. The relation of porosity and permeability is shown in Fig. 2 for a viscosity of u h = 0.002. It shows that for a given permeability the corresponding porosity changes with the resolution. In order to maintain the fluid behaviour for different resolutions, we must therefore take permeability into account.

Constructing a projection using permeability

44To combine the advantages of grid-independency of permeability with the usability of porosity, we use the relation of the porous media model (cf. (8)). After defining the grid term G h := h 2 ν h τ h for notation purpose, we get

45where K ∈ [G h , ∞). We want the control to have the same properties as the permeability, therefore we are looking for a subprojection p :

46We propose p(α) := e α which yields

47with B ∈ C ∞ (R) and Bα ∈ (0, 1). Analysing the projection with the RAV norm, a similar fluid behaviour for a given control is observed, see Fig. 3. This is expected as Fig. 1 shows the logarithmic plot of K , where now the control is mapped to

48− −→ 0. Note, that using α = log(K ) directly would lead to d h ∈ (−∞, 1) and could therefore not be used in the porous media model.

49To summaries, the proposed projection Bα = e α e α +G h is a smooth function, which maps the control α ∈ R to a porosity d h ∈ (0, 1). Thereby the control is linked to the physical permeability which is consistent with the used porous media model.

Numerical experiments

50In this section, different flow domain identification test cases are investigated for validation. First, the novel domain identification approach of a priori defined geometries is presented in detail. Then, a simple test case of identifying a cube in the centre of a flow domain is presented, with the objective domain subsequently being reduced to subsets of the flow data.

Test case and generic evaluation approach

51For validation of the flow domain identification method, a generic test case approach is set up, where the geometry information which is to be identified is available a priori. Hereby, first the fluid flow around a solid object geometry Π is simulated and the resulting flow field is saved. Then the optimisation algorithm is applied to the obtained flow field by choosing a start value α 0 and setting d h (r) = Bα 0 for all points r in the design domain D ⊇ Π (see Fig. 4). Algorithm 1 describes the generic approach of a priori defined geometries in more detail. 4. Solve optimisation problem with the ALBM-based method presented in Section 2;

52Algorithm 1: Generic validation approach with an a priori defined geometry Π.

53The quality of the resulting object geometry is evaluated by comparison to the a priori defined geometry Π.

54The modelling and discretisation of the fluid flow simulation follows the approach of collide and stream presented in Section 3. The modelling and discretisation of the optimisation problem follows the approach of ALBM described in Sections 2 and 3. The simulations and optimisations are run on a regular grid of resolution N = 100 , i.e. a lattice length of 1/N = 0.01, if not noted otherwise. In all test cases, the gradient-based quasi-Newton algorithm BFGS [17] is used. For the physical properties of the object identification test case a viscosity of ν = 0.1 m 2 /s is used which results in a Reynolds number of 10.

55The geometrical setup of these test cases consists of a cube of side length 1 m, which is defined as the flow domain Ω as described in Fig. 4. The design domain D (green) is defined as a cube of side length 0.4 m in the centre of Ω. Various different object geometries Π are placed inside the design domain D, which are to be identified by the solution approach.

Partial data objectives

56It is a common problem with flow domain identification to have only incomplete data available. For example, with PC-MRI measurements, most of the time only slices of data are measured. This poses a big challenge to the optimisation algorithm. One may be interested in a specific object which is unfortunately not covered by the area where the measurement is applied. Therefore, the same cube identification test case as presented above is set up with Π := C , but the objective domain, where the objective functional is evaluated, is reduced to three different subdomains of Ω. In all three partial data test cases, the design domain D is completely uncovered by the objective functional. The partial data test cases are the flow shadow quarter test case where only the 25% of the flow data behind the cube is being used. An upper quarter test case with only the upper 25% of the flow data is being used. And the two slices test case where only two slices of each 10% of the flow data behind and in front of the cube is being used (cf. Fig. 5).

Test case 1: Cube identification

57First a simple flow domain identification test case is set up. A single cube C =: Π of 0.2 m is placed in the centre of the previously introduced design domain D. The detailed setup of this test case is presented in Fig. 6.

58The graph of the optimisation objective for the numerical results of this test case are presented in Fig. 7 for different grid resolutions N = 25, 50 and 100, i.e. the voxel length is 1/N m. It is observed that the value of the objective decreases for increasing grid resolutions, indicating the convergence of the objective towards zero if N tends to infinity, as well as the grid independence of the start value.

59In Fig. 8, a graphical visualisation of the numerical results of this test case with a porosity threshold value of d h = 0.99 is presented. The results show very few points of a porosity value near the threshold value of d h = 0.99 after termination of the optimisation algorithm. The cube can be clearly identified after as few as 10 optimisation steps, with a highly precise identification after 35 steps with very low porosity values, indicating a very clear separation between solid and fluid points.

60In Fig. 9 the porosity in a slice of the cube in the y − z plane is shown. As it can be seen, the inside of the cube is also getting more solid. In order to measure the error of the object identification we propose following error norm where d h is the lattice porosity obtained by the optimisation method and d C the porosity of the object. Fig. 10 shows the proposed error norm for the identification of the cube, where the error starts at 97% and reaches 2% in the end, indicating the clear identification of the object.

Test case 2: Cube identification from partial data

61For the fluid flow characterisation the relative L 2 error of the velocity inside the objective domain ∥u − u * ∥ L 2 (Ω) ∥u * ∥ L 2 (Ω) (20) was considered. The results of the three partial data test cases and the full data test case is presented in Fig. 11. It is observed that for all three partial data test cases the objective reaches very low values, indicating that the optimisation works very well inside the objective domain. After 10 steps the error reaches near its minimum for all cases. Fig. 12 shows the error inside the whole domain. For all test cases the error gets minimised, where the full information case works best, as expected. The shadow quarter test case is the slowest of the three to converge, but still reaches an error of 5%. The two slices test case produces the best approximation in the lowest number of optimisation steps with only 20% of the flow data being used and and Mathematics with Applications (2018), https://doi.org/10.1016/j.camwa.2018.07.010. an error of 1%. Although the fluid flow is very accurately characterised by the proposed method, the object is not as clearly identified. As can be seen in Fig. 14 a cubical form is nearly identified but with high porosities and low porosities are only found near the objective domain. This is best seen for the upper quarter case. For the two slices case the lowest porosities are in direction of the flow. Fig. 13 shows the relative L 2 error of the porosities were an error of 64% for the shadow case, 33% for the two slices case and 79% for the upper case are found. This contrasts strongly with the results obtained for the flow characterisation, where the error is less than 5%. This could be due to the interpretation of the lattice porosities, which is strongly dependent on the grid size, as discussed in Section 4. The interpretation of a lattice porosity for one grid size is a very different one for another grid size (cf. 2).

Test case 3: Identification of more complex object geometries

62After successfully identifying a simple cube in the design domain D in the previous test cases, the optimisation algorithm is applied to increasingly complex geometries. For each of the following test cases, a scheme is provided, describing the a priori defined geometry Π that is to be identified by the optimisation algorithm and the numerical results are visualised for validation.

Object identification: Sphere

63In this test case, a sphere S =: Π of radius 0.1 m (blue) is placed in the centre of the design domain (green) as described in Fig. 15.

64The numerical results are visualised in Fig. 16, the result of the relative L 2 error of the objective is shown in Fig. 17. It is observed that the optimisation algorithm is able to identify the position and shape of the sphere at a satisfying level after 5 steps and with very low porosity values after only 15 steps.

65After 2 steps, the object is barely to be recognised, but after 5 steps, the sphere is mostly identified. After 10 steps, the porosity values have become lower and the shape of the sphere is identified more precisely. After 15 steps, the sphere is clearly identified with very low porosity values.

Two spheres side by side

66In this test case, two spheres {S 1 , S 2 } =: Π are placed side by side in the centre of the design domain as described in Fig. 18. It is assumed that the area in the middle of the two spheres poses a big challenge for the optimisation algorithm. The visualisation of the numerical results are presented in Fig. 19, the result of the relative L 2 error in Fig. 20. It is observed that the optimisation algorithm is able to clearly identify the position and shape of the two spheres with very low porosity values after 25 steps.

67After 5 steps, the shape of the objects is roughly to be recognised. After 15 steps, the two spheres are identified with low porosity values, whilst the front area of spheres consists still of very high porosity values. After 25 steps, the two spheres are clearly identified with very low porosity values.

Cube and cuboid

68In this test case, a cube and a cuboid are placed in the design domain asymmetrically as described in Fig. 21. It is assumed that the asymmetric positioning is a challenging task for the optimisation algorithm. The close positioning of the objects is suspected to be an additional challenge.

69One needs to be aware of the position of the small cube in the corner of the design domain. Since all neighbouring points outside the design domain are set to be totally fluid (d h = 1), the three outwards oriented surfaces of the cube are assumed to be immediately identified as even surfaces. The visualisation of the numerical results are presented in Fig. 22, with the relative L 2 error of the objective in Fig. 23. It is observed that the optimisation algorithm is able to identify both objects with satisfying precision in 10 steps and with significantly lower porosity values in 25 steps.

70After 2 steps, the two objects are still indistinguishable. After 5 steps, one can already roughly identify the two distinct objects. After 10 steps, the objects are mostly identified, leaving it for the next 15 steps to lower the porosity values of the points even more. After 25 steps, the objects are clearly identified. It is observed that the outwards oriented surfaces of the small cube are identified as even surfaces as early as in the second step.

Conclusion

71In this work, the solution strategy for domain identification problems [16] has been improved and thoroughly validated. The approach allows the identification of objects in a fluid by solving an optimisation problem based on ALBM. Therefore, the parameters of a porous media fluid flow problem are controlled to achieve a specified velocity profile. It turns out that linking the variables representing the porosity of the discrete problem with the control variables is the key to a robust setup that does not require initial parameter tuning. The linking is analysed and a projection is proposed to ensure grid independence for a given set of control variables. Based on a porous media model formulated on a mesoscopic scale, it is shown that the novel ALBM-based optimisation approach is able to clearly identify the flow domain for problems up to 70000 controlled variables, in wide range of validation test cases, various a priori defined object geometries of increasing complexity and of decreasing flow data being available. In future, improvements, as for example additional conditions on the volume, are to be found that ensure the uniqueness of the identified objects. Further, a combination with MRI measurements can be considered. For it, MRI data could serve as the given velocity profiles. A significant reduction of the noise in the flow field is expected as well as an identification of the flow domain, i.e. a new segmentation approach is expected, which projects the measured flow field very close to the physical one.

참고문헌 33건

  1. Parallel dilute particulate flow simulations in the human nasal cavity Computers & Fluids · Elsevier BV · 2015 10.1016/j.compfluid.2015.08.002
  2. Lattice-Gas Cellular Automata and Lattice Boltzmann Models: An Introduction 2000
  3. Cellular Automata Modeling of Physical Systems SpringerReference · 2011 10.1007/springerreference_60229
  4. Optimization with PDE Constraints Mathematical modelling: theory and applications · Springer Nature (Netherlands) · 2008 10.1007/978-1-4020-8839-1
  5. Lattice Boltzmann Modeling: An Introduction for Geoscientists and Engineers 2005
  6. A flow topology optimization method for steady state flow using transient information of flow field solved by lattice Boltzmann method Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2014 10.1007/s00158-014-1123-x
  7. Lattice Boltzmann methods for modeling microscale flow in fibrous porous media Physics of Fluids · American Institute of Physics · 1997 10.1063/1.869392
  8. Towards a hybrid parallelization of lattice Boltzmann methods Computers & Mathematics with Applications · Elsevier BV · 2009 10.1016/j.camwa.2009.04.001
  9. Discrete adjoint sensitivity analysis for fluid flow topology optimization based on the generalized lattice Boltzmann method Computers & Mathematics with Applications · Elsevier BV · 2014 10.1016/j.camwa.2014.09.002
  10. A Limited Memory Algorithm for Bound Constrained Optimization SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 1995 10.1137/0916069
  11. Topology optimization of flow domains using the lattice Boltzmann method Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2007 10.1007/s00158-007-0105-7
  12. From the BGK model to the Navier–Stokes equations Annales Scientifiques de l École Normale Supérieure · Société Mathématique de France · 2003 10.1016/s0012-9593(03)00010-7
  13. Topology optimization using the lattice Boltzmann method incorporating level set boundary expressions Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.06.004
  14. Shape optimization towards stability in constrained hydrodynamic systems Journal of Computational Physics · Elsevier BV · 2008 10.1016/j.jcp.2008.06.030
  15. Perspectives in Flow Control and Optimization Applied Mechanics Reviews · American Society of Mechanical Engineers · 2003 10.1115/1.1623758
  16. Adjoint parameter sensitivity analysis for the hydrodynamic lattice Boltzmann method with applications to design optimization Computers & Fluids · Elsevier BV · 2008 10.1016/j.compfluid.2008.10.002
  17. Adjoint-based fluid flow control and optimisation with lattice Boltzmann methods Computers & Mathematics with Applications · Elsevier BV · 2012 10.1016/j.camwa.2012.08.007
  18. Topology optimization for unsteady flow International Journal for Numerical Methods in Engineering · Wiley · 2011 10.1002/nme.3151
  19. Performance Evaluation of Parallel Large-Scale Lattice Boltzmann Applications on Three Supercomputing Architectures 2005 10.1109/sc.2004.37
  20. A parallel Schur complement solver for the solution of the adjoint steady-state lattice Boltzmann equations: application to design optimisation International journal of computational fluid dynamics · Taylor & Francis · 2008 10.1080/10618560802238267
  21. Adjoint lattice Boltzmann equation for parameter identification Computers & Fluids · Elsevier BV · 2005 10.1016/j.compfluid.2005.07.015
  22. Optimized Hybrid Parallel Lattice Boltzmann Fluid Flow Simulations on Complex Geometries Lecture notes in computer science · Springer Science+Business Media · 2012 10.1007/978-3-642-32820-6_81
  23. Numerische Verfahren zur Lösung unrestringierter Optimierungsaufgaben Springer-Lehrbuch · Springer Science+Business Media · 1999 10.1007/978-3-642-58582-1
  24. Lattice Gas Cellular Automata and Lattice Boltzmann Models Lecture notes in mathematics · Springer Nature · 2000 10.1007/b72010
  25. High Performance Computing in Science and Engineering ´16 Springer eBooks · Springer Nature · 2016 10.1007/978-3-319-47066-5
  26. Particle flow simulations with homogenised lattice Boltzmann methods Particuology · Elsevier BV · 2017 10.1016/j.partic.2016.11.001
  27. Fluid Flow Simulation and Optimisation with Lattice Boltzmann Methods on High Performance Computers - Application to the Human Respiratory System 2010 10.5445/ir/1000019768
  28. Lattice Boltzmann Topology Optimization for Transient Flow 2011
  29. Adjoint Lattice Boltzmann for topology optimization on multi-GPU architecture Computers & Mathematics with Applications · Elsevier BV · 2016 10.1016/j.camwa.2015.12.043
  30. Perspectives in Flow Control and Optimization 2002 10.1137/1.9780898718720
  31. On Performance and Accuracy of Lattice Boltzmann Approaches for Single Phase Flow in Porous Media: A Toy Became an Accepted Tool — How to Maintain Its Features Despite More and More Complex (Physical) Models and Changing Trends in High Performance Computing!? Notes on numerical fluid mechanics and multidisciplinary design · Springer International Publishing · 2009 10.1007/978-3-540-69010-8_13
  32. Molekulare Gasdynamik Springer eBooks · Springer Nature · 2004 10.1007/3-540-35047-0
  33. Cellular Automata Modeling of Physical Systems 1998 10.1017/cbo9780511549755