NURBS-Based and Parametric-Based Shape Optimisation With

NURBS-Based and Parametric-Based Shape Optimisation With

COMPUTER-AIDED DESIGN & APPLICATIONS 2018, VOL. 15, NO. 6, 916–926 https://doi.org/10.1080/16864360.2018.1462881 NURBS-based and parametric-based shape optimization with differentiated CAD kernel Orest Mykhaskiva, Mladen Banovićb, Salvatore Auriemmac, Pavanakumar Mohanamuralya, Andrea Waltherb, Herve Legrandc and Jens-Dominik Müllera aQueen Mary University of London, UK; bUniversity of Paderborn, Germany; cOpenCASCADE ABSTRACT KEYWORDS Numerical optimization is becoming an essential industrial method in engineering design for shapes aerodynamic shape immersed in fluids. High-fidelity optimization requires fine design spaces with many design vari- optimization; CAD-based ables, which can only be tackled efficiently with gradient-based optimization methods. CAD pack- sensitivities; gradient ages that are open-source or commercially available do not provide the required shape derivatives, method but impose to compute them with expensive, inaccurate and non-robust finite-differences. The present work is the first demonstration of obtaining exact shape derivatives with respect to CAD design parametrization by applying algorithmic differentiation to a complete CAD system, in this case the Open Cascade Technology (OCCT) CAD-kernel. The extension of OCCT to perform shape optimization is shown by using parametric models based on explicit parametrizations of the CAD model and on implicit parametrizations based on the BRep (NURBS). In addition, we demonstrate the imposition of geometric constraints for both approaches, a salient part of industrial design, and an intuitive method of storing them in standard CAD format. The proposed method is demonstrated on a turbo-machinery test case, namely the optimization of the TU Berlin Stator. 1. Introduction Significant progress has been made over the past In engineering workflows it is common practice to main- decades with computing gradients of objective functions tain master CAD models, which then serve as a founda- with respect to mesh point perturbation for Computa- tion for further design and development. In complex sys- tional Fluid Dynamics (CFD) solvers. In particular, the tem design these base geometries enable cross-discipline adjoint method [5,8,10,12,15] allows to compute these collaboration and therefore minimize the time needed gradients accurately, consistently and with low compu- to bring an industrial component to production. In an tational cost. optimization workflow it is hence important to maintain Adjoint CFD methods can efficiently compute the sen- consistency between CAD model and the meshes of the sitivity of the objective function w.r.t. a perturbation of analysis disciplines, which is typically done through para- an individual grid node, the next term in the chain- metric CAD models. Such workflows can be driven by rule of the gradient computation is the derivative of stochastic optimizers and only require evaluation of the the grid node position w.r.t. design parameters, i.e. we CAD shape. need to define a parametrization and compute its shape High-fidelity shape optimization of immersed bod- derivative. ies subject to fluid dynamics, such as aeroplanes, tur- A simple parametrization is the node-based approach bines, vehicles or ducts, requires very rich design spaces where the design variables are the displacement of the with many design variables. Tackling these rich design grid nodes on the shape. Although the mesh node spaces is not computationally feasible with stochastic positions present the richest design space that compu- optimization methods such as Evolutionary Algorithms: tational tools can consider, the approach allows sur- the convergence to the optimum requires far too many faces with oscillatory high-frequency noize. This can evaluations of an expensive computational model such as be addressed by regularization (smoothing) [9]. Alter- CFD. Gradient-based optimization has been shown to be native approaches are Free Form Deformation [14]or feasible, and has widely been adopted for these problems. radial basis function [3]. At convergence to the optimum, CONTACT Orest Mykhaskiv [email protected]; Mladen Banović [email protected] Salvatore Auriemma [email protected] © 2018 CAD Solutions, LLC, http://www.cadanda.com COMPUTER-AIDED DESIGN & APPLICATIONS 917 the optimized mesh is re-created in CAD, but this in their definition is available. However, increasingly ‘out usually inquires significant approximations and inaccu- ofthebox’designsarerequiredtoworkinnewcon- racies degrading the quality of the optimum. figurations, work with new materials or better exploit As an alternative, CAD-based methods maintain a the interaction between disciplines in multi-disciplinary consistent CAD model throughout the optimization. The optimization. In these situations a good choice of design challenge here is to compute the shape sensitivities of parametrization is often not evident. the CAD model. Robinson et al. [13]applyfinitediffer- Alternatively to the previous approach, instead of ences to parametric CAD models created in commercial changing the parameters of the model’s construction ’black-box’ CAD systems. The CAD sensitivity is com- algorithm, one can directly modify the geometry of puted as the local distances between surface triangula- the resulting shape, so-called BRep (Boundary Repre- tions of the original CAD model and the one with the sentation) [19], [21]. We term this approach ‘implicit’ perturbed design parameters. A similar approach is fol- parametrizations, as there is no specific user effort to lowed in [4], where finite differences are applied to the define the design space. Changes to this BRep data open-source CAD-kernel Open CASCADE Technology (control point positions and weights of corresponding (OCCT). Where feasible the authors compute analyti- NURBS patches) eliminate the initial parametrization, cal derivatives e.g. for CAD primitives and shapes (cube, but propose rich design spaces, which can straightfor- sphere, etc.). wardly be refined adaptively by inserting additional con- If source code is available, algorithmic differentia- trol points. The resulting design space can be made to tion (AD) can be used to compute derivatives of any guarantee to include all relevant modes, and combined computational algorithm. In [19] a small in-house CAD with adjoint gradient computation, there is no computa- kernel supporting NURBS was automatically differenti- tional penalty. However, convergence of the optimising ated and provides analytical derivatives. In this paper algorithm such as steepest descent may be slower, and we exploit recently differentiated version of essentially preconditioning methods will be needed. The NURBS- complete OCCT kernel [1], [2]. Although differentiation based method is CAD-vendor independent, and requires of a complete CAD-kernel is a non-trivial and time- only a generic CAD-file (STEP,IGES, etc.), eluding prob- consuming task, the differentiation of OCCT allows to lems with parametrization tree and making the optimiza- get exact derivatives without numerical noise in any tion more automatic. of CAD modelling algorithms available in OCCT. This The paper proposes two major elements to overcome makes the differentiated OCCT practical for a wide obstacles with integration of CAD into the design loop: range of parametrizations and geometrical manipula- tions. Moreover, the efficiency of the computation of a) We describe the application of automatic differ- the shape sensitivities is superior to finite differences entiation to a complete CAD system and demon- and more robust, which encourages shape exploration in strate the accuracy and efficiency of computation of large-dimensional CAD spaces. the shape sensitivities. These advances allow us to The definition of the design space is crucial for aero- build gradient-based optimization workflows with dynamic shape optimization in CAD-based methods: an the CAD-model being updated inside the optimiza- optimalresultcanonlybeachievediftherelevantmodeis tion loop. presentthatcanharnesstheimportantaspectoftheflow b)Wepresenttwoalternativeapproachesthatare physics. Therefore, widely used parametric CAD models supported by this differentiated CAD kernel, both require from the designer a proper engineering judge- with their merits and disadvantages. The ‘explicit’ ment during initial design. To respond to these chal- parametrization is closer to current practice in aero- lenges, several application-specific parametrization tools nautics and turbo-machinery, but may limit the opti- were developed [6], [17]. Taking to account extensive mum due to restrictive design spaces. The alterna- engineering experience, these tools allow to parametrize tive ‘implicit’ parametrization allows to automati- the shapes with conventional and intuitive design param- cally derive a sufficiently rich design space, however eters (trailing/leading edge radius, blade thickness, wing may impair convergence to the optimum. span, etc.). These parameters are then varied during the design optimization loop. Furthermore, an explicit In this paper the differentiated OCCT is used to control over design variables also allows to incorporate optimize TU Berlin Stator test case [23]. A brief intro- geometrical constraints directly in the parametrization. duction to the OCCT differentiation can be found in These approaches, termed here ‘explicit’ parametriza- Sec. 2. Parametrization of the stator blade with con- tions as they need to be set up manually. They are widely ventional turbomachinery

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    11 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us