Skip to content
Snippets Groups Projects
  1. Jun 23, 2021
  2. Jun 22, 2021
  3. Jun 21, 2021
  4. Jun 19, 2021
  5. Jun 18, 2021
  6. Jun 17, 2021
  7. Jun 16, 2021
    • Andrew Heather's avatar
      ee4f7feb
    • Mark OLESEN's avatar
      Merge branch 'feature-multiRegion' into 'develop' · 98abafcc
      Mark OLESEN authored
      ENH: Added new multiRegion function object
      
      See merge request !470
      98abafcc
    • Andrew Heather's avatar
      ENH: Added new multiRegion function object · af86d19e
      Andrew Heather authored and Mark OLESEN's avatar Mark OLESEN committed
      Wrapper that clones the supplied object for each region.
      
      Simplifies the setup of identical post-processing requirements for
      multi-region cases.
      Applies the supplied function to all regions by default.
      
      Example of function object specification:
      
          multiRegion
          {
              type    multiRegion;
              libs    (utilityFunctionObjects);
              ...
      
              function
              {
                  // Actual object specification
                  type    fieldMinMax;
                  libs    (fieldFunctionObjects);
                  fields  (<field1> .. <fieldN>);
              }
      
              // Optional entries
              regions     (region1 region2);
          }
      
          Where the entries comprise:
              Property   | Description                    | Reqd | Default
              type       | Type name: multiRegion         | yes |
              function   | Function object sub-dictionary | yes |
              regions    | List of region names           | no  | all
      af86d19e
    • Mark OLESEN's avatar
      Merge branch 'feature-multifieldvalue' into 'develop' · 89de9326
      Mark OLESEN authored
      ENH: new multiFieldValue function object
      
      See merge request !469
      89de9326
    • Andrew Heather's avatar
      ENH: new multiFieldValue function object · ea12bfdb
      Andrew Heather authored and Mark OLESEN's avatar Mark OLESEN committed
          Computes a selected operation between multiple \c fieldValue function
          objects.
      
          The operation is applied to all results of each \c fieldValue object.
      
      Note
          Each object must generate the same number and type of results.
      
      Usage
          Minimal example by using \c system/controlDict.functions:
      
          multiFieldValue1
          {
              // Mandatory entries (unmodifiable)
              type            multiFieldValue;
              libs            (fieldFunctionObjects);
      
              // Mandatory entries (runtime modifiable)
              operation       subtract;
      
              // List of fieldValue function objects as dictionaries
              functions
              {
                  region1
                  {
                      ...
                  }
                  region2
                  {
                      ...
                  }
      
                  ...
      
                  regionN
                  {
                      ...
                  }
              }
      
              // Optional (inherited) entries
              ...
          }
      
          where the entries mean:
      
            Property     | Description                         | Type | Req'd | Dflt
            type         | Type name: multiFieldValue          | word |  yes  | -
            libs         | Library name: fieldFunctionObjects  | word |  yes  | -
            operation    | Operation type to apply to values   | word |  yes  | -
            functions    | List of fieldValue function objects | dict |  yes  | -
          \endtable
      
          Options for the \c operation entry:
      
             add           | add
             subtract      | subtract
             min           | minimum
             max           | maximum
             average       | average
      
      Deprecated fieldValueDelta
      
      - The fieldValueDelta function object was originally written to compute the
      difference between two fieldValue-type function objects. The multiFieldValue
      object name better describes its purpose whilst being able to operate on an
      arbitrary number of fieldValue-type objects.
      ea12bfdb
  8. Jun 14, 2021