Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1502
Closed
Open
Issue created Nov 15, 2019 by Vaggelis Papoutsis@vaggelispDeveloper

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.

Assignee
Assign to
Time tracking