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 413
    • Issues 413
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !523

ENH: runTimeControl - enable resetting the trigger to an earlier instant

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andrew Heather requested to merge feature-runTimeControl-recycle into develop Feb 10, 2022
  • Overview 17
  • Commits 3
  • Changes 29

The runTimeControl function object can activate further function objects using triggers. Previously the trigger index could only advance; this change set allows users to set smaller values to enable function object recycling, e.g.

Repeat for N cycles:

  1. average the pressure at a point in space
  2. when the average stabilises, run for a further 100 iterations
  3. set a new patch inlet velocity
  • back to (1)

Added a 'none' condition that acts as a pass-through/no-op with the option to set a new trigger value.

Refactored the averageCondition run-time condition and valueAverage FO to use a common base

Edited Feb 16, 2022 by Andrew Heather
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-runTimeControl-recycle