1. 05 Jun, 2020 2 commits
  2. 03 Jun, 2020 1 commit
    • sergio's avatar
      COM: Separate htc FO from general FO and reactingEuler solvers (#1714) · 95f7ed03
      sergio authored and Mark OLESEN's avatar Mark OLESEN committed
      The phase systems tables for multiphase solvers create conflict
      between each other as they are defined in the same namespace and using
      similar class names.
      
      Therefore a special htc function object for reactingEulerSolver was
      added (reactingEulerHtcModel), located under
      src/phaseSystemModels/reactingEulerFoam/functionObjects/
      
      This commit includes the following:
      
      - Relocate solvers/reactingEulerFoam functionObjects to
        src/phaseSystemModels
      - Remove links for fieldFunctionObject to multiphase libs to avoid
        conflicts
      - New FO for htc for reactingEulerFoam called reactingEulerHtcModel
      95f7ed03
  3. 02 Jun, 2020 1 commit
    • Mark OLESEN's avatar
      ENH: unify use of dictionary method names · 3e43edf0
      Mark OLESEN authored
      - previously introduced `getOrDefault` as a dictionary _get_ method,
        now complete the transition and use it everywhere instead of
        `lookupOrDefault`. This avoids mixed usage of the two methods that
        are identical in behaviour, makes for shorter names, and promotes
        the distinction between "lookup" access (ie, return a token stream,
        locate and return an entry) and "get" access (ie, the above with
        conversion to concrete types such as scalar, label etc).
      3e43edf0
  4. 29 May, 2020 1 commit
  5. 23 May, 2020 1 commit
  6. 22 May, 2020 1 commit
    • sergio's avatar
      COMP: Avoiding double entry in runTime table TurbulenceModel · 11965904
      sergio authored
      multiphaseReactingTurbulenceModels and twoPhaseReactingTurbulenceModels
      add models to the same table TurbulenceModel. These two libs were removed
      from libreactingPhaseSystem which created the conflict.
      
      The multiphaseReactingTurbulenceModels was added to
      reactingMultiPhaseEulerFoam solver and twoPhaseReactingTurbulenceModels to
      twoPhaseReactingEulerFoam solver
      
      The FO heatTransferCoeffs for libfieldFunctionObjects needs
      twoPhaseReactingTurbulenceModels.
      
      These change avoids linking conflict from multiphaseReactingTurbulenceModels
      and twoPhaseReactingTurbulenceModels being linked in the same lib.
      11965904
  7. 21 May, 2020 2 commits
  8. 04 May, 2020 1 commit
  9. 01 May, 2020 2 commits
  10. 28 Apr, 2020 1 commit
  11. 24 Apr, 2020 1 commit
  12. 08 Apr, 2020 1 commit
  13. 23 Mar, 2020 2 commits
  14. 11 Mar, 2020 3 commits
  15. 03 Mar, 2020 1 commit
  16. 26 Feb, 2020 1 commit
  17. 21 Feb, 2020 1 commit
  18. 19 Feb, 2020 2 commits
  19. 18 Feb, 2020 1 commit
    • Kutalmış Berçin's avatar
      ENH: improve analytical eigendecompositions · 55e7da67
      Kutalmış Berçin authored and Andrew Heather's avatar Andrew Heather committed
        - `tensor` and `tensor2D` returns complex eigenvalues/vectors
        - `symmTensor` and `symmTensor2D` returns real eigenvalues/vectors
        - adds new test routines for eigendecompositions
        - improves numerical stability by:
          - using new robust algorithms,
          - reordering the conditional branches in root-type selection
      55e7da67
  20. 22 Jan, 2020 1 commit
  21. 07 Jan, 2020 1 commit
  22. 16 Dec, 2019 1 commit
  23. 11 Dec, 2019 1 commit
    • Andrew Heather's avatar
      ENH: Added new function object to compute the Proudman acoustic power · 30fe28ee
      Andrew Heather authored and Mark OLESEN's avatar Mark OLESEN committed
      Calculates the acoustic power due to the volume of isotropic turbulence
      using Proudman's formula
      
      The acoustic power \f$ P_A \f$ [W/m3] in terms of turbulence \f$ k \f$
      and \f$ \epsilon \f$ is given as:
      
          \f[
              P_A = alpha_\epsilon \rho \epsilon M_t^5
          \f]
      
      where \f$ alpha_\epsilon \f$ is a constant (0.1) and
      
          \f[
              M_t = \frac{\sqrt{2 k}}{a_0}
          \f]
      
      with \f$ a_0 \f$ the speed of sound.  The acoustic power is also output in
      dB using:
      
          \f[
              L_P = 10 \log \frac{P_A}{P_ref}
          \f]
      
      where \f$ P_ref \f$ is a constant (1e-12 W/m3)
      
      Usage
          Example of function object specification to calculate the Proudman acoustic
          power
      
          proudmanAcousticPower1
          {
              type        proudmanAcousticPower;
              libs        ("libfieldFunctionObjects.so");
              ...
      
              // Required additional entries for incompressible calculations
              rhoInf      1.225;
              aRef        340;
          }
      
          Where the entries comprise:
              Property     | Description                 | Required   | Default value
              type         | type name: proudmanAcousticPower         | yes        |
              rhoInf       | Freestream density for incompressible cases  | no |
              aRef         | Reference spped of sound for incompressible cases | no |
              alphaEps     | Model coefficient           | no         | 0.1
      
      Note
      - The freestream density and reference speed of sound are only necessary
        when a thermodynamics package is unavailable, typically for incompressible
        cases.
      30fe28ee
  24. 10 Dec, 2019 1 commit
    • Andrew Heather's avatar
      ENH: Added new limitFields function object · 6709f3ef
      Andrew Heather authored and Mark OLESEN's avatar Mark OLESEN committed
      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
          type         | type name: limitFields      | yes |
          fields       | list of fields to process   | yes |
          limit        | bound to limit - see below  | yes |
          min          | min limit value             | partly |
          max          | max limit value             | partly |
      
      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
      6709f3ef
  25. 12 Nov, 2019 1 commit
  26. 11 Nov, 2019 1 commit
  27. 31 Oct, 2019 1 commit
  28. 22 Oct, 2019 1 commit
    • Andrew Heather's avatar
      ENH: Pressure function object - added optional inclusion of hydrostatic pressure · 186b0350
      Andrew Heather authored
      Example - create p-rgh from p:
      
          pressure-p-rgh
          {
              type            pressure;
              libs            (fieldFunctionObjects);
              writeControl    writeTime;
              mode            static;
              rho             rhoInf;
              rhoInf          1;
              hydrostaticMode subtract;
              g               (0 -9.81 0);
              hRef            0;
          }
      
      - the hydrostaticMode entry is optional - setting is shown during construction
      - g and/or hRef values are retrieved from the database if not specified
      186b0350
  29. 11 Nov, 2019 1 commit
  30. 09 Sep, 2019 1 commit
  31. 05 Nov, 2019 2 commits
  32. 23 Oct, 2019 1 commit