1. 25 Jun, 2020 1 commit
  2. 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
  3. 31 Oct, 2019 1 commit
  4. 30 Sep, 2019 1 commit
  5. 21 Feb, 2019 1 commit
  6. 06 Feb, 2019 3 commits
  7. 17 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: simplify objectRegistry access names (issue #322) · 8fabc325
      Mark Olesen authored
        New name:  findObject(), cfindObject()
        Old name:  lookupObjectPtr()
      
            Return a const pointer or nullptr on failure.
      
        New name:  findObject()
        Old name:  --
      
            Return a non-const pointer or nullptr on failure.
      
        New name:  getObjectPtr()
        Old name:  lookupObjectRefPtr()
      
            Return a non-const pointer or nullptr on failure.
            Can be called on a const object and it will perform a
            const_cast.
      
      - use these updated names and functionality in more places
      
      NB: The older methods names are deprecated, but continue to be defined.
      8fabc325
  8. 20 Jun, 2018 1 commit
  9. 15 Jun, 2018 1 commit
  10. 24 Apr, 2018 1 commit
    • Mark Olesen's avatar
      COMP: fix Darwin size ambiguities · 0dfda5f7
      Mark Olesen authored
      - size ambiguity for Foam::min(string::size_type, label)
      
      - stream operators for int16/uint16 which are needed for mode_t (Darwin)
      0dfda5f7
  11. 13 Jul, 2018 1 commit
  12. 22 Sep, 2017 1 commit
  13. 10 Aug, 2017 1 commit
  14. 07 Nov, 2017 1 commit
  15. 22 Jun, 2017 1 commit
  16. 19 Feb, 2017 1 commit
    • Henry Weller's avatar
      liquidThermo: rhoThermo instantiated on liquidProperties · f6dacfb4
      Henry Weller authored
      This allows single, multi-phase and VoF compressible simulations to be performed
      with the accurate thermophysical property functions for liquids provided by the
      liquidProperty classes.  e.g. in the
      multiphase/compressibleInterFoam/laminar/depthCharge2D tutorial water can now be
      specified by
      
      thermoType
      {
          type            heRhoThermo;
          mixture         pureMixture;
          properties      liquid;
          energy          sensibleInternalEnergy;
      }
      
      mixture
      {
          H2O;
      }
      
      as an alternative to the previous less accurate representation defined by
      
      thermoType
      {
          type            heRhoThermo;
          mixture         pureMixture;
          transport       const;
          thermo          hConst;
          equationOfState perfectFluid;
          specie          specie;
          energy          sensibleInternalEnergy;
      }
      
      mixture
      {
          specie
          {
              molWeight   18.0;
          }
          equationOfState
          {
              R           3000;
              rho0        1027;
          }
          thermodynamics
          {
              Cp          4195;
              Hf          0;
          }
          transport
          {
              mu          3.645e-4;
              Pr          2.289;
          }
      }
      
      However the increase in accuracy of the new simpler and more convenient
      specification and representation comes at a cost: the NSRDS functions used by
      the liquidProperties classes are relatively expensive to evaluate and the
      depthCharge2D case takes ~14% longer to run.
      f6dacfb4
  17. 30 Apr, 2016 1 commit
    • 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
  18. 28 Apr, 2016 1 commit
    • Henry Weller's avatar
      GeometricField::GeometricBoundaryField -> GeometricField::Boundary · ea5401c7
      Henry Weller authored
      When the GeometricBoundaryField template class was originally written it
      was a separate class in the Foam namespace rather than a sub-class of
      GeometricField as it is now.  Without loss of clarity and simplifying
      code which access the boundary field of GeometricFields it is better
      that GeometricBoundaryField be renamed Boundary for consistency with the
      new naming convention for the type of the dimensioned internal field:
      Internal, see commit 4a57b9be
      
      This is a very simple text substitution change which can be applied to
      any code which compiles with the OpenFOAM-dev libraries.
      ea5401c7
  19. 11 Nov, 2015 1 commit
  20. 03 Jul, 2013 1 commit
  21. 13 Mar, 2013 1 commit
  22. 05 Feb, 2013 2 commits
  23. 04 Dec, 2012 1 commit
  24. 05 Nov, 2012 1 commit
  25. 30 Sep, 2012 1 commit
  26. 27 Sep, 2012 1 commit
  27. 26 Sep, 2012 1 commit
  28. 19 Sep, 2012 1 commit
    • Henry's avatar
      Thermodynamics: Changed all eEqn to EEqn and reformulated to conserve E in sonic solvers · dbe48b48
      Henry authored
      To support these changes the need for "Sp" corrections on div-terms has been
      eliminated by introducing a "bounded" convection scheme which subtracts the Sp
      term from the selected scheme.  The equivalent will be needed for the ddt term.
      
      A warning message is generated for steady-state solvers in which the "bounded"
      scheme is not selected for the convection terms.
      dbe48b48
  29. 13 Sep, 2012 1 commit
  30. 23 Aug, 2012 2 commits
  31. 04 Jul, 2012 1 commit
  32. 03 Jul, 2012 1 commit
  33. 30 May, 2012 2 commits
    • Henry's avatar
      8a7f3737
    • 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
  34. 14 May, 2012 1 commit
  35. 16 Mar, 2012 1 commit