13.07.2015 Views

Optimal Control of Temperature in Fluid Flow Using the Second ...

Optimal Control of Temperature in Fluid Flow Using the Second ...

Optimal Control of Temperature in Fluid Flow Using the Second ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Kawahara Lab. 22 March 2008<strong>Optimal</strong> <strong>Control</strong> <strong>of</strong> <strong>Temperature</strong> <strong>in</strong> <strong>Fluid</strong> <strong>Flow</strong>Us<strong>in</strong>g <strong>the</strong> <strong>Second</strong> Order Adjo<strong>in</strong>t EquationDaisuke YAMAZAKI † and Mutsuto KAWAHARA ‡Department <strong>of</strong> Civil Eng<strong>in</strong>eer<strong>in</strong>g, Chuo UniversityKasuga 1-13-27, Bunkyou-ku, Tokyo 112-8551, Japan† E-mail : daiest0411@civil.chuo-u.ac.jp‡ E-mail : kawa@civil.chuo-u.ac.jpAbstractThe purpose <strong>of</strong> this paper is an optimal control problem <strong>of</strong> temperature us<strong>in</strong>g <strong>the</strong> Newton basedmethod and <strong>the</strong> f<strong>in</strong>ite element method. This method is based on <strong>the</strong> first and second order adjo<strong>in</strong>ttechnique allow<strong>in</strong>g to obta<strong>in</strong>ed a better approximation to <strong>the</strong> Newton l<strong>in</strong>e search direction. Theformulation is based on <strong>the</strong> optimal control <strong>the</strong>ory <strong>in</strong> which <strong>the</strong> performance function is expressedby <strong>the</strong> computed and target temperatures. The optimal value can be obta<strong>in</strong>ed by m<strong>in</strong>imiz<strong>in</strong>g <strong>the</strong>performance function. The gradient <strong>of</strong> <strong>the</strong> performance function is obta<strong>in</strong>ed by <strong>the</strong> first orderadjo<strong>in</strong>t equation. The Hessian vector product is calculated by <strong>the</strong> second order adjo<strong>in</strong>t equation.The <strong>the</strong>rmal fluid flow is described by <strong>the</strong> Bouss<strong>in</strong>esq approximated <strong>in</strong>compressible Navier-Stokesequation and <strong>the</strong> energy equation is analyzed. The Newton based method is employed as a m<strong>in</strong>imizationtechnique. The BFGS, <strong>the</strong> DFP and <strong>the</strong> Broyden family method are applied to calculate<strong>the</strong> Hessian matrix which is used <strong>in</strong> <strong>the</strong> Newton based method. The traction given by <strong>the</strong> perturbationfor <strong>the</strong> Lagrange multiplier is used <strong>in</strong> <strong>the</strong> BFGS method, <strong>the</strong> DFP and <strong>the</strong> Broyden familyMethod.Keyword : F<strong>in</strong>ite Element Method, Newton Based Method, First Order Adjo<strong>in</strong>t, <strong>Second</strong>Order Adjo<strong>in</strong>t, Hessian V ector Product, BFGS Method, DFP Method, BroydenFamily Method.1 IntroductionThe <strong>the</strong>rmal fluid flow is a phenomenon generated by non-homogeneity <strong>of</strong> temperature. The <strong>the</strong>rmal fluidflow is divided <strong>in</strong>to natural fluid flow and forced fluid flow. The Natural fluid flow is caused by <strong>the</strong> difference<strong>of</strong> <strong>the</strong> specific gravity between warmed fluid and cool fluid. Forced fluid flow is compulsorily caused by fan oro<strong>the</strong>r items. In recent years, <strong>the</strong> optimal control <strong>of</strong> <strong>the</strong>rmal fluid flow is used <strong>in</strong> various places <strong>in</strong> our life. For<strong>in</strong>stance, <strong>the</strong> optimal control <strong>of</strong> <strong>the</strong> <strong>the</strong>rmal fluid flow is applied to air-condition<strong>in</strong>g, heat<strong>in</strong>g, refrigerator andbath and so on. Therefore, <strong>the</strong> optimal control <strong>of</strong> <strong>the</strong>rmal fluid flow is <strong>in</strong>dispensable problem. Especially, <strong>the</strong>optimal control <strong>in</strong> <strong>the</strong> natural fluid flow is one <strong>of</strong> most-attractive problem. This is because <strong>the</strong> control br<strong>in</strong>gslow cost and good for <strong>the</strong> ecology. Floor heat<strong>in</strong>g system and temperature management <strong>of</strong> grass field <strong>in</strong> <strong>the</strong>football stadium are topical examples.The purpose <strong>of</strong> this study is <strong>the</strong> control <strong>of</strong> temperature <strong>in</strong> <strong>the</strong> natural fluid flow. The Bouss<strong>in</strong>esq approximated<strong>in</strong>compressible Navier-Stokes and <strong>the</strong> energy equations are employed for <strong>the</strong> state equation. In <strong>the</strong> Bouss<strong>in</strong>esqapproximation, <strong>the</strong> density change is approximated by <strong>the</strong> temperature change. In <strong>the</strong> optimal control <strong>the</strong>ory,<strong>the</strong> control variable that makes <strong>the</strong> optimal state can be obta<strong>in</strong>ed by m<strong>in</strong>imiz<strong>in</strong>g <strong>the</strong> performance function,which is composed <strong>of</strong> <strong>the</strong> square sum <strong>of</strong> difference between computed and target temperatures. The controlvariable can be converged to <strong>the</strong> target temperature <strong>in</strong> case that <strong>the</strong> performance function is m<strong>in</strong>imized. TheNewton based method is employed for m<strong>in</strong>imiz<strong>in</strong>g <strong>the</strong> performance function. It is necessary that <strong>the</strong> <strong>in</strong>formation<strong>of</strong> <strong>the</strong> Hessian matrix is obta<strong>in</strong>ed <strong>in</strong> case that <strong>the</strong> Newton based method is employed. In this study <strong>the</strong> secondorder adjo<strong>in</strong>t technique is applied to obta<strong>in</strong>ed <strong>the</strong> traction given by <strong>the</strong> perturbation for <strong>the</strong> Lagrange multiplierthat has <strong>the</strong> <strong>in</strong>formation <strong>of</strong> exact Hessian matrix. The BFGS, <strong>the</strong> DFP and <strong>the</strong> Broyden family method are1


