Skip to content

BUG: adjointRotatingWallVelocity causes sensitivities to crash. Fixes #3180

Vaggelis Papoutsis requested to merge fix-adjointRotatingWall-sens into master

If a case contains both adjointRotatingWallVelocity and adjointWallVelocity boundary conditions and sensitivity derivatives are computed over both these kind of patches, the computation of the sensitivities will crash due to an unallocated tmp. Cases with only adjointRotatingWallVelocity or adjointWallVelocity are not problematic.

Fixed by safeguarding the usage of adjointBoundaryCondition..dxdbMult()

Merge request reports