1. 18 Dec, 2019 2 commits
    • Andrew Heather's avatar
      58009f65
    • 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.
      
          Reference:
          \verbatim
              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.
                  DOI:10.1007/s10494-005-1974-8
          \endverbatim
      
          The default model coefficients are (LUU:Eqs. 19-20):
          \verbatim
              kEpsilonPhitFCoeffs
              {
                  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
              }
          \endverbatim
      
      Note
          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'
      e38e5d67
  2. 12 Dec, 2019 3 commits
  3. 13 Nov, 2019 1 commit
  4. 31 Oct, 2019 1 commit
  5. 06 Nov, 2019 1 commit
  6. 02 Nov, 2019 1 commit
  7. 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
            parentheses
        - 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.
      458738f0
    • Kutalmış Berçin's avatar
      ENH: Integrated OpenFOAM.org developments for wall functions · ce9ea1ca
      Kutalmış Berçin authored
      OpenFOAM.org commits for
        src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions
      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.
      ce9ea1ca
  8. 01 Oct, 2019 1 commit
  9. 02 Oct, 2019 1 commit
  10. 24 Sep, 2019 1 commit
  11. 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.
      1d79c045
  12. 16 Jul, 2019 1 commit
  13. 12 Jul, 2019 1 commit
  14. 26 Jun, 2019 1 commit
  15. 12 Jun, 2019 2 commits
  16. 07 Jun, 2019 1 commit
    • Sergio Ferraris's avatar
      INT: Org integration of VOF, Euler phase solvers and models. · 8170f2ad
      Sergio Ferraris authored
      Integration of VOF MULES new interfaces. Update of VOF solvers and all instances
      of MULES in the code.
      Integration of reactingTwoPhaseEuler and reactingMultiphaseEuler solvers and sub-models
      Updating reactingEuler tutorials accordingly (most of them tested)
      
      New eRefConst thermo used in tutorials. Some modifications at thermo specie level
      affecting mostly eThermo. hThermo mostly unaffected
      
      New chtMultiRegionTwoPhaseEulerFoam solver for quenching and tutorial.
      
      Phases sub-models for reactingTwoPhaseEuler and reactingMultiphaseEuler were moved
      to src/phaseSystemModels/reactingEulerFoam in order to be used by BC for
      chtMultiRegionTwoPhaseEulerFoam.
      
      Update of interCondensatingEvaporatingFoam solver.
      8170f2ad
  17. 31 May, 2019 1 commit
  18. 28 Apr, 2019 1 commit
  19. 12 Apr, 2019 1 commit
  20. 01 Mar, 2019 1 commit
  21. 13 Feb, 2019 1 commit
  22. 06 Feb, 2019 2 commits
  23. 30 Jan, 2019 1 commit
  24. 17 Jan, 2019 1 commit
  25. 09 Jan, 2019 1 commit
  26. 03 Jan, 2019 1 commit
    • Mark OLESEN's avatar
      ENH: additional read guards for dimensionedType. input consistency (#762, #1148) · 6a448016
      Mark OLESEN authored
      - provide a lookupOrDefault constructor form, since this is a fairly
        commonly used requirement and simplifies the calling sequence.
      
        Before
      
            dimensionedScalar rhoMax
            (
                dimensionedScalar::lookupOrDefault
                (
                    "rhoMax",
                    pimple.dict(),
                    dimDensity,
                    GREAT
                )
           );
      
        After
      
            dimensionedScalar rhoMax("rhoMax", dimDensity, GREAT, pimple.dict());
      
      - read, readIfPresent methods with alternative lookup names.
      
      - Mark the Istream related constructors with compile-time deprecated
        warnings.
      
      BUG: read, readIfPresent methods not handling optional dimensions (#1148)
      6a448016
  27. 11 Dec, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: use Zero when zero-initializing types · 1d85fecf
      Mark OLESEN authored
      - makes the intent clearer and avoids the need for additional
        constructor casting. Eg,
      
            labelList(10, Zero)    vs.  labelList(10, 0)
            scalarField(10, Zero)  vs.  scalarField(10, scalar(0))
            vectorField(10, Zero)  vs.  vectorField(10, vector::zero)
      1d85fecf
  28. 02 Dec, 2018 1 commit
  29. 14 Nov, 2018 1 commit
  30. 05 Nov, 2018 1 commit
  31. 16 Oct, 2018 1 commit
  32. 06 Nov, 2018 1 commit
  33. 03 Nov, 2018 1 commit
  34. 19 Oct, 2018 1 commit