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
  • #1622
Closed
Open
Issue created Mar 07, 2020 by Justin Graupman@graups

Add a magnitude postOperation to the surfaceFieldValue function object

Functionality to add/problem to solve

Sometimes I don't care whether the output from surfaceFieldValue is negative or positive (like when monitoring the sum of the flux). Currently the only postOperation in surfaceFieldValue that appears to be supported is sqrt. Adding other simple ones like mag could be useful.

Target audience

Anyone who wants the magnitude of the value calculated by surfaceFieldValue

Proposal

Add a mag postOperation to surfaceFieldValue

Funding

I'm not prepared to fund this directly, but my guess is this will be useful to others. It just seems odd that only one postOperation is supported.

Assignee
Assign to
Time tracking