applied to obta<strong>in</strong> <strong>the</strong> Hessian matrix which is used <strong>in</strong> <strong>the</strong> Newton based method. The Broyden family methodis employed as comb<strong>in</strong>ations <strong>of</strong> <strong>the</strong> BFGS and <strong>the</strong> DFP method. The Crank-Nicolson method and <strong>the</strong> Galerk<strong>in</strong>method expanded by <strong>the</strong> mixed <strong>in</strong>terpolation are applied to temporal and spatial discretization, respectively.The stabilized bubble function is applied to velocity and temperature fields. The l<strong>in</strong>ear <strong>in</strong>terpolation is utilizedto pressure field.The purpose <strong>of</strong> this study is a control <strong>of</strong> <strong>the</strong>rmal fluid flow us<strong>in</strong>g <strong>the</strong> second order adjo<strong>in</strong>t technique. Fordetails to verify <strong>the</strong> effect <strong>of</strong> <strong>the</strong> second order adjo<strong>in</strong>t technique and to f<strong>in</strong>d <strong>the</strong> optimal control temperatureus<strong>in</strong>g <strong>the</strong> second order adjo<strong>in</strong>t technique.2 State EquationThe <strong>the</strong>rmal fluid flow is described by <strong>the</strong> Bouss<strong>in</strong>esq approximated <strong>in</strong>compressible Navier-Stokes equationand <strong>the</strong> energy equation, which are employed for <strong>the</strong> state equation. In <strong>the</strong> Bouss<strong>in</strong>esq approximation, <strong>the</strong>density change is approximated by <strong>the</strong> temperature change and <strong>the</strong> density change <strong>in</strong> <strong>the</strong> cont<strong>in</strong>uity equationcan be disregarded. In <strong>the</strong> <strong>in</strong>compressible flow, density <strong>of</strong> fluid is assumed to be constant. The Bouss<strong>in</strong>esqapproximated Navier-Stokes equation and energy equation are written as follows:˙u i + u j u i,j + p ,i − ν(u i,jj + u j,ij ) = f i θ <strong>in</strong> Ω, (1)u i,i = 0 <strong>in</strong> Ω, (2)˙θ + u i θ ,i − κθ ,ii = 0 <strong>in</strong> Ω, (3)where ν, κ and f i are written as follows:ν = Pr, f i = PrRa, (4)where u i , p and θ are velocity, pressure and temperature and <strong>the</strong> f i , ν and κ are gravitational acceleration,k<strong>in</strong>ematic viscosity coefficient and diffusion coefficient, respectively. The Rayleigh number and <strong>the</strong> Prandtlnumber are denoted by Ra and Pr, respectively. The <strong>in</strong>itial conditions are given as follows:u i (t 0 ) = û 0 i, (5)θ(t 0 ) = ˆθ 0 , (6)where û i 0 and ˆθ 0 are <strong>the</strong> <strong>in</strong>itial known value for velocity and temperature, respectively. The boundary conditionsare given as follows:u i = û i on Γ u D , (7)t i = (−pδ ij + ν(u i,j + u j,i ))n j = ˆt i on Γ u N , (8)θ = ˆθ on Γ θ D , (9)b = κθ ,i n i = ˆb on Γ θ N , (10)θ = ˆθ cont on Γ θ C, (11)where subscripts D, N and C <strong>of</strong> Γ mean <strong>the</strong> Dirichlet boundary, <strong>the</strong> Neumann boundary and <strong>the</strong> controlboundary, respectively. The control variable on <strong>the</strong> control boundary Γ θ C is denoted by ˆθ cont .2


