1. 10 Dec, 2020 4 commits
  2. 05 Aug, 2020 1 commit
  3. 03 Aug, 2020 1 commit
  4. 31 Jul, 2020 1 commit
  5. 18 Jun, 2020 1 commit
  6. 16 Jun, 2020 1 commit
  7. 11 Jun, 2020 1 commit
  8. 10 Jun, 2020 3 commits
    • Mark OLESEN's avatar
    • Andrew Heather's avatar
      COMP: Resolved compiler warning messages · e2ad9f08
      Andrew Heather authored
    • Kutalmış Berçin's avatar
      ENH: add wall-function blending treatments · 07a5babd
      Kutalmış Berçin authored
          Please see the Extended Code Guide and header files for the details.
          ENH: add wall-function blending treatments to epsilonWallFunc
               adds `stepwise`, `max`, `binomial`, and `exponential` wall-function
               blending treatments:
          COMP: check backward compatibility for:
                `serial restart`
                `parallel restart`
                computations in comparison to the following tutorials from v1906:
                `circuitBoardCooling  condensatingVessel  evaporationMultiComponent
                 hotRoom  movingBox  multiRegionHeaterRadiation  reverseBurner
          STYLE: simplify `forAll`s
          ENH: add new wall blending approaches into omegaWallFunction
               adds stepwise, max, binomial, and exponential wall function blending apprs.
               ensures/forces the backward compatibility:
                 - blended = true    (blending:BINOMIAL2) (default)
                 - blended = false   (blending:STEPWISE)
              simplifies forAlls
              deprecates objects:
                 - "blended" - use "blending::" options
                 - "includeG" - as was hardcoded
          ENH: add wall-func blending treatments into nutWallFuncs
          - nutWallFunction
          - nutUWallFunction
          - nutkWallFunction
          COMP: check backward compatibility for:
                - serial
                - parallel
                - serial restart
                - parallel restart
                computations in comparison to the following tutorials from v1906:
                - heatTransfer/buoyantSimpleFoam/buoyantCavity
                - compressible/rhoSimpleFoam/gasMixing/injectorPipe
          DOC: modify header docs in wallFuncs
          - nutUTabulatedWallFunction
          - nutUSpaldingWallFunction
          - nutURoughWallFunction
          - nutUBlendedWallFunction
            - REVERT: change write order
          - nutLowReWallFunction
          - kLowReWallFunction:
            - ENH: protect against zero-division error through 'Ceps2' entry
            - STYLE: remove few redundant empty lines
  9. 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).
  10. 04 May, 2020 1 commit
  11. 01 May, 2020 1 commit
  12. 15 Apr, 2020 1 commit
  13. 11 Mar, 2020 2 commits
  14. 23 Jan, 2020 1 commit
  15. 21 Jan, 2020 1 commit
    • Kutalmış Berçin's avatar
      BUG: add switch for nu:DphitEff in kEpsilonPhitF (fixes #1560) · c234acf1
      Kutalmış Berçin authored
          Including `nu` in `DphitEff` even though it is not present in (LUU:Eq. 17)
          provided higher level of resemblance to benchmarks for the tests considered,
          particularly for the peak skin friction (yet, pressure-related predictions
          were unaffected). Users can switch off `nu` in `DphitEff` by using
          `includeNu` entry in `kEpsilonPhitFCoeffs` in order to follow the
          reference paper thereat. `includeNu` is left `true` by default.
          See GitLab issue #1560,
        LUU: Laurence, D. R., Uribe, J. C., & Utyuzhnikov, S. V. (2005).
  16. 03 Jan, 2020 1 commit
    • Kutalmış Berçin's avatar
      DEFEATURE: deprecate v2f model in favour of kEpsilonPhitF · ab0dd1f1
      Kutalmış Berçin authored and Andrew Heather's avatar Andrew Heather committed
        - kEpsilonPhitF is a kEpsilon-based model which originated
          from (Durbin, 1995)’s v2-f methodology. However, the majority of
          v2-f model variants proved to be numerically stiff for segregated
          solution algorithms due to the coupled formulations of v2 and f fields,
          particularly on wall boundaries.
          The v2-f variant (i.e. OpenFOAM’s v2f model) due to
          (Lien and Kalitzin, 2001) reformulated the original v2-f model to enable
          segregated computations; however, a number of shortcomings regarding
          the model fidelity were reported in the literature.
          To overcome the shortcomings of the v2-f methodology, the v2-f approach
          was re-evaluated by (Laurence et al., 2005) by transforming v2 scale into
          its equivalent non-dimensional form, i.e. phit, to reduce the numerical
          This variant, i.e. kEpsilonPhitF, is believed to provide numerical
          robustness, and insensitivity to grid anomalies while retaining the
          theoretical model fidelity of the original v2-f model.
          Accordingly the v2f RANS model is deprecated in favour of the variant
          kEpsilonPhitF model.
  17. 20 Dec, 2019 1 commit
  18. 19 Dec, 2019 1 commit
  19. 18 Dec, 2019 2 commits
    • Andrew Heather's avatar
    • Kutalmış Berçin's avatar
      ENH: new RAS model: kEpsilonPhitF · e38e5d67
      Kutalmış Berçin authored
          ENH: modify fWallFunction for kEpsilonPhitF model
          The k-epsilon-phit-f turbulence closure model for incompressible and
          compressible flows.
          The model is a three-transport-equation linear-eddy-viscosity turbulence
          closure model alongside an elliptic relaxation equation:
            - Turbulent kinetic energy, \c k,
            - Turbulent kinetic energy dissipation rate, \c epsilon,
            - Normalised wall-normal fluctuating velocity scale, \c phit,
            - Elliptic relaxation factor, \c f.
              Standard model (Tag:LUU):
                  Laurence, D. R., Uribe, J. C., & Utyuzhnikov, S. V. (2005).
                  A robust formulation of the v2−f model.
                  Flow, Turbulence and Combustion, 73(3-4), 169–185.
          The default model coefficients are (LUU:Eqs. 19-20):
                  Cmu         0.22,    // Turbulent viscosity constant
                  Ceps1a      1.4,     // Model constant for epsilon
                  Ceps1b      1.0,     // Model constant for epsilon
                  Ceps1c      0.05,    // Model constant for epsilon
                  Ceps2       1.9,     // Model constant for epsilon
                  Cf1         1.4,     // Model constant for f
                  Cf2         0.3,     // Model constant for f
                  CL          0.25,    // Model constant for L
                  Ceta        110.0,   // Model constant for L
                  CT          6.0,     // Model constant for T
                  sigmaK      1.0,     // Turbulent Prandtl number for k
                  sigmaEps    1.3,     // Turbulent Prandtl number for epsilon
                  sigmaPhit   1.0,     // Turbulent Prandtl number for phit = sigmaK
          The name of the original variable replacing 'v2' is 'phi' (LUU:Eq. 14).
          However, the name 'phi' preexisted in OpenFOAM; therefore, this name was
          replaced by 'phit'
  20. 12 Dec, 2019 2 commits
  21. 31 Oct, 2019 1 commit
  22. 02 Nov, 2019 1 commit
  23. 02 Oct, 2019 2 commits
    • Kutalmış Berçin's avatar
      ENH: Subtle renovations in wall function documentation and input · 458738f0
      Kutalmış Berçin authored
        - Improves header file documentations
        - Adds const specifier to various objects
        - Allows various model constants to be user-defined
        - Changes from lookupOrDefault() to getOrDefault()
        - Consistent namespace usage:
          - If the WF belongs to only Foam:: namespace, use Foam:: explicitly
          - If the WF belongs to more than one namespaces, put the WF in namespace
        - Adds the missing dashes in comments required by Doxygen
        - Corrects capitalisation in comments
        - The terminology 'viscous sublayer' was preferred over 'laminar sublayer'
          due to the fact that the sublayer is not laminar.
        - The order of initialisation of fields is changed to be the same across all.
    • Kutalmış Berçin's avatar
      ENH: Integrated OpenFOAM.org developments for wall functions · ce9ea1ca
      Kutalmış Berçin authored
      OpenFOAM.org commits for
      were reviewed.
      The parts of the commits made by OpenFOAM.org removing various code
      duplications across wall functions were picked up by keeping the remaining
      functionalities the same.
      The duplications were mainly due to:
        - wall function model coefficients
        - yPlusLam(), checkPatch(), write() methods
      The duplications were united under the base nutWallFunction.
  24. 24 Sep, 2019 1 commit
  25. 29 Jul, 2019 1 commit
    • Mark OLESEN's avatar
      ENH: additional contiguous traits (#1378) · 1d79c045
      Mark OLESEN authored
      - change contiguous from a series of global functions to separate
        templated traits classes:
          - is_contiguous
          - is_contiguous_label
          - is_contiguous_scalar
        The static constexpr 'value' and a constexpr conversion operator
        allow use in template expressions.  The change also makes it much
        easier to define general traits and to inherit from them.
        The is_contiguous_label and is_contiguous_scalar are special traits
        for handling data of homogeneous components of the respective types.
  26. 16 Jul, 2019 1 commit
  27. 12 Jul, 2019 1 commit
  28. 31 May, 2019 1 commit
  29. 13 Feb, 2019 1 commit
  30. 06 Feb, 2019 2 commits