Skip to content
Snippets Groups Projects
  1. Dec 06, 2021
  2. Dec 02, 2021
  3. Jun 02, 2020
    • 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. Oct 31, 2019
  5. Oct 01, 2019
  6. Jun 12, 2019
  7. Jun 07, 2019
    • 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
  8. Feb 06, 2019
  9. Oct 16, 2018
  10. Oct 18, 2018
    • Mark OLESEN's avatar
      ENH: cleanup of Enum class · 3b745122
      Mark OLESEN authored
      - more dictionary-like methods, enforce keyType::LITERAL for all
        lookups to avoid any spurious keyword matching.
      
      - new readEntry, readIfPresent methods
      
      - The get() method replaces the now deprecate lookup() method.
      
      - Deprecate lookupOrFailsafe()
        Failsafe behaviour is now an optional parameter for lookupOrDefault,
        which makes it easier to tailor behaviour at runtime.
      
      - output of the names is now always flatted without line-breaks.
        Thus,
      
           os << flatOutput(someEnumNames.names()) << nl;
           os << someEnumNames << nl;
      
        both generate the same output.
      
      - Constructor now uses C-string (const char*) directly instead of
        Foam::word in its initializer_list.
      
      - Remove special enum + initializer_list constructor form since
        it can create unbounded lookup indices.
      
      - Removd old hasEnum, hasName forms that were provided during initial
        transition from NamedEnum.
      
      - Added static_assert on Enum contents to restrict to enum or
        integral values.  Should not likely be using ...
      3b745122
  11. Aug 10, 2017
  12. Nov 02, 2017
  13. Jul 03, 2017
  14. May 29, 2017
    • Mark OLESEN's avatar
      ENH: cleanup of NamedEnum · fb497164
      Mark OLESEN authored
      - Remove the unused enums() method since it delivers wholly unreliable
        results. It is not guaranteed to cover the full enumeration range,
        but only the listed names.
      
      - Remove the unused strings() method.
        Duplicated functionality of the words(), but was never used.
      
      - Change access of words() method from static to object.
        Better code isolation. Permits the constructor to take over
        as the single point of failure for bad input.
      
      - Add values() method
      
      - do not expose internal (HashTable) lookup since it makes it more
        difficult to enforce constness and the implementation detail should
        not be exposed. However leave toc() and sortedToc() for the interface.
      
      STYLE: relocated NamedEnum under primitives (was containers)
      
      - internal typedef as 'value_type' for some consistency with STL conventions
      fb497164
  15. Feb 10, 2017
  16. Nov 20, 2016
  17. Sep 23, 2016
  18. May 31, 2016
  19. May 21, 2016
  20. Apr 25, 2016
  21. Nov 11, 2015
  22. Jun 24, 2015
  23. Jan 21, 2015
    • Henry's avatar
      Updated the whole of OpenFOAM to use the new templated TurbulenceModels library · 2aec2496
      Henry authored
      The old separate incompressible and compressible libraries have been removed.
      
      Most of the commonly used RANS and LES models have been upgraded to the
      new framework but there are a few missing which will be added over the
      next few days, in particular the realizable k-epsilon model.  Some of
      the less common incompressible RANS models have been introduced into the
      new library instantiated for incompressible flow only.  If they prove to
      be generally useful they can be templated for compressible and
      multiphase application.
      
      The Spalart-Allmaras DDES and IDDES models have been thoroughly
      debugged, removing serious errors concerning the use of S rather than
      Omega.
      
      The compressible instances of the models have been augmented by a simple
      backward-compatible eddyDiffusivity model for thermal transport based on
      alphat and alphaEff.  This will be replaced with a separate run-time
      selectable thermal transport model framework in a few weeks.
      
      For simplicity and ease of maintenance and further development the
      turbulent transport and wall modeling is based on nut/nuEff rather than
      mut/muEff for compressible models so that all forms of turbulence models
      can use the same wall-functions and other BCs.
      
      All turbulence model selection made in the constant/turbulenceProperties
      dictionary with RAS and LES as sub-dictionaries rather than in separate
      files which added huge complexity for multiphase.
      
      All tutorials have been updated so study the changes and update your own
      cases by comparison with similar cases provided.
      
      Sorry for the inconvenience in the break in backward-compatibility but
      this update to the turbulence modeling is an essential step in the
      future of OpenFOAM to allow more models to be added and maintained for a
      wider range of cases and physics.  Over the next weeks and months more
      turbulence models will be added of single and multiphase flow, more
      additional sub-models and further development and testing of existing
      models.  I hope this brings benefits to all OpenFOAM users.
      
      Henry G. Weller
      2aec2496
  24. May 20, 2014
  25. May 19, 2014
  26. Apr 04, 2013
  27. Feb 06, 2013
  28. Dec 03, 2012
  29. Aug 23, 2012
  30. Jul 03, 2012
  31. May 30, 2012
    • Henry's avatar
      Thermodynamics: Rationalization · dead8ec0
      Henry authored
      At the specie level:
          hs = sensible enthalpy
          ha = absolute (what was total) enthalpy
          es = sensibly internal energy
          ea = absolute (what was total) internal energy
      
      At top-level
          Rename total enthalpy h -> ha
          Rename sensible enthalpy hs -> h
      
      Combined h, hs, e and es thermo packages into a single structure.
      
      Thermo packages now provide "he" function which may return either enthalpy or
      internal energy, sensible or absolute according to the run-time selected form
      
      alphaEff now returns the effective diffusivity for the particular energy which
      the thermodynamics package is selected to solve for.
      dead8ec0
    • Henry's avatar
      Thermodynamics: Rationalization · 63da3e9a
      Henry authored
      At the specie level:
          hs = sensible enthalpy
          ha = absolute (what was total) enthalpy
          es = sensibly internal energy
          ea = absolute (what was total) internal energy
      
      At top-level
          Rename total enthalpy h -> ha
          Rename sensible enthalpy hs -> h
      
      Combined h, hs, e and es thermo packages into a single structure.
      
      Thermo packages now provide "he" function which may return either enthalpy or
      internal energy, sensible or absolute according to the run-time selected form
      
      alphaEff now returns the effective diffusivity for the particular energy which
      the thermodynamics package is selected to solve for.
      63da3e9a
  32. May 08, 2012
  33. Aug 14, 2011
  34. Jan 19, 2011
  35. Jan 14, 2011