Skip to content
Snippets Groups Projects
  1. Apr 19, 2021
  2. Apr 16, 2021
  3. Apr 15, 2021
  4. Apr 14, 2021
  5. Apr 01, 2021
  6. Mar 31, 2021
  7. Mar 29, 2021
  8. Mar 26, 2021
  9. Mar 25, 2021
  10. Mar 24, 2021
  11. Mar 23, 2021
    • Andrew Heather's avatar
      ENH: runTimeControl - added option to trigger a fatal error on exit (#2042) · b3142ffb
      Andrew Heather authored
      - useful when used in a batch process to trap the exit signal,
        e.g. stop the run when the velocity magnitude exceeds a given
        threshold:
      
          runTimeControl
          {
              type            runTimeControl;
              libs            ("libutilityFunctionObjects.so");
              nWriteStep      1;
      
              // Optional end 'action'
              satisfiedAction abort; // end; // setTrigger
      
              conditions
              {
                  maxU
                  {
                      type            minMax;
                      functionObject  MinMax;
                      fields          ("max(mag(U))");
                      value           1e6;
                      mode            maximum;
                  }
              }
          }
      b3142ffb