Computing the Mesh Sensitivity

The mesh sensitivity gives the sensitivity of the cost function associated with mesh deformation.

First, the adjoint solver computes the field function Sensitivity of [cost function] w.r.t Position automatically. When mesh sensitivity is computed, the Adjoint of [cost function] w.r.t Position is calculated by solving the adjoint associated with mesh deformation, which is described in the theory guide section Adjoint of Mesh Deformation. This calculation represents the adjoint of the mesh deformation solver (that is, the adjoint of the RBF equation used to deform the mesh).

To run a shape optimization simulation using mesh deformation, the boundary condition specification and the solver settings should be configured before computing the mesh sensitivity. Follow the steps in Shape Optimization using Mesh Sensitivity.

For cases that use the RBF morpher controlled by point sets, mesh sensitivity is the most accurate quantity to use when compared with surface sensitivity. However, the mesh sensitivity can be expensive to compute and be noisy, which can cause optimizations to fail quickly due to invalid meshes or non-physical designs. If you wish to directly manipulate the surface during optimization, or wish to obtain an initial assessment of which areas of geometry to vary, the surface sensitivity can be a better choice.

To compute the mesh sensitivity:

  1. Right-click the Solvers > Adjoint node and select Compute Mesh Sensitivity.

To visualize the results of the computation of the mesh sensitivity:

  1. Visualize the mesh sensitivity at boundaries, see Visualizing the Mesh Sensitivity.
  2. Visualize the mesh sensitivity at all the vertices, select the Adjoint Mesh node and activate Temporary Storage Retained.