3 Spatial Discretization3.1 Bubble Function InterpolationThe mixed <strong>in</strong>terpolation based on <strong>the</strong> bubble function and l<strong>in</strong>ear function is used for <strong>the</strong> spatial discretizationorig<strong>in</strong>ally presented by Kawahara and his group. The bubble function <strong>in</strong>terpolation is applied to <strong>the</strong> velocityand <strong>the</strong> temperature fields and <strong>the</strong> l<strong>in</strong>ear <strong>in</strong>terpolation is applied to <strong>the</strong> pressure field as follows:For bubble function <strong>in</strong>terpolation:u i = Φ 1 u i1 + Φ 2 u i2 + Φ 3 u i3 + Φ 4 ũ i4 , (12)ũ i4 = u i4 − 1 3 (u i1 + u i2 + u i3 ), (13)θ = Φ 1 θ 1 + Φ 2 θ 2 + Φ 3 θ 3 + Φ 4˜θ4 , (14)and for l<strong>in</strong>ear <strong>in</strong>terpolation:˜θ 4 = θ 4 − 1 3 (θ 1 + θ 2 + θ 3 ), (15)Φ 1 = L 1 , Φ 2 = L 2 , Φ 3 = L 3 , Φ 4 = 27L 1 L 2 L 3 , (16)p = Ψ 1 p 1 + Ψ 2 p 2 + Ψ 3 p 3 , (17)Ψ 1 = L 1 , Ψ 2 = L 2 , Ψ 3 = L 3 , (18)114223Fig.1 : Bubble function element3Fig.2 : L<strong>in</strong>ear elementwhere u i1 ∼ u i3 and θ 1 ∼ θ 3 are <strong>the</strong> velocity and <strong>the</strong> temperature at nodes 1 ∼ 3 <strong>of</strong> each f<strong>in</strong>ite element.Φ α (α = 1 ∼ 4) is <strong>the</strong> bubble function for <strong>the</strong> velocity and <strong>the</strong> temperature, <strong>in</strong> which p 1 ∼ p 3 are <strong>the</strong> pressure atnodes 1 ∼ 3 <strong>of</strong> each f<strong>in</strong>ite element. The l<strong>in</strong>ear <strong>in</strong>terpolation function is denoted by Ψ α (α = 1 ∼ 3) for pressure.Area coord<strong>in</strong>ate is expressed by L i .3.2 Stabilized FormIn <strong>the</strong> bubble function, <strong>the</strong> numerical stabilization is not enough. Therefore, <strong>the</strong> stabilized parameter is usedfor stabilization. The stabilized parameter τ eB can be written as follows:τ eB =〈φ e, 1〉 2 Ω eν‖φ e,j ‖ 2 Ω eA e, (19)where Ω e is element doma<strong>in</strong> and< u, v >=∫uvdΩ,Ω e‖u‖ 2 Ω e=∫uudΩ,Ω eAe =∫dΩ.Ω e(20)The <strong>in</strong>tegral <strong>of</strong> bubble function is expressed as follows:< φ e , 1 > Ωe = Ae6 , ‖u e,j‖ 2 Ω e= 2A e g, g =2∑|Ψ α,i | 2 , (21)where ν ′ is stabiliz<strong>in</strong>g parameter. This value is determ<strong>in</strong>ed to be equivalent to τ eS us<strong>in</strong>g <strong>the</strong> stabilized f<strong>in</strong>iteelement method. 3i=1


⎡(τ eS = ⎣2|u ′ i |h e) 2+⎤( ) 2 4ν⎦h 2 e− 1 2, u ′ i =√u 2 1 + u2 2 , (22)where h e is an element size. In generally, <strong>the</strong> stabilized parameter <strong>in</strong> Eq.(30) is not equal to <strong>the</strong> optimalparameter <strong>in</strong> Eq.(31). Thus, <strong>the</strong> bubble function which gives <strong>the</strong> optimal viscosity satisfies <strong>the</strong> follow<strong>in</strong>gequation.〈φ e , 1〉 2(ν + ν ′ )‖φ e,j ‖ 2 Ω eA e= τ eS . (23)Eq.(32) adds stabilized operator control term only <strong>of</strong> <strong>the</strong> barycenter po<strong>in</strong>t to <strong>the</strong> equation <strong>of</strong> motion asfollows:∑N ee=1ν ′ ‖φ e,j ‖ 2 Ω ebe, (24)where N e and be are <strong>the</strong> total number <strong>of</strong> element and <strong>the</strong> barycenter po<strong>in</strong>t. In <strong>the</strong> energy equation, ν is replacedwith κ.4 <strong>Optimal</strong> <strong>Control</strong> Theory4.1 Performance FunctionIn <strong>the</strong> optimal control <strong>the</strong>ory, control variables can be obta<strong>in</strong>ed by m<strong>in</strong>imiz<strong>in</strong>g performance function. Theperformance function J is composed <strong>of</strong> <strong>the</strong> square sum <strong>of</strong> difference between <strong>the</strong> computed and <strong>the</strong> targettemperatures. The control variable are computed to m<strong>in</strong>imize <strong>the</strong> performance function under <strong>the</strong> condition <strong>of</strong><strong>the</strong> state equation and boundary conditions. M<strong>in</strong>imiz<strong>in</strong>g <strong>the</strong> performance function means that <strong>the</strong> computedtemperature should be as close as possible to <strong>the</strong> objective temperature. The performance function is writtenas follows:J = 1 2∫ tft 0∫Ω(θ − θ obj )Q(θ − θ obj )dΩdt, (25)where θ, θ obj and Q are <strong>the</strong> computed temperature, <strong>the</strong> target temperature at <strong>the</strong> object po<strong>in</strong>t and <strong>the</strong> weight<strong>in</strong>gdiagonal matrix.4.2 First Order Adjo<strong>in</strong>t EquationThe Lagrange multiplier method is applied to m<strong>in</strong>imize <strong>the</strong> performance function. The Lagrange multipliermethod is used for <strong>the</strong> m<strong>in</strong>imization problem with constra<strong>in</strong>ts. The extended performance function J ∗ isexpressed as follows:∫ tfJ ∗ = J + u ∗ i ( ˙u i + u j u i,j + p ,i − ν(u i,jj + u j,ij ) − f i θ)dΩdt++∫ tft 0∫Ω∫ tft 0∫Ωt 0∫Ωp ∗ (u i,i )dΩdtθ ∗ ( ˙θ + u i θ ,i − κθ ,ii )dΩdt, (26)where u ∗ i , p∗ and θ ∗ denote <strong>the</strong> Lagrange multiplier for velocity, pressure and temperature, respectively. Theextended performance function J ∗ is divided <strong>in</strong>to <strong>the</strong> Hamiltonian H and <strong>the</strong> time differentiation term asfollows:4


