Adjoint of Mesh Deformation
The ultimate sensitivities of a given objective, or cost function, are those with respect to the design parameters, that is . These sensitivities are typically used to solve a shape optimization problem.
Design parameters, , define the mesh coordinates of a shape, . A mesh deformation strategy aims at deforming the initial baseline mesh of a shape, , based on the design parameters to evolve new shapes, . The mesh deformation algorithm that is used for the adjoint method in Simcenter STAR-CCM+ is the radial basis function (RBF) morpher algorithm. The adjoint derivative of the morpher algorithm evaluates:
where is the provided final mesh sensitivity.
In a shape optimization procedure, the computed design parameter sensitivity as given by Eqn. (5087) is the basis for the calculation of the new design parameter values. The morpher deforms the mesh coordinates of the shape according to these new values.
Primal
Using radial basis functions, the interpolated position about the reference position is given by
where
There are two types of radial basis function: those with compact support and those with global support. Here, only one global support function is considered, the multiquadratic biharmonics function given as:
and the constant . For a discrete set of reference positions in the domain, evaluation of all interpolation positions in that domain can be evaluated by casting Eqn. (5088) as:
where the components of the matrix are computed using the radial basis function
The continuous interpolation function Eqn. (5088) or its discrete form of Eqn. (5091) require the coefficients and . These coefficients are determined by known interpolation positions, or design parameters, , and the additional constraint that
From Eqn. (5088) and Eqn. (5093), a system of equations is constructed to solve the unknown coefficients:
Adjoint
From a functional point of view, the independent variables of the morpher are , and its dependent variable is in the continuous form and in the discrete form. The positions are constants of the system. Since only the discrete form of the morpher is of interest, the required Jacobian is then:
A tangent, , of the Jacobian Eqn. (5095) is derived by applying the chain rule to Eqn. (5091):
The derivative of the coefficients and with respect to are determined by solving the following system:
Therefore, the requirement for solving the tangent derivative is the capacity to evaluate Eqn. (5091) and Eqn. (5094) for specific inputs.
The aim of the adjoint evaluation of the morpher is to compute Eqn. (5087). The second term on the right hand side of this equation is already provided (see Sensitivity of Cost Function w.R.t. Flow and Energy Solution), so the adjoint of the morpher must compute the product of the two terms, that is, .
This product is derived by applying the chain rule to Eqn. (5091) and transposing the result:
On evaluating Eqn. (5098), the adjoint is obtained by solving the following system:
where the result is discarded.