National Technical University of Athens (NTUA)
Implementation of the boundary representations of CAD geometries in gradient-based optimization
Abstract
dc:descriptionThis PhD thesis deals with the coupling of CAD-parameterized geometries with adjoint-based shape optimization. The mathematical formulation of methods forthe inclusion of a CAD design in the optimization loop are shown and tested in applications in aerodynamics. The computation of the derivatives of various aerodynamicobjective functions with respect to (w.r.t.) the CAD design variables is performed based on continuous adjoint running in the OpenFOAM environment.CAD geometries may have two parameterizations: (a) a feature tree parameterization which is practically the definition of geometric relations in the 3Dspace and also the native parameterization of CAD packages that generate them and (b) a surface parameterization which is defined and transferred by the standardBoundary Representation (BRep) format. The latter is simply a collection of surface patches that define the CAD model, defined by standard mathematicalforms (mainly NURBS). In this thesis, BRep is used to express the CAD geometry because its standardized open-source format allows its direct coupling withComputational Fluid Dynamics (CFD) software and, also, its differentiation which is necessary in gradient-based optimization. The feature tree parameterizationis almost never accessible via open formats which makes its direct linking to optimization impossible. The first step is the generation of a quality triangulation of the surface of the CAD model. This is because, in order to insert the CAD model into the optimizationloop, it is necessary to mesh the 3D space around (or inside) it. The boundary of the domain to be meshed, in a tesselated (most commonly triangulated) formis the input to the meshing software. The triangulation process is subdivided into three main tasks: shape healing which is a process overcoming possible (butquite common) CAD model defects, size map computation which pre-computes the optimal size of the triangulation on a background grid and, finally, the surfacetriangulation itself. Shape healing handles the topological and geometric holes that commonly exist in a CAD model which is transferred via a standardfile (STEP, IGES, etc.). The topological holes are fixed by performing vicinity tests, and the geometric holes are fixed by performing a sewing algorithm based onPlate Energy Minimization. Then, on the "healed" CAD model, the size map is computed using two dimensionless parameters, one controlling the triangle sizebased on local curvature, and the other controlling the triangle size gradation. Both parameters produce the size map on a coarse background grid computedvia Delaunay triangulation. Finally, the triangulation is performed on each CAD patch separately, by using a version of the Advancing Front technique adapted toparametric surfaces. The second step in this thesis is the establishment of the shape parameterization scheme which will provide a robust method to deform the shape. Thisis necessary because CAD designs are strongly related to their source parameterization which is defined via feature trees and cannot be accessed via external software. CAD packages (commercial or not) have different source parameterizations and their vendors are very sensitive about them. The CAD models must,therefore, be parameterized via their surface representation which is available via the BRep format and transferred by standard files. The surfaces comprising aCAD model are trimmed parametric patches that exist as autonomous entities which makes them unfit as shape deformation tools. This is because, displacingthem would create C0 and C1 discontinuities in the CAD model. To tackle this challenge, all parametric patches are converted to NURBS and a method that imposesdesired continuity constraints on their trimming curves is developed. Based on this method, a new parameterization is defined which inherently satisfies theseconstraints by computing the Kernel of the Jacobian of all constraints. Apart from continuity constraints, the imposition of various other geometricconstraints can be a key factor in CAD-based optimization. Constraints can naturally be defined in a CAD model via the feature trees. However, as mentionedabove, the feature trees cannot be accessed and used to deform the shape. Therefore, constraints must be defined on the surfaces of the CAD model. In this thesis,a method is developed to make possible the imposition of multi-node constraints on NURBS patches. Depending on the type of constraints and the complexity of the CAD surfaces, the number of node-wise constraints may become huge. Traditional constrained optimization techniques (i.e. SQP or Gradient projection)assume a priori that the number of constraints is less than or equal to the number of design variables. In the case of NURBS-based optimization, this can becomeproblematic as the design variables are the control point coordinates which are vastly outnumbered by the number of boundary mesh nodes on the design surface.For this reason, all constraints are cast into a single equality constraint. Nodal constraint violations are penalized based on a quartic function that returnsa positive value if the constraint is violated and zero otherwise. The penalties are then summed up to create a single constraint. The effectiveness of the single constraintis tested by constraining surface curvature, and enclosing constraints (i.e. constraints that demand that the model moves within a given space). For completeness,the inequality constraint of the volume of a given model is presented, to demonstrate a way of handling non-node wise constraints. The developed software is applied to the design/optimization of test cases such as passenger cars, automotive cooling and intake ducts, diffusers and turbomachineryblades.
Degree
thesis:*- Grantor dc:publisher
- National Technical University of Athens (NTUA)
- Year dc:date
- 2023
Author and committee
dc:creator, dc:contributor.*- Authors dc:creator
-
- Damigos, Marios
- Δαμίγος, Μάριος
Subjects
dc:subject × 19- Υπολογιστική ρευστοδυναμική
- Σχεδιασμός με τη βοήθεια Η/Υ
- Συνεχής συζυγής μέθοδος
- Συνοριακή περιγραφή επιφανειών
- Βελτιστοποίηση μορφής
- NURBS
- Βελτιστοποίηση υπό περιορισμούς
- Computational fluid dynamics (CFD)
- Computer aided design (CAD)
- Continuous adjoint methods
- Boundary representation of surfaces
- Shape optimization
- Constrained optimization
- Επιστήμη Μηχανολόγου Μηχανικού
- Επιστήμες Μηχανικού και Τεχνολογία
- Αεροδιαστημική μηχανική
- Mechanical Engineering
- Engineering and Technology
- Aerospace Engineering
Rights
- Language dc:language
- eng
Identifiers
dc:identifier.*- Identifier
- 10.12681/eadd/56977