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 423
    • Issues 423
    • 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
  • #1113
Closed
Open
Issue created Dec 06, 2018 by Johan Roenby@johan_roenbyContributor

invertAlpha switch in setAlphaField

For simulating rising bubbles etc it is convenient to be able to invert alpha so e.g. the sphere/disc formed with setAlphaField has alpha = 0 inside and is surrounded by alpha = 1.

In the attached file setAlphaField is the version from v1806 where I have added this functionality. A discInConstantFlow case is added to verify that it works as intended.

Best regards, Johan

invertAlphaSwitchInSetAlphaField.tar.gz

Assignee
Assign to
Time tracking