adjointSolverName not set correctly in adjointWallVelocityLowRe
Description
"Ua" is passed as the solverName argument in the adjointBoundaryCondition constructors of adjointWallVelocityLowRe. As a result, adjointWallVelocityLowRe cannot be used if useSolverNameForFields has been set to true
in optimisationDict
.
Possible fixes
Replace
adjointBoundaryCondition(p, iF, "Ua")
with
adjointBoundaryCondition(p, iF, ptf.adjointSolverName_)
and
adjointBoundaryCondition(p, iF, dict.get<word>("solverName"))
in the second and third constructors of adjointWallVelocityLowRe.