where <strong>the</strong> Hamiltonian H is def<strong>in</strong>ed as follows:H = 1 2 (θ − θobj )Q(θ − θ obj )∫ tfJ ∗ = {H + (ut 0∫Ω∗ i ˙u i + θ ∗ ˙θ)}dΩdt, (27)+ u ∗ i {u j u i,j + p ,i − ν(u i,jj + u j,ij ) − f i θ} + p ∗ u i,i + θ ∗ (u j θ ,i − κθ ,ii ). (28)The stationary condition is needed to m<strong>in</strong>imize performance function. The first variation <strong>of</strong> J ∗ should bezero as follows,Therefore, <strong>the</strong> first order adjo<strong>in</strong>t equation can be obta<strong>in</strong>ed as follows:δJ ∗ = 0. (29)− ˙u ∗ i − u ju ∗ i,j − p∗ ,i + ν(u∗ i,jj + u∗ j,ij ) + θ∗ θ ,i = 0 <strong>in</strong> Ω, (30)u ∗ i,i= 0 <strong>in</strong> Ω. (31)− ˙θ ∗ − u i θ ∗ ,i − κθ ∗ ,ii − f i u ∗ i + Q(θ − θ obj ) = 0 <strong>in</strong> Ω, (32)In addition, <strong>the</strong> term<strong>in</strong>al and boundary conditions for Lagrange multipliers are obta<strong>in</strong>ed as follows:u ∗ i (t f ) = 0, (33)θ ∗ (t f ) = 0, (34)u ∗ i = 0 on Γ u D, (35)(−p ∗ δ ij + ν(u ∗ i,j + u∗ j,i ))n j = 0 on Γ u N , (36)θ ∗ = 0 on Γ θ D , (37)b ∗ = κθ ∗ ,i n i = 0 on Γ θ N , (38)θ ∗ = 0 on Γ θ C. (39)Moreover, <strong>the</strong> gradient <strong>of</strong> <strong>the</strong> extended performance function with respect to <strong>the</strong> control discharge can beobta<strong>in</strong>ed as follows:4.3 <strong>Second</strong> Order Adjo<strong>in</strong>t Equation∂J ∗ ∫ ∫= u i θ ∗ n i dΓ + κθ,i ∗ ∂θ n idΓ on Γ θ C . (40)Cont Γ θ CΓ θ CThe follow<strong>in</strong>g perturbation equation for <strong>the</strong> state variables can be derived by <strong>the</strong> formulation that <strong>the</strong> stateequations are extended by <strong>the</strong> perturbation u ′ i , p′ and θ ′ and are approximated by <strong>the</strong> Tailor expansion.˙u ′ i + u i,iu ′ i δ ij + u j u ′ i,j + p′ ,i + ν(u′ i,jj + u′ j,ij ) = f iθ ′ <strong>in</strong> Ω, (41)u ′ i,i= 0 <strong>in</strong> Ω, (42)˙ θ ′ + u ′ iθ ,i + u i θ ′ ,i − κθ ′ ,ii = 0 <strong>in</strong> Ω, (43)where <strong>the</strong> <strong>in</strong>itial and boundary conditions for <strong>the</strong> perturbation equation are obta<strong>in</strong>ed as follows:5


