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
  • Merge requests
  • !304

ENH: Added new limitFields function object

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andrew Heather requested to merge feature-limitFields-FO into develop Dec 12, 2019
  • Overview 2
  • Commits 1
  • Changes 4

@Roger @Prashant - can you confirm this OK to go in? and any test case/updated tutorial that can be provided?


Details of the new function object:

Limits fields to user-specified min and max bounds

Usage Example of function object specification:

limitFields1
{
    type        limitFields;
    libs        ("libfieldFunctionObjects.so");
    ...
    fields      (U);
    limit       max;
    max         100;
}

Where the entries comprise: Property | Description | Required | Default value type | type name: limitFields | yes | fields | list of fields to process | yes | limit | bound to limit - see below | yes |

The limit entry can take the value:

  • min : specify a minimum value
  • max : specify a maximum value
  • both : specify a minimum value and a maximum value
Edited Dec 12, 2019 by Andrew Heather
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-limitFields-FO