Skip to content
Snippets Groups Projects
  1. Sep 14, 2021
  2. Jun 18, 2020
  3. Jun 10, 2020
    • 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`
                `parallel`
                `serial restart`
                `parallel restart`
                computations in comparison to the following tutorials from v1906:
                `circuitBoardCooling  condensatingVessel  evaporationMultiComponent
                 hotRoom  movingBox  multiRegionHeaterRadiation  reverseBurner
                 solidQuenching2D`
          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
      07a5babd
  4. Oct 31, 2019
  5. Oct 02, 2019
    • 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
  6. May 31, 2019
  7. Feb 06, 2019
  8. Dec 11, 2018
    • 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
  9. Sep 15, 2017
  10. Apr 30, 2016
    • Henry Weller's avatar
      GeometricField: Renamed internalField() -> primitiveField() and... · 3c053c2f
      Henry Weller authored
      GeometricField: Renamed internalField() -> primitiveField() and dimensionedInternalField() -> internalField()
      
      These new names are more consistent and logical because:
      
      primitiveField():
      primitiveFieldRef():
          Provides low-level access to the Field<Type> (primitive field)
          without dimension or mesh-consistency checking.  This should only be
          used in the low-level functions where dimensional consistency is
          ensured by careful programming and computational efficiency is
          paramount.
      
      internalField():
      internalFieldRef():
          Provides access to the DimensionedField<Type, GeoMesh> of values on
          the internal mesh-type for which the GeometricField is defined and
          supports dimension and checking and mesh-consistency checking.
      3c053c2f
  11. Feb 24, 2016
    • Henry Weller's avatar
      tmp: Improved reference count checks to provide better error diagnostics · c02bf70e
      Henry Weller authored
      in case of tmp misuse.
      
      Simplified tmp reuse pattern in field algebra to use tmp copy and
      assignment rather than the complex delayed call to 'ptr()'.
      
      Removed support for unused non-const 'REF' storage of non-tmp objects due to C++
      limitation in constructor overloading: if both tmp(T&) and tmp(const T&)
      constructors are provided resolution is ambiguous.
      
      The turbulence libraries have been upgraded and '-DCONST_TMP' option
      specified in the 'options' file to switch to the new 'tmp' behavior.
      c02bf70e
  12. Jan 22, 2015
  13. Aug 01, 2013
  14. Jul 28, 2013
  15. Nov 27, 2012
  16. Jul 03, 2012
  17. Dec 20, 2011
  18. Aug 14, 2011
  19. Jan 19, 2011
  20. Jan 14, 2011
  21. Jan 07, 2011
  22. Jan 05, 2011
  23. Dec 30, 2010
  24. Dec 22, 2010
  25. Dec 17, 2010
  26. Jul 28, 2010
  27. Mar 29, 2010
  28. Nov 30, 2009
  29. Aug 03, 2009
  30. Jul 24, 2009
  31. Jul 23, 2009
  32. Jul 22, 2009
  33. Jul 21, 2009