ebook img

Control Theory Based Airfoil Design Using the Euler Equations PDF

20 Pages·2015·0.93 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Control Theory Based Airfoil Design Using the Euler Equations

https://ntrs.nasa.gov/search.jsp?R=19950005471 2019-04-14T12:50:16+00:00Z Control Theory Based Airfoil Design Using the Euler Equations Antony Jameson and James Reuther The Research Institute of Advanced Computer Science is operated by Universities Space Research Association, The American City Building, Suite 212, Columbia, MD 21044, (410) 730-2656 Work reported herein was sponsored by NASA under contract NAS 2-13721 between NASA and the Universities Space Research Association (USRA). Control Theory Based Airfoil Design using the Euler Equations A. Jameson* Department of Mechanical and Aerospace Engineering Princeton University Princeton, New Jersey 08544, U.S.A. and J. Reuther t Research Institute for Advanced Computer Science Mail Stop T20G-5 NASA Ames Research Center Moffett Field, Califonia 94035, U.S.A. Abstract chord length C bounding surface of flowfield domain on airfoil This paper describes the implementation of op- C,,C2 transformed flux Jacobians timization techniques based on control theory for Ce coefficient of drag airfoil design. In our previous work [9, 10, 15] G coefficient of lift it was shown that control theory could be em- c, coefficient of pressure ployed to devise effective optimization procedures c; coefficient of pressure for sonic flow D flowfield domain for two-dimensional profiles by using the potential E total energy flow equation with either a conformal mapping or a f,g components of Cartesian fluxes general coordinate system. The goal of our present f, g without pressure terms work is to extend the development to treat the Eu- F, G components of transformed fluxes ler equations in two-dimensions by procedures that F, G without pressure terms can readily be generalized to treat complex shapes 5 control law, physical location of boundary in three-dimensions. Therefore, we have developed 9 gradient of design space methods which can address airfoil design through projected 9 into admissible space either an analytic mapping or an arbitrary grid per- h modulus of conformal mapping transformation turbation method applied to a finite volume dis- H total enthalpy cretization of the Euler equations. Here the control I cost function law serves to provide computationally inexpensive J Jacobian of generalized transformation gradient information to a standard numerical opti- K grid transformation matrix mization method. Results are presented for both the K, K at the profile surface inverse problem and drag minimization problem. K1, K2 grid transformation matrices m number of flowfield evaluations per hne search M local Mach number Nomenclature Moo Mach number at infinity number of design variables A1,A2 Cartesian flux Jacobians fi number of grid points b design variable nl,n2 components of a unit vector normal bandwidth of full Jacobian matrix p pressure B bounding of flowfield domain at far field pu desired pressure transformation metric q speed C,.q qoo speed at infinity *James S. McDonnell Distinguished University Professor r radial component in mapped plane of Aerospace Engineering, AIAA Fellow R generic governing equation for flowfield tStudent Member AIAA °Copyright (_)1994 by the American Institute of Aeronau- R normalized arc length in tics and Astronautics, Inc. All rights reserved $ arc length along airfoil surface S surface displacement in mapped plane treated systematically within the framework of the t time mathematical theory for control of systems governed tl, t2 exponents on basis functions by partial differential equations [12]. This approach Cartesian velocity components to optimal aerodynamic design was introduced by U,V contravariant velocity components Jameson [9, 10], who examined the design problem state vector of flowfield unknowns w for compressible flow with shock waves, and devised Cartesian coordinates adjoint equations to determine the gradient for both body fitted coordinates potential flow and also flows governed by the Eu- z physical plane ler equations. More recently Ta'asan, Kuruvila, and z modified boundary condition for Salas, implemented a one shot approach in which the angle of attack constraint represented by the flow equations need smoothing parameter variational only be satisfied by the final converged solution [20]. Pironneau has also studied the use of control theory 7 ratio of specific heats A distance along search direction for optimum shape design of systems governed by el- smoothing parameters liptic equations [14], and adjoint methods have also A distance along search direction been used by Baysai and Eleshaky [2]. fh, f_2 cost function weighting factors For flow about an airfoil or wing, the aerodynamic ¢ vector co-state variable properties which define the cost function are func- p density tions of the flow-field variables (w) and the physical freestream density location of the boundary, which may be represented o" conformally mapped plane by the function ._', say. Then o angle around circle I = I(w,7), Formulation of the design and a change in 2" results in a change problem as a control problem 0f r 0f r 81 -- -_--w/_w -4--_7_._ r, (I) The final efficiency and success of a design de- pend on complex multi-disciplinary trade-offs be- inthecostfunction.As pointedout by Baysal and tween factors such as aerodynamic efficiency, struc- Eleshaky [2]each term in (I),except for_w, can tural weight, stability and control, and the volume be easilyobtained._ and b8'1_can be obtained di- required to contain fuel and payload. Typically a rectlywithout a flowfleldevaluationsincethey are design is finalized after numerous iterations, cycling partialderivatives./L_"can be determined by either between the disciplines. While full multidisciplinary working outtheexactanalyticalvaluesfrom a map- optimization is the ultimate goal, a necessary inter- ping,orbysuccessivegridgenerationforeachdesign mediate step is the development of efficient methods variable,solongasthiscostissignificantllyessthen for aerodynamic shape optimization. Early investi- the costofthe flowsolution.Brute forcemethods gations of aerodynamic optimization [16] relied on evaluatethe gradientby making a smallchange in brute force methods, in which the influence of each eachdesignvariableseparately,and thenrecalculate design parameter was estimated by making a small both thegridand flow-fielvdariables.This requires change in that parameter and recalculating the flow. anumber ofadditionalflowcalculationsequaltothe With a large number of parameters this becomes ex- number of design variables.Using controltheory, tremely expensive. the governing equationsof the flowfieldare intro- Alternatively, it has been recognized that the de- duced as a constraintin such a way that thefinal signer has an idea of the kind of pressure distribution expressionforthe gradientdoes not requiremulti- that will lead to the desired performance. Thus, it is pleflowsolutions.Inordertoachievethis_w must useful to consider the inverse problem of calculating be eliminatedfrom (I).The governingequation R the shape that will lead to a given pressure distribu- expressesthe dependence of w and jr within the tion. This method has the advantage that only one flowfielddomain D, flow solution is required to obtain the desired design. R(w,.r) = o, Unfortunately, unless the pressure distribution satis- fies certain constraints a physically realizable shape Thus 6w is determined from the equation may not necessarily exist. Thus the problem must be very carefully formulated. The difficulty that the objective may be unattain- 6R = _ 6_+ b--f _= 0. (2) able can be circumvented by regarding the design Next, introducing a Lagrange Multiplier ¢, we have problem as a control problem in which the control is the shape of the boundary. A variety of alterna- _I - oft Oft tive formulations of the design problem can then be 0w _w + -b-_- 62- which the constraints are satisfied. In this way pro- cedures can be devised which must necessarily con- verge at least to a local minimum. The efficiency may be improved by performing line searches to find the minimum in a search direction defined by the negative gradient, and also by the use of more so- phisticated descent methods such as conjugate gra- dient or quasi-Newton algorithms. There is the pos- Choosing ¢ to satisfy the adjoint equation sibility of more than one local minimum, but in any case the method will lead to an improvement over (3) the original design. Furthermore, unlike the tra- ¢= Ow ditional inverse algorithms, any measure of perfor- mance can be used as the cost function. the first term is eliminated, and we find that Steps (1 - 4) may he applied to the discrete equa- tions which approximate the governing differential 6I = GT6f (4) equations. In the present method they are applied instead directly to the differential equations, and the where resulting adjoint differential equation is then dis- - " cretized in a manner similar to the discretization of the flow equations. The former approach is now The advantage is that (4) is independent of (iw, with gaining favor in the work of Newman and Taylor el the result that the gradient of I with respect to al. [13, 11] and also Baysal, Eleshaky and Burgreen an arbitrary number of design variables can be de- [1, 2, 3, 4]. The two methods can be very similar, termined without the need for additional flow-field depending upon the discretization of (3) or (5). The evaluations. The main cost is in solving the ad- current method has an advantage in that the dis- joint equation (3). In general, the adjoint problem is cretization and iteration scheme used to solve the about as complex as a flow solution. If the number flowfleld system can also he applied directly to the of design variables is large, the cost differential be- adjoint system. Therefore the robust iteration algo- tween one adjoint solution and the large number of rithms and convergence acceleration techniques that flowfield evaluations required to determine the gra- have been matured for CFD algorithms can be di- dient by brute force becomes compelling. Instead of rectly ported for the solution of the adjoint system. introducing a Lagrange multiplier, ¢, one can solve Methods applying (1 - 4) to the discrete system of- (2) for (iw as ten resort to matrix inversion methods to solve (3) or (5). While direct inversion techniques can be robust and reliable they suffer when the number of points =- (5) becomes large because the operation count grows as O(hb2), where fi is the number of unknowns and and insert the result in (1). This is the implicit is the bandwidth which can approach O(i O. When gradient approach, which is essentially equivalent to the number of mesh points becomes large, especially the control theory approach, as has been pointed out in the case of three-dimensional problems, the O(n) by Shubin and Frank [18, 19]. In any event, there is operational counts of explicit iteration schemes used an advantage in determining the gradient _ by the in CFD can significantly reduce the required time to solution of the adjoint equation. solve the adjoint system. Once equation (4) is established, an improvement In our previous application of control theory to op- can be made by with a shape change timal aerodynamic shape design a successful numer- ical implementation was demonstrated using the po- (iF = -._G tential flow equation, with either a conformal map- ping or a finite volume discretization. In this work, where A is positive, and small enough that the first the Euler equations are employed instead of the po- variation is an accurate estimate of (il. Then tential flow equation to provide a more accurate rep- resentation of flows containing strong shock waves (il = __6T6 < 0 and entropy variations. Again both an analytic mapping and general finite volume discretization are After making such a modification, the gradient can explored as possible vehicles for the implementation be recalculated and the process repeated to follow a of design via control theory. This is intended to path of steepest descent until a minimum is reached. be a precursor for the three-dimensional problem, In order to avoid violating constraints, such as a where the geometry may be very complex and both minimum acceptable wing thickness, the gradient shocks and vortex roll-up must be considered. The may be projected into the allowable subspace within treatment of viscous flows with the Navier Stokes Introduce contravariant velocity components equations is a natural future step. llU1[o ] V = = an - a--_ u v 7 __ o_ v " Desisn of airfoils using 0( 0_ the Euler equations The Euler equations can be written in divergence This section develops the general application of con- form as trol theory for aerodynamic shape optimization us- Ow OF OG ing the Euler equations. Consider the case for com- +_+_ =0 in D, (10) pressible flow over an airfoil. In the absence of sep- O-'--)- ug uq aration and other strong viscous effects, the flow is with well approximated by the Euler equations. In con- trast to our previous implementations which relied P on the isentropic potential equation [15], here strong inviscid shocks are modeled correctly with entropy pu production. Consider the flow in a domain D. The W = J profile defines the inner boundary C, while the outer pv boundary B is assumed to be distant from the pro- pE file. Let p, p, u, v, E and H denote the pressure, density, Cartesian velocity components, total energy pU and total enthalpy. For a perfect gas pUu + _-}p F = J l p=(3`- 1)p z - + v2 (6) pUv + _-_p pUH and pV pH =pE+p, (7) pVu + aa-p_ where 3' is the ratio of the specific heats. The Euler G = J equations may then be written as pVv + a_P pVH Ow Of Og inD, (81 (11) where x and y are Cartesian coordinates, t is the Assume now that the computational coordinate sys- time coordinate and tem conforms to the airfoil section in such a way that the surface C is represented by r/ = 0. Then the flow is determined as the steady state solution of the equation (11) subject to the flow tangency W pv ' condition pE V=O onC. (12) pu pv pu2+ p pvu At the far field boundary B, conditions are speci- f .._ puv , g= pv_+ P fied for incoming waves, while outgoing waves are pull pvH determined by the solution. (9) As a first example of the use of control theory, consider the case of the inverse problem where the cost function may be defined as The coordinate transformations may be defined by the transformation matrix arc lfc (ds) I=-_ (p-pd) 2ds=-_ (p--pd) 2 -_ d_, K= _ Ox _Ox ] ' where Pd is the desired pressure. The design problem o_ on is now treated as a control problem where the control with _ and r/representing the computational coor- function is the airfoil shape, which is to be chosen dinate system and the Jacobian to minimize I subject to the constraints defined by the flow equations (10-12). A variation in the shape Ox Oy Oz Oy will cause a variation 6p in the pressure in addition J = det(K) - 0( Or/ Or/0_' to a variation in the geometry and consequently the variationinthecostfunctionbecomes On the profile tim = 0 and fi2 = -1. It follows from equation (12) that 0 0 + (p_ p_)26 _ d_. (13) +p (16) 6G = J o__..@ Since p depends on w through the equation of _y state (8-9), the variation 6p can be determined from 0 0 the variation 6w. Define the Jacobian matrices Suppose now that ¢ is the steady state solution A, = Oa-f---w' A2 = -O_wg' Ci = EJIi_IAj. (14) of the adjoint equation J 0¢ cTo¢ TOe Then the equation for 6w in the steady state be- at -_- -C2_--_ = 0 inD. (17) comes At the outer boundary incoming characteristics for 0 (6F)+ 0 (6G)= 0, (15) ¢ correspond to outgoing characteristics for 6w. where Consequently, one can choose boundary conditions for ¢ such that 6F nioT ei_w = O. Then if the coordinate transformation is such that ----- g. ,5(JK -1) is negligible in the far field, the only re- maining boundary term is Now, multiplying by a vector costate variable ¢ and integrating over the domain we have \ o_ + -N-,) e_an= o. Thus by letting ¢ satisfy the boundary condition, If ¢ is differentiable this may be integrated by parts to give J ¢2"_x On ) = ds on C, (18) ._ °¢'e& <dn= we find finally that + On ) _ (aaeT _F + _2¢T_G) d( 6I= _lie (p--pd) 2_ (d-s_) d( + L (fiICT6F + _26r6c') d(, where hi are components of a unit vector normal to the boundary. No boundary integrals appear in the r#direction because the mesh is assumed to be of O- + {+25 type, with the result that the solution is periodic in the ( coordinate thereby cancelling the n boundary integrals. Thus the variation in the cost function = _lfc (p_p.)26 (d__) d_ may now be written 'L + 071 J (19) - L (nlcr_F + n2¢r<$G) dE, If the flow is subsonic, this procedure should con- verge toward the desired pressure distribution since - f (nlCT6F + n2V)r_a) d_. Jc the solution will remain smooth, and no unbounded derivativewsillappearI.f,howevetrh,eflowistran- the derivative of the mapping function be sonic,onemustallowfortheappearancoefshock waveisnthetrialsolutionse,venif dz Pd is smooth. In -- = hei_. do" such instances p - Pd is not differentiable. This dif- ficulty can be circumvented by a more sophisticated Now using polar coordinates r, and 0 in the _ plane, choice of the cost function. Consider the choice the first transformation matrix is l= _f_ a,Z_ + _ \ d_j ] _d_, YO Yr --cs s and we can define contravariant velocities where A1 and A2 are parameters, and the periodic is function Z(_) satisfies the equation V _ C S V d2Z (20) A1Z - A2--_- =P-Pa. where Then, s = si. (_- o), c= cos(_- o). The Euler equations can now be represented in the 6I = /c (A_Z_Z dZ d _Z ) ds o. plane as = /cZ(A, 6Z-A_-_ d2 dfZ) -d_sd_ 0 (rh zW) CO(hr) cO(rhG) + + -0 inD, (21) cOt O0 Or ds = fcZ6q-_d_. where Thus, Z replaces p - Pd with a corresponding mod- P ification to the boundary condition for the adjoint equations. W = pu The following two sections develop alternative im- pv plementations of the general method discussed thus pE far. The differences between the two lie in the way in which the control modifies the mesh on which both pU pV the flow and the adjoint equations are solved. The first method relies on an analytic mapping of the pU u + sp pVu + cp ,G= mesh and directly uses the value of the mapping at pU v - cp pVv + sp the surface as the control. This implies that each surface mesh point becomes a design variable. The pUH pVH second method allows for an arbitrary numerically (22) generated initial mesh. This is used as a template for all subsequent meshes, which are created by a Now let the final computational coordinates be de- grid perturbation technique. A set of design vari- fined by a radial shearing transformation ables spanning a space of allowable airfoils is then 0=_, r=o+sff) chosen to assure smooth variations in the geometry. Thus these design variables become the control, and and the transformation matrix no dependence upon transformations is necessary. K2 = _ b-_ = 1 0 Design Using an Analytic Mapping Or Or OS , J2 = 1. -_ _ _ 1 A convenient way to treat an airfoil is to use a con- Now we can identify the complete transformation formal mapping of the profile in the z plane to a matrix as near circle in the o. plane, followed by shearing of the radial coordinate to make the system bound- ary conforming. Polar coordinates are introduced K = K1K2 = h [ -rrcs ++S_Sc_s cs ] ' in the mapped plane o.. When mapped back to the physical plane this gives a smooth, nearly orthog- while the fluxes are onal grid. We can now specialize our generalized hF = design procedure to treat this grid system. Define the first conformal mapping from z to o. by letting and Then h [(7 + S) G- &F] = h[(,+S)c-&s]/ 5I = /c (Q6S- PS&) d( +h [(,+ S) s+ &c]g = x_g - yff. = fc 6_Sd_, Thus the Euler equations assume the form where the gradient is 0 OP 0-7((7+ s) h_W) =Q+-- (24) 0( o (hE) + Here, the gradient is defined on the surface of the 0 computational mesh. In effect, the gradient with respect to a number of design variables equal to the + -_o(h(7+S) G-h&r)=o, number of surface points can be calculated in one shot. while the surface tangency condition on the velocity becomes Design Using an Arbitrary Mesh •_v- y_ =h[(7+ s)Y - s_U]=O. In order to treat a more general mesh we revert Now we take S(() as the control. It is also conve- to equations (13-19). The difficulty in using these nient to represent the inverse problem by the cost general equations is that the variation of the met- function ric terms in the equations needs to be obtained in order to construct 51 in equation (19). One way I = -_ (p- pd)2do= I = -_ (p- pd)2d_. to accomplish this is by using an existing grid gen- eration algorithm and applying finite differences to calculate the necessary information. While this ap- This eliminates terms in 5 (a,) from the gradient. proach would still obviate the use of multiple flow The variations in the fluxes Xbec/ome solutions to determine the gradient, it would still re- quire the mesh generator to be used repeatedly. The 6(hF) = C16w number of mesh solutions required would be pro- 5[h (7 + S) G- h&F] = C26w + hSSG- h6&F portional to the number of design variables. This may be acceptable, since the flow solution process where C1 and C_ are the Jacobian matrices defined is typically much more computationally expensive in equation (14). Choosing ¢ to satisfy the adjoint then grid generation. Such a method should then equation (17) with the boundary condition ensure a significant savings over using finite differ- ences for both the grid generation and flow solu- x_¢2- ue¢3= h[(7+ S) s+ &el¢, =p- p_ tion processes, and it was successfully applied by the authors to two-dimensional problems in poten- the variation in the cost reduces to tial flow [15]. For three-dimensional design, where both the number of design variables and the com- 51 = _/,,(P- Pd) 6pd_ putational cost of grid generation can be high, the method is excessively expensive. Further, for com- plicated three-dimensional configurations, for which fully automatic grid generation is still not practical, it will not be feasible. This motivates the need to find a method which bypasses these difficulties. In order to remove + ¢_T (9 (6ShG + $& hF) d(d7 the cost of the successive grid generation from the gradient calculation a successive grid perturbation where F and G are the fluxes defined in equation method is therefore used. In this approach, which (22), and P and (_ are F and G with the pressure was also used by Burgreen and Baysal [4], an initial terms deleted. Define structured curvilinear body fitted grid over the ini- tial configuration is created by any grid generation process before optimization. Then the geometry a.s [ ¢TO--O-(-hr) d7 P = CThf"+j 07 well as the grid become inputs to the optimization f process. New grids, which conform to the surface ¢7,o__(ha) do. (23) Q = CWhG + J 07 as it is modified, can then be generated by shifting thegridpointsalongeachgridindexlineprojecting where fromthesurfacebyanamounwt hichisattenuated asthearclengthfromthesurfaceincreasesIf.the outerboundaryofthegriddomainisheldconstant themodificationtothegridhastheform (28) :ew = :,_ +_ (_Te,o_ :,_) ynew = yoid "b7"_(yyeW --y,otd\), While this type of grid perturbation method does not guarantee that grid lines will not eventually where x and y represent the volume grid points and, cross if the perturbations are large, this point is x, and y, represent the surface grid points. T_ rep- irrelevant for gradient calculations since only ana- resents the arclength along the surface projecting lytic grid derivative information is needed. However, mesh line measured on the original grid, from the since we employ a numerical optimization algorithm outer domain, and normalized so that _ = 1at the with line searches along a descent direction, true re- inner surface. The required variations in the met- gridding is also necessary. For these line search cal- ric terms can then be obtained in terms of surface culations the grid perturbation algorithm is used so perturbations since it follows that, long as negative volumes are not created. If singu- 5z = 7_5z, larities begin to develop in the grid, the original grid 6y = 7_5y_ . generator can be used to create a new grid and the process restarted. In practice, the grid perturbation and method has proven to be robust, and no failures due [K]=Ze[K,] (25) to singularities have occured during optimization of where K_ is the transformation matrix K defined at typical convex geometries. the surface. Equation (27) has reduced the expression for 51 Now it is convenient to rewrite (19) after integrat- into line integrals along the surface where the only ing by parts as. remaining unknowns are the grid metrics. These surface grid metrics can be easily determined for 5I = 2 (P -- pd)2 5 ds d_ any modification in the surface by direct evalua- tion. This suggests choosing a set of design variables which smoothly modifies the original shape, say bi. The gradient can then be defined with respect to these design variables as 51 6(b_) = "_i' (29) (26) where 5I is calculated by (27) with each term bi being independently perturbed by a finite step. where ] and _ are again the flux components f and Therefore, to construct _, an independent basis g with the pressure terms deleted from the momen- space of perturbation functions hi, i = 1,2,...,n tum equation. Substituting the expressions defined (n = number of design variables) is chosen that al- by equation (25) into (26) allows us to integrate lows for the needed freedom of the design space. De- the second term along the index direction projecting sign variables are chosen with the following form, from the configuration, r/surface without any depen- suggested by Hicks and Henne [6, 7]: dence on particular design variables since the metric variations are fully determined by the surface per- turbations. Thus, the expression for the variation in b(.=)siUn..o.,)o,.,, the cost function can be reduced to surface integrals only b(.) = .', (1- .) :':, where tl and t2 control the center and width of the _I= _ (p-pd) 2_ a_ perturbation and x is the normalized chord length. When distributed over the entire chord on both up- per and lower surfaces these analytic perturbation functions admit a large possible design space. They -_5 coy .Af21+ 6 -._ N2_d_ have the advantage of being space based functions, i+.{"-8 ' $ '< as opposed to frequency based functions, and thus they allow for local control of the design. They can be chosen such that symmetry, thickness, or volume (27) can be explicitly constrained. Further, particular

Description:
that control theory could be em- ployed to devise effective optimization procedures .. Assume now that the computational .. yoid "b 7"_(yyeW otd\. =.
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.