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 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2260
Closed
Open
Issue created Nov 08, 2021 by s1291@samir1291

forceCoeffs FO: pitchAxis keyword has no effect

When using the forceCoeffs function object, it seems that the pitchAxis keyword has no effect. It is always set to coordSys_.e2()

How to reproduce

  • Example 1: Run the tutorial: $FOAM_TUTORIALS/incompressible/simpleFoam/simpleCar
  • Example 2: Run the tutorial: $FOAM_TUTORIALS/compressible/sonicFoam/RAS/nacaAirfoil

Set the pitchAxis to some vector , the output in postProcessing directory will ignore that and prints the e2 vector instead.

Checking the source code of the FO, it appears that pitchAxis keyword is not read. So, the presence of this keyword in the tutorials dir is misleading.

Running:

grep -r 'pitchAxis' $FOAM_TUTORIALS

Returns 7 tutorials using that keyword.

OpenFOAM version

  • OpenFOAM v2106 on Ubuntu 20.04
Edited Nov 08, 2021 by s1291
Assignee
Assign to
Time tracking