u ′ i(t 0 ) = û ′ i(= 0), (44)θ ′ (t 0 ) = ˆθ ′ (= 0), (45)u ′ i = û ′ i(= 0) on Γ u D, (46)t ′ i = (−p′ δ ij + ν(u ′ i,j + u′ j,i ))n j = ˆt ′ i (= 0) on Γu N , (47)θ ′ = ˆθ ′ (= 0) on Γ θ D , (48)b ′ = κθ ′ ,<strong>in</strong> i = ˆb ′ (= 0) on Γ θ N, (49)θ ′ = ˆθ ′ cont on Γ θ C . (50)Similarly, <strong>the</strong> second order adjo<strong>in</strong>t equation can be obta<strong>in</strong>ed by <strong>the</strong> formulation that <strong>the</strong> first order adjo<strong>in</strong>tequation is extended by <strong>the</strong> perturbations u ′ i ∗ , p ′∗ and θ ′∗ and are approximated by <strong>the</strong> Tailor expansion asfollows:− ˙u ′ i ∗ − u j u ′ i,j ∗ − p ′ ,i ∗ + ν(u ′ i,jj ∗ + u ′ j,ij ∗ ) + θ ′∗ θ ,i = 0 <strong>in</strong> Ω, (51)u ′ i,i ∗ = 0 <strong>in</strong> Ω, (52)− ˙θ ′∗ − u i θ ′ ,i ∗ − κθ ′ ,ii ∗ − f i u ′ i ∗ + Qθ ′ = 0 <strong>in</strong> Ω, (53)where <strong>the</strong> term<strong>in</strong>al and boundary conditions for <strong>the</strong> second order adjo<strong>in</strong>t equation are obta<strong>in</strong>ed as follows:u ′ i ∗ (t f ) = 0, (54)θ ′∗ (t f ) = 0, (55)u ′ i ∗ = 0 on Γ u D , (56)(−p ′∗ δ ij + ν(u ′ i,j ∗ + u ′ j,i ∗ ))n j = 0 on Γ u N, (57)θ ′∗ = 0 on Γ θ D , (58)b ′∗ = κθ ′ ,i ∗ n i = 0 on Γ θ N , (59)θ ′∗ = 0 on Γ θ C. (60)F<strong>in</strong>ally, <strong>the</strong> traction given by <strong>the</strong> perturbation for <strong>the</strong> Lagrange multiplier can be calculated as follows:( ∂2 J ∗ ∫∫∂θCont2 )θ Cont ′ = u i θ ′∗ n i dΓ + κθ ,i ′ ∗ n i dΓ on Γ θ C . (61)Γ θ CΓ θ C6


5 M<strong>in</strong>imization Technique5.1 Derivation <strong>of</strong> Newton EquationIn case that J(θ (l)expansion as follows:Cont ),∂J∂θ Cont(θ (l)Cont ) and ∂2 J(θ (l)∂θCont2 Cont ) can be obta<strong>in</strong>ed. J(θ Cont) is approximated by TaylorJ(θ Cont ) ≃J(θ (l)Cont )T∂θ ContCont ) + ∂J(θ(l)+ (θ Cont − θ (l)Cont )T ∂2 J(θ (l)Cont )∂θCont2(θ Cont − θ (l)Cont )(θ Cont − θ (l)Cont). (62)It is assumed that <strong>the</strong> global m<strong>in</strong>imum po<strong>in</strong>t for right hand side terms <strong>of</strong> <strong>the</strong> above equation is θ (l+1)Cont .Therefor, <strong>the</strong> follow<strong>in</strong>g equation is obta<strong>in</strong>ed by <strong>the</strong> stationary condition as follows:where ∂J(θ(l) Cont )∂θ Contand ∂2 J(θ (l)Cont )∂θ 2 Cont∂J(θ (l)Cont )∂θ ContCont )∂θCont2+ ∂2 J(θ (l)are set as follows:(θ (l+1)Cont − θ(l) Cont) = 0, (63)Therefore, <strong>the</strong> equation <strong>of</strong> stationary condition is expressed as follows:∂J(θ (l)Cont )∂θ Cont= g (l) , (64)∂ 2 J(θ (l)Cont )∂θCont2 = H (l) . (65)g (l) + H (l) (θ (l+1)Cont − θ(l) Cont) = 0, (66)where g (l) and H (l) mean <strong>the</strong> steepest decent direction and Hessian matrix.The above equation is formulated as follows:F<strong>in</strong>ally, <strong>the</strong> renewal equation <strong>of</strong> control value is obta<strong>in</strong>ed as follows:θ (l+1)Cont = θ(l) Cont − H(l)−1 g (l) . (67)θ (l+1)Cont = θ(l) Cont + d(l) , (68)where d (l) means <strong>the</strong> Newton direction and this direction is calculated as follows:−H (l)−1 g (l) = d (l) . (69)The equation which is obta<strong>in</strong>ed <strong>the</strong> Newton direction is transformed as follows:where this equation is called <strong>the</strong> Newton equation.H (l) d (l) = −g (l) , (70)7


5.2 BFGS MethodThe BFGS method ( Broyden-Fletcher-Goldfarb-Shanno method ) is one <strong>of</strong> <strong>the</strong> Newton type m<strong>in</strong>imizationtechnique. This method which are formulated by <strong>the</strong> secant equation are enumerated as <strong>the</strong> methodology whichis used to obta<strong>in</strong> a Hessian matrix. This method is ensured that <strong>the</strong> Hessian matrix is positive def<strong>in</strong>ite andsymmetric. Therefore, This method is frequently used to calculate <strong>the</strong> Hessian matrix.The BFGS method is applied to obta<strong>in</strong> <strong>the</strong> Hessian matrix. The update equation <strong>of</strong> Hessian matrix by us<strong>in</strong>g<strong>the</strong> BFGS method is written as follows:H (l+1) = H (l) +where H l , θ ′ Cont and g′ are denoted as follows:g ′k =g′k g ′kTg ′kT θCont ′ k − H(l) θ Cont ′ k θ Cont ′ kT H (l)θCont ′ kT H (l) θCont ′ , (71)kH (l) = ∂2 J ∗∂θCont2 , (72)θ ′ Cont k = θ (l+1)Cont − θ(l) Cont , (73)∂J∗(l+1)∂θ Cont−∂J∗(l)∂θ Cont= g (l+1) − g (l) , (74)where s ′ which means <strong>the</strong> traction given by <strong>the</strong> perturbation for <strong>the</strong> Lagrange multiplier can be written asfollows:s ′(l) = H (l) θ ′ Cont k = ∂2 J ∗∂θ 2 ContConsequently, <strong>the</strong> update equation <strong>of</strong> Hessian matrix can be described as follows:H (l+1) = H (l) +θ ′ Cont k . (75)g′k g ′kTg ′kT θCont ′ k −s′(l) s ′(l)TθCont ′ . (76)kT s′(l)In generally, <strong>the</strong> product between <strong>the</strong> Hessian matrix H and <strong>the</strong> θ Cont ′ can not be obta<strong>in</strong>ed directly. Conventionally,this product is calculated by us<strong>in</strong>g an approximated Hessian matrix.On <strong>the</strong> o<strong>the</strong>r hand, <strong>the</strong> traction given by <strong>the</strong> perturbation for <strong>the</strong> Lagrange multiplier expressed by exactHessian matrix can be obta<strong>in</strong>ed <strong>in</strong> this approach. Therefore, it is considered that <strong>the</strong> more exact Newtondirection can be obta<strong>in</strong>ed <strong>in</strong> comparison with conventional method.5.3 DFP MethodThe DFP method ( Davidon-Fletcher-Powell method ) is one <strong>of</strong> <strong>the</strong> Newton type m<strong>in</strong>imization technique.This method which are formulated by <strong>the</strong> secant equation are <strong>the</strong> methodologies used to obta<strong>in</strong> a Hessianmatrix. This method is ensured that <strong>the</strong> Hessian matrix is positive def<strong>in</strong>ite and symmetric. Therefore, Thismethod is well known to calculate <strong>the</strong> Hessian matrix.The DFP method is applied to obta<strong>in</strong> <strong>the</strong> Hessian matrix. The update equation <strong>of</strong> Hessian matrix by us<strong>in</strong>g<strong>the</strong> DFP method is written as follows:H (l+1) = H (l) + (g′k − H (l) θ ′ Cont kT )g ′kT + g ′k (g ′k − H (l) θ ′ Cont kT ) Tg ′kT θ ′ Cont k−(g′k − H (l) θ ′ Cont kT ) T θ ′ Cont g′k g ′kT(g ′kT θ ′ Cont k ) 2 , (77)where H l , θ ′ Cont , g′ and s ′ are denoted as well as <strong>the</strong> BFGS method. Consequently, <strong>the</strong> update equation <strong>of</strong>Hessian matrix can be described as follows:H (l+1) = H (l) + (g′k − s ′(l)T )g ′kT + g ′k (g ′k − s ′(l)T ) Tg ′kT θ ′ Cont k−(g′k − s ′(l)T ) T θ ′ Cont g′k g ′kT(g ′kT θ ′ Cont k ) 2 , (78)8


Therefore, <strong>the</strong> product between <strong>the</strong> Hessian matrix H and <strong>the</strong> θ Cont ′ is calculated by us<strong>in</strong>g an approximated<strong>the</strong> Hessian matrix.The traction given by <strong>the</strong> perturbation for <strong>the</strong> Lagrange multiplier expressed by exact <strong>the</strong> Hessian matrixcan be obta<strong>in</strong>ed <strong>in</strong> this approach. Therefore, it is considered that <strong>the</strong> more exact Newton direction can beobta<strong>in</strong>ed <strong>in</strong> comparison with conventional method <strong>in</strong> similar <strong>the</strong> BFGS method.5.4 Broyden family MethodThe Broyden family method is employed as comb<strong>in</strong>ations <strong>of</strong> <strong>the</strong> BFGS and <strong>the</strong> DFP method. The updateequation <strong>of</strong> <strong>the</strong> Hessian matrix is described as follows:H (l+1) = (1 − γ)H (l+1)BFGS + γH(l+1) DFP , (79)where γ is a scaler parameter that is used to determ<strong>in</strong>e a balance <strong>of</strong> each terms.In this research, <strong>the</strong> Broyden family method is applied to obta<strong>in</strong> <strong>the</strong> Hessian matrix. The update equation<strong>of</strong> <strong>the</strong> Hessian matrix by us<strong>in</strong>g <strong>the</strong> Broyden family method is written as follows:H (l+1) = (1 − γ)(H (l) + g′k g ′kTg ′kT θCont ′ k −s′(l) s ′(l)TθCont ′ kT s ) ′(l)+ γ(H (l) + (g′k − s ′(l)T )g ′kT + g ′k (g ′k − s ′(l)T ) Tg ′kT θ ′ Cont k−(g′k − s ′(l)T ) T θ ′ Cont g′k g ′kT(g ′kT θ ′ Cont k ) 2 ), (80)where H l , θ Cont ′ , g′ and s ′ are denoted <strong>in</strong> similar <strong>the</strong> BFGS and <strong>the</strong> DFP method.Similarly, <strong>the</strong> product between <strong>the</strong> Hessian matrix H and <strong>the</strong> θ Cont ′ is can not calculated directory. Conventionally,this product is calculated by us<strong>in</strong>g an approximated Hessian matrix.The traction given by <strong>the</strong> perturbation for <strong>the</strong> Lagrange multiplier expressed by exact <strong>the</strong> Hessian matrixcan be obta<strong>in</strong>ed <strong>in</strong> this approach. Therefore, it is considered that <strong>the</strong> more exact Newton direction can beobta<strong>in</strong>ed <strong>in</strong> comparison with conventional method <strong>in</strong> similar <strong>the</strong> BFGS and <strong>the</strong> DFP method.5.5 Newton Based MethodThe computational algorithm <strong>of</strong> Newton based method is similar to that <strong>of</strong> <strong>the</strong> gradient methods. Thedifference between <strong>the</strong> Newton based method and <strong>the</strong> gradient method is <strong>the</strong> decent direction which is used for<strong>the</strong> renewal equation <strong>of</strong> <strong>the</strong> control variables. In <strong>the</strong> gradient method, <strong>the</strong> steepest decent direction is directlyused for <strong>the</strong> renewal equation <strong>of</strong> control variables. On <strong>the</strong> o<strong>the</strong>r hand, <strong>in</strong> <strong>the</strong> Newton based method, <strong>the</strong> Newtondirection which is obta<strong>in</strong>ed by <strong>the</strong> steepest decent direction is used for <strong>the</strong> renewal equation <strong>of</strong> control variables.The computational algorithm is written as follows:1. Choose an <strong>in</strong>itial control value θ (0)Cont , an <strong>in</strong>itial Hessian Matrix H(0) and convergence criteria ǫ.2. Compute state value u (l)i , p (l) , θ (l) by <strong>the</strong> state equation.3. Compute <strong>the</strong> performance function J (l) .4. Compute <strong>the</strong> Lagrange Multiplier (u ∗(l) , p ∗(l) , θ ∗(l) ) and <strong>the</strong> steepest decent direction g (l) .5. Solve <strong>the</strong> Newton Equation H (l) d (l) = −g (l) by <strong>the</strong> conjugate gradient method.6. Generate a new control value θ (l+1)Cont by <strong>the</strong> Newton direction d(l+1) .7. Compute state value u (l+1)i , p (l+1) , θ (l+1) by <strong>the</strong> state equation.8. Compute <strong>the</strong> performance function J (l+1) .9. Compute <strong>the</strong> Lagrange Multiplier (u ∗(l+1) , p ∗(l+1) , θ ∗(l+1) ) and <strong>the</strong> steepest decent direction g (l+1) .10. Check <strong>the</strong> convergence; if ‖ θ (l+1)Cont − θ(l) Cont‖< ǫ <strong>the</strong>n stop, else go to step 11.11. Compute perturbed solution u ′ i (l+1) , p ′(l+1) , θ ′(l+1) by <strong>the</strong> perturbation equation for state variables.12. Compute <strong>the</strong> Lagrange Multiplier (u ′∗(l+1) , p ′∗(l+1) , θ ′∗(l+1) ) and <strong>the</strong> traction given by <strong>the</strong> perturbation for<strong>the</strong> Lagrange Multiplier s ′l .13. Compute <strong>the</strong> Hessian Matrix H (l+1) by <strong>the</strong> (θ (l+1)Cont − θ(l) Cont ), (g(l+1) − g (l) ) and s ′(l) .14. Solve <strong>the</strong> Newton Equation H (l+1) d (l+1) = −g (l+1) by <strong>the</strong> conjugate gradient method and go to 6.The <strong>in</strong>itial Hessian matrix is generally set an unit matrix.9


6 Numerical Study6.1 Case1In this study, <strong>the</strong> optimal control <strong>of</strong> <strong>the</strong>rmal fluid flow by us<strong>in</strong>g <strong>the</strong> Newton based method is carry out.The f<strong>in</strong>ite element mesh and computation model are shown <strong>in</strong> Fig.3 and 4. The total number <strong>of</strong> nodes andelements are 1089 and 2048. The boundary condition is shown <strong>in</strong> Fig.4. In this case, <strong>the</strong> Rayleigh number,Prandtl number and <strong>the</strong> time <strong>in</strong>crement ∆t are set to 1000.0, 0.71 and 0.001, respectively. On <strong>the</strong> left side, <strong>the</strong>specified temperature θ is given <strong>in</strong> Fig.7. The object po<strong>in</strong>t is set on center <strong>of</strong> computational doma<strong>in</strong>. To reduce<strong>the</strong> temperature at <strong>the</strong> object po<strong>in</strong>ts from <strong>in</strong>itial to target temperature, <strong>the</strong> optimal control is carried out. Thetarget temperature is set to 0.0. This optimal control problem is to f<strong>in</strong>d <strong>the</strong> control temperature on <strong>the</strong> controlboundaries so as to m<strong>in</strong>imize <strong>the</strong> performance function. The Newton based method us<strong>in</strong>g three types <strong>of</strong> <strong>the</strong>method to obta<strong>in</strong> <strong>the</strong> Hessian matrix is applied as <strong>the</strong> m<strong>in</strong>imization technique. Three types <strong>of</strong> <strong>the</strong> method are<strong>the</strong> BFGS method, <strong>the</strong> DFP method and <strong>the</strong> Broyden family method.1u=0,v=0u=0,v=0u=0,v=01yu=0,v=0x<strong>Control</strong> BoundarySpecified <strong>Temperature</strong>Object Po<strong>in</strong>tFig.3 : F<strong>in</strong>ite Element MeshFig.4 : Computational ModelAs a result, <strong>the</strong> performance function us<strong>in</strong>g <strong>the</strong> Newton based method is shown <strong>in</strong> Fig.8. The time history <strong>of</strong><strong>the</strong> control temperature at <strong>the</strong> control po<strong>in</strong>t is shown <strong>in</strong> Fig.9. The time history <strong>of</strong> temperature at <strong>the</strong> objectpo<strong>in</strong>t is shown <strong>in</strong> Fig.10. The temperature and velocity without control <strong>of</strong> non-dimensional time , T=1.5, areshown <strong>in</strong> Fig.11. The temperature and velocity with control non-dimensional time, T=1.5, are shown <strong>in</strong> Fig.12.The control temperature can be found so as to m<strong>in</strong>imize <strong>the</strong> performance function <strong>in</strong> Fig.10 us<strong>in</strong>g <strong>the</strong> Newtonbased method. The temperature at <strong>the</strong> object po<strong>in</strong>t <strong>in</strong> Fig.10 is reduced us<strong>in</strong>g <strong>the</strong> control temperature <strong>in</strong> Fig.9.Therefore, <strong>the</strong> optimal control <strong>of</strong> <strong>the</strong>rmal fluid flow us<strong>in</strong>g <strong>the</strong> Newton based method is successful.6.2 Case2In this study, <strong>the</strong> optimal control <strong>of</strong> <strong>the</strong>rmal fluid flow by us<strong>in</strong>g <strong>the</strong> Newton based method is carry out witha mesh different <strong>of</strong> case1. The f<strong>in</strong>ite element mesh and computation model are shown <strong>in</strong> Fig.5 and 6. The totalnumber <strong>of</strong> nodes and elements are 1495 and 2868. The boundary condition is shown <strong>in</strong> Fig.6. In this case, <strong>the</strong>Rayleigh number, Prandtl number and <strong>the</strong> time <strong>in</strong>crement ∆t are set to 1000.0, 0.71 and 0.001, respectively.The specified temperature θ is given <strong>in</strong> Fig.13. The object po<strong>in</strong>t is set <strong>in</strong> Fig.6. To reduce <strong>the</strong> temperature at<strong>the</strong> object po<strong>in</strong>ts from <strong>in</strong>itial to target temperature, <strong>the</strong> optimal control is carried out. The target temperatureis set to 0.0. This optimal control problem is to f<strong>in</strong>d <strong>the</strong> control temperature on <strong>the</strong> control boundaries so as tom<strong>in</strong>imize <strong>the</strong> performance function. The Newton based method us<strong>in</strong>g three types <strong>of</strong> <strong>the</strong> method to obta<strong>in</strong> <strong>the</strong>Hessian matrix is applied as <strong>the</strong> m<strong>in</strong>imization technique. Three types <strong>of</strong> <strong>the</strong> method are <strong>the</strong> BFGS method,<strong>the</strong> DFP method and <strong>the</strong> Broyden family method.10


1Specified <strong>Temperature</strong>140120Weighted Gradient MethodBFGS MethodDFP MethodBroyden Family Method<strong>Temperature</strong>0.80.60.40.2Performance Function1008060402000 0.5 1 1.5 2 2.5 3Non-Dimensional Time00 5 10 15 20 25 30 35 40 45 50Itaration NumberFig.7 : Specified <strong>Temperature</strong>Fig.8 : Performance Function0<strong>Control</strong> <strong>Temperature</strong>0.60.5With <strong>Control</strong>Without <strong>Control</strong>-0.20.4<strong>Temperature</strong>-0.4-0.6<strong>Temperature</strong>0.30.2-0.80.10-10 0.5 1 1.5 2 2.5 3Non-Dimensional TimeFig.9 : <strong>Temperature</strong> at <strong>Control</strong> Po<strong>in</strong>t-0.10 0.5 1 1.5 2 2.5 3Non-Dimensional TimeFig.10 : <strong>Temperature</strong> at Object Po<strong>in</strong>tFig.11 : <strong>Temperature</strong> Without <strong>Control</strong>Fig.12 : <strong>Temperature</strong> With <strong>Control</strong>12


<strong>Temperature</strong>10.80.60.40.2Specified <strong>Temperature</strong>Performance Function200180160140120100806040Weighted Gradient MethodBFGS MethodDFP MethodBroyden Family Method0200 0.5 1 1.5 2 2.5 3Non-Dimensional TimeFig.13 : Specified <strong>Temperature</strong>00 10 20 30 40 50 60Itaration NumberFig.14 : Performance Function0<strong>Control</strong> <strong>Temperature</strong>0.70.6With <strong>Control</strong>Without <strong>Control</strong>-0.50.5<strong>Temperature</strong>-1<strong>Temperature</strong>0.40.30.2-1.50.100 0.5 1 1.5 2 2.5 3Non-Dimensional TimeFig.15 : <strong>Temperature</strong> at <strong>Control</strong> Po<strong>in</strong>t-0.10 0.5 1 1.5 2 2.5 3Non-Dimensional TimeFig.16 : <strong>Temperature</strong> at Object Po<strong>in</strong>tFig.17 : <strong>Temperature</strong> Without <strong>Control</strong>Fig.18 : <strong>Temperature</strong> With <strong>Control</strong>13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!