Decoupling of Control and Force Objective in Adjoint-Based Fluid Dynamic Shape Optimization
Niklas K\"uhl, Peter M. M\"uller, Arthur St\"uck, Michael Hinze,, Thomas Rung

TL;DR
This paper presents a novel exterior approach for fluid dynamic shape optimization that decouples control and objective, simplifying the computation of shape derivatives and improving efficiency in industrial applications.
Contribution
It introduces a decoupling method that reduces the shape derivative complexity by separating control and objective, with a modified adjoint system resembling an ALE strategy.
Findings
Convective contributions can vanish, simplifying derivatives.
Geometric derivatives relate to curvatures in industrial contexts.
Validation with finite-difference confirms the approach's accuracy.
Abstract
We discuss exterior and classical interior alternatives for evaluating fluid flow induced forces on bodies. The discussion aims at a reduction of the total shape derivative, achieved through a decoupling of control and objective in the exterior approach. In this case, geometric as well as convective contributions to the shape derivative vanish. Convective contributions depend on primal physics and may disappear, which is not the case for geometric components. The latter can be interpreted as curvatures immanent to industrial applications. The remaining local derivative of the objective functional can be determined efficiently with an adjoint system, that differs to the classical approach in its boundary conditions only and resembles an ALE strategy. A two-dimensional flow exposed to gravity illustrates the features of the exterior approach, whereby carefully derived derivatives from a…
| = | optimization direction |
| = | general state constraint |
| = | general force |
| = | gravitational constant |
| = | general gradient field |
| = | gravity field |
| = | global objective functional |
| = | local objective functional |
| = | normal vector |
| = | fluid pressure |
| = | adjoint (fluid) pressure |
| = | residuum of mass balance |
| = | residuum of adjoint mass balance |
| = | residuum of momentum balance |
| = | residuum of adjoint momentum balance |
| = | strain rate tensor |
| = | adjoint strain rate tensor |
| = | mapping of surfaces |
| = | physical time |
| = | position of surface point |
| = | design velocity field |
| = | fluid velocity |
| = | adjoint (fluid) velocity |
| = | general state variable |
| = | general euclidean coordinate |
| = | general domain boundary |
| = | Kronecker delta |
| = | general perturbation |
| = | general increment |
| = | fluid viscosity |
| = | density |
| = | general angle |
| Subscripts | |
| D = | design boundary |
| i,j,k = | general index for Einstein’s summation convention |
| n = | normal direction |
| O = | objective boundary |
| = | boundary based quantity |
| = | domain quantity |
| Superscripts | |
| l = | local derivative |
| c = | convective derivative |
| g = | geometric derivative |
| = | pseudo time |
| boundary type | ||||
|---|---|---|---|---|
| inlet | ||||
| wall | ||||
| wall | ||||
| outlet |
| boundary type | ||||
|---|---|---|---|---|
| inlet | ||||
| wall | ||||
| wall | ||||
| outlet |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Decoupling of Control and Force Objective in Adjoint-Based Fluid Dynamic Shape Optimization
Niklas Kühl111Research Associate, Institute for Fluid Dynamics and Ship Theory, [email protected] and Peter M. Müller222Student Assistant, Institute for Fluid Dynamics and Ship Theory, [email protected]
Hamburg University of Technology, Am Schwarzenberg-Campus 4, D-21075 Hamburg
Arthur Stück 333Head of Department Simulation Frameworks, Institute of Software Methods for Product Virtualization, [email protected]
German Aerospace Center (DLR), Institute of Software Methods for Product Virtualization, Zwickauer Strasse 46, D-01069 Dresden
Michael Hinze 444Professor in Optimization of Complex Systems, Department of Mathematics, [email protected]
University of Hamburg, Department of Mathematics, Bundesstrasse 55, D-20146 Hamburg
Thomas Rung 555Professor for Fluid Dynamics, Institute for Fluid Dynamics and Ship Theory, [email protected]
Hamburg University of Technology, Am Schwarzenberg-Campus 4, D-21075 Hamburg
Nomenclature
(Nomenclature entries should have the units identified)
1 Introduction
This technical note discusses two alternatives for an adjoint-based derivative evaluation for fluid-dynamic forces on bodies within a node-based shape optimization problem [1]. When attention is devoted to force objectives, the objective functional as well as the control are usually co-located, i.e. tangential and normal fluid-dynamic stresses are integrated along the body surface which serves as objective and design surface. This internal objective functional evaluation introduces additional contributions to the total shape derivative that arise from the material derivative concept [2, 3]. An example for this additional contribution follows from a gravitational potential that introduces buoyancy forces [4]. These contributions can be deduced mathematically with the aid of the general shape calculus, since the integral bounds for determining the global force contain the controlled and thus variable shape [5, 6, 3]. Alternatively, the fluid dynamic force on a body can be expressed by the global momentum loss in an external fashion [7]. This facilitates a decoupling between control and objective, where the latter is often evaluated at the boundaries of the computational domain. Mathematically, it is a matter of two different optimization problems (objective functional), that should be equivalent from a physical perspective.
The crucial point now is: The complexity of the objective-functional derivative expression is reduced by decoupling control and objective surfaces, as geometric as well as convective contributions to the total derivative disappear due to the unperturbed control, and only the local contribution remains. Different possibilities exist for the evaluation of the local contribution which can be subdivided into direct and indirect (adjoint) procedures [8, 9, 2], where the adjoint approach is deemed more efficient [9, 10, 8]. This note illustrates and discusses the external force evaluation from an adjoint perspective, which leads to a simplification of the final shape derivative.
Within the note, vectors and tensors are defined with reference to Cartesian coordinates and denoted by latin subscripts. Temporal information is indicated via superscripts and Einstein’s summation is used for latin subscripts.
2 Shape Calculus
Assuming that an arbitrary shape is described by an infinite number of surface points . The transformation from an initial towards an alternative shape – e.g. for optimization purposes – can generally be performed in a pseudo time :
[TABLE]
In comparison to the physical time , the pseudo-time is a parent quantity. The mapping can be interpreted as a forward integration following the gradient in pseudo time:
[TABLE]
frequently labelled as perturbation of identity. The temporal change of all surface coordinates can be described via the so called speed method:
[TABLE]
where the velocity field is often denoted as design velocity. Combining Eqns. (2) and (3) yields for a steepest descent approach. We now aim to connect the design velocity with derivative information of a surface based objective function, e.g. a component of the force acting on a body:
[TABLE]
depending on the state variables and the related boundary part . The shape derivative based on the introduced design velocity with state constraints is obtained by the concept of material derivative that decides between the initial and a perturbed domain and reads:
[TABLE]
where the three parts are denoted as local, convective and geometric derivative respectively [6, 2, 3], and refers to the state derivative. A distinction between the habitat of the objective functional and the control is necessary: Both the convective as well as the geometric contribution need to be evaluated along the intersected area . However, the most challenging part refers to the evaluation of the local contribution. For shape optimization problems the most efficient way to compute the local part is obtained from an adjoint analysis that circumvents a direct evaluation of the state derivative.
3 Adjoint Evaluation of Local Derivatives
The steady momentum and continuity equations for an incompressible, single-phase laminar Newtonian fluid – that are solved for the velocity and the pressure – read:
[TABLE]
where the unit coordinates, the strain rate tensor as well as the gravity vector are denoted by , and respectively. Mind that the body force due to gravity can be scrambled into a generalized pressure via .
The surface-based objective functional considered within this publication inheres local, geometrical and convective derivatives, whereby the local contribution can be evaluated efficiently by the adjoint approach. For this purpose, the objective functional is extended by the primal residuals to an augmented Lagrangian:
[TABLE]
In order to derive the adjoint field equations, the partial derivative with respect to the local flow variations has to vanish in all directions (, ), resulting in the following set of adjoint field equations:
[TABLE]
Interestingly, compared to their primal counterpart the adjoint set of equations do not inhere any body-force term. The boundary conditions are derived from the boundary parts of the variation of the Langrangian:
[TABLE]
Note that does not necessarily coincide with , which will be examined in more detail in the following section. With the aid of remaining optimality criteria, one can derive a local surface-based sensitivity rule along the design surface:
[TABLE]
Obviously, the local derivative is determined without directly differentiating the state into the direction of the control.
4 Interior vs. Exterior Evaluation of Force Objectives
The section aims to convey that there is more than one answer in the sense of the adjoint approach to the same question. For this purpose a steady, incompressible, laminar single-phase flow around a body is examined. The objective functional refers to the component of the flow-induced forces acting on the body in the direction , i.e. . The force can be determined in two different ways, referred to as interior (a) and exterior (b) strategy. Along all inlets and walls, the velocity is prescribed and zero normal-gradients are assumed for the velocity at the outlet. Constant normal-gradients are used for the pressure to account for hydrostatics,
- (a)
Referring to Fig. 1a, the projected force can be determined by integrating the stress components along the body surface and then projecting them into the direction of the objective force component:
[TABLE]
In this classical example, the design surface coincides with the objective surface. This requires the evaluation of the complete derivative, i.e. all three terms of Eqn. (5). Eliminating the local pressure variations in (14) in combination with the force objective yields the following boundary conditions for the adjoint velocity:
[TABLE]
The complete set of adjoint boundary conditions is collected in Tab. 2. In line with the primal problem, the von-Neumann boundary conditions for the adjoint pressure are numerically motivated. 2. (b)
The force objective can also be examined by the momentum loss inside the computational domain (cf. Fig. 1b). The latter is evaluated by integrating along the far field boundaries, viz.
[TABLE]
Since the objective functional is now decoupled from the design surface, only the local portion of the shape derivative needs to be considered. Eliminating the local pressure variations in (14) in combination with the force objective yields a different set of boundary conditions for the adjoint velocity (see also Tab. 2):
[TABLE]
The different boundary conditions reveal an additional observation: While in the interior case (a) a non-zero [zero] adjoint velocity sticks to the body to be optimized [far field], this is exactly the other way around in the exterior case (b). The variable form of appearance resembles the transport theorem formulated in an Arbitrary Lagrangian Eulerian (ALE) frame of reference. Formulation (a) obviously corresponds to a moving grid approach, whereas (b) is similar to an Eulerian description.
5 Application
In this section the effect of decoupling control and objective functional is compared against the traditional coupled approach. For this purpose, we compute a simple but illustrative example, which refers to a steady, laminar, single-phase flow of an incompressible fluid around a cylinder under the influence of gravity. The Reynolds- and Froude-numbers are assigned to and based on the constant inflow velocity and the diameter of the cylinder. Fig. 2 depicts the utilized mesh in the vicinity of the cylinder, which is discretized with 200 surface patches along the circumference. The boundary layer is fully resolved and the dimensionless near-wall spacing reaches down to . The gravity vector acts perpendicular to the approach flow direction. A conventional, pressure-based, second-order accurate Finite-Volume scheme for a cell-centred variable arrangement is employed to approximate the partial differential equations of the primal and adjoint systems [11]. Different objective force directions will be investigated for both evaluation strategies. Supplementary, Finite-Difference studies are performed for the exterior evaluation to verify the adjoint sensitivities. Note that a FD-study of the interior evaluation provides exactly the same result complemented by the related change of hydrostatic forces due to the variation of the fluid mass associated with the variation of the design surface. This is usually irrelevant in single-phase flows, fortunately not seen along the exterior boundaries and also not noticed by the adjoint single-phase system.
5.1 Comparison of Evaluations
Evaluating the fluid forces for the interior approach (16), the shape derivative includes all three contributions. The local change of the force objective functional is determined with the aid of the adjoint system using the boundary conditions illustrated in Table 2. The convective contribution follows directly from the hydrostatic term . Thanks to the structure theorem of Hadamard-Zolésio [12, 13], only the normal component of the design velocity field influences the derivative (). If curvature effects are neglected one arrives at:
[TABLE]
The derivative inheres a convective contribution if and only if the force direction sees gravity (i.e., ). Interestingly, if the normal design velocity is approximated via a perturbation constant (), the latter cancels out as demonstrated by the local Finite-Difference (FD) results, viz.
[TABLE]
The geometric contribution accounts for the tangential change of the surface normals. If the boundary can be described locally as the graph of a function and considering the tangential Stokes formula, the tangential change agrees with the mean curvature. In case of a circular cylinder, this leads to a constant and the complete derivative of the objective inheres a Froude, curvature and Reynolds term:
[TABLE]
Assessing the same problem on the same mesh for the exterior evaluation strategy, yields to the same adjoint field equations with alternative boundary conditions (cf. Tab. 2). Based on the general shape calculus, it is expected that convective and geometric derivatives disappear and only the local derivative contributes.
5.2 Numerical Results
To reliably compare results from Finite-Differences against adjoint sensitivities, it is crucial that the perturbation sizes lie within a regime dominated by a linear response. Fig. 3(a) shows the exemplary answers of the drag functional (, cf. Fig. 2) to an initial and two consecutively doubled perturbations at one particular surface patch. All three results pass almost exactly through the origin, which indicates no significant non-linear effects. Obviously, the chosen perturbations comply fairly well with the linearity constraint, which was also verified for all other FD results of this note. The local derivative for the investigated force directions (drag, drift, lift) is displayed in Fig. 3(b), which indicates that the FD-results and both adjoint sensitivities are in fair agreement for all three scenarios. This observation underscores potential merits of decoupling design and objective regimes by virtue of vanishing convective derivatives.
6 Conclusion
We discuss exterior and classical interior alternatives for evaluating fluid flow induced forces on bodies. The discussion aims at a reduction of the total shape derivative, achieved through a decoupling of control and objective in the exterior approach. In this case, geometric as well as convective contributions to the shape derivative vanish. Convective contributions depend on primal physics and may disappear, which is not the case for geometric components. The latter can be interpreted as curvatures immanent to industrial applications. The remaining local derivative of the objective functional can be determined efficiently with an adjoint system, that differs to the classical approach in its boundary conditions only and resembles an ALE strategy. A two-dimensional flow exposed to gravity illustrates the features of the exterior approach, whereby carefully derived derivatives from a second order Finite-Difference study were used to validate the results.
Acknowledgements
The current work is a part of the research project "Drag Optimisation of Ship Shapes" funded by the German Research Foundation (DFG, Grant No. RU 1575/3-1). This support is gratefully acknowledged by the authors.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Kröger and Rung [2015] Kröger, J., and Rung, T., “CAD-Free Hydrodynamic Optimisation using Consistent Kernel-Based Sensitivity Filtering,” Ship Technology Research , Vol. 62, No. 3, 2015, pp. 111–130.
- 2Stück [2012] Stück, A., “Adjoint Navier-Stokes Methods for Hydrodynamic Shape Optimisation,” Ph.D. thesis, Hamburg University of Technology, 2012.
- 3Schmidt et al. [2013] Schmidt, S., Ilic, C., Schulz, V., and Gauger, N., “Three-Dimensional Large-Scale Aerodynamic Shape Optimization Based on Shape Calculus,” AIAA Journal , Vol. 51, No. 11, 2013, pp. 2615–2627.
- 4Kröger et al. [2018] Kröger, J., Kühl, N., and Rung, T., “Adjoint Volume-of-Fluid Approaches for the Hydrodynamic Optimisation of Ships,” Ship Technology Research , Vol. 65, No. 1, 2018, pp. 47–68. 10.1080/09377255.2017.1411001 . · doi ↗
- 5Jameson [1995] Jameson, A., “Optimum Aerodynamic Design Using CFD and Control Theory,” AIAA Paper , , No. AIAA–95–1729–CP, 1995.
- 6Schmidt [2010] Schmidt, S., “Efficient Large Scale Aerodynamic Design Based on Shape Calculus,” Ph.D. thesis, University of Trier, 2010.
- 7Squire and Young [1937] Squire, H. B., and Young, A. D., “The Calculation of the Profile Drag of Aerofoils,” , 1937. ARC Technical Report REM 18389.
- 8Giles and Pierce [2000] Giles, M., and Pierce, N., “An Introduction to the Adjoint Approach to Design,” Flow, Turbulence and Combustion , Vol. 65, No. 3, 2000, pp. 393–415.
