1. 29 May, 2009 1 commit
  2. 20 May, 2009 1 commit
  3. 19 May, 2009 3 commits
    • Mark Olesen's avatar
      adjust solvers and utilities to use new argList methods · d1295da3
      Mark Olesen authored
      - also drop various unused time options from src/OpenFOAM/include
      d1295da3
    • Mark Olesen's avatar
      argList enhancement: added convenience methods for accessing options · 724b034c
      Mark Olesen authored
      Oriented somewhat on dictionary methods.
      
      Return the argument string associated with the named option:
          Info<< "-foo: " << args.option("foo") << nl;
      
      Return true if the named option is found
          if (args.optionFound("foo")) ...
      
      Return an IStringStream to the named option
          old:      value = readScalar(IStringStream(args.options()["foo"])());
          newer:    value = readScalar(args.optionLookup("foo")());
          also:     List<scalar> lst(args.optionLookup("foo")());
      
      Read a value from the named option
          newest:   value = args.optionRead<scalar>("foo");
      
      Read a value from the named option if present.
          old:  if (args.options().found("foo"))
                {
                    value = readScalar(IStringStream(args.options()["foo"])());
                }
          new:  args.optionReadIfPresent("foo", value);
      
      Read a List of values from the named option
          patches = args.optionReadList<word>("patches");
      
      Didn't bother adding optionReadListIfPresent<T>(const word&), since it
      probably wouldn't be common anyhow.
      724b034c
    • Mark Olesen's avatar
      HashTable minor iterator issues · 1d2a94c3
      Mark Olesen authored
      - made const_iterator::operator* and const_iterator::operator() const only
      - added const versions of iterator::operator* and iterator::operator()
      1d2a94c3
  4. 18 May, 2009 2 commits
    • Mark Olesen's avatar
      introduce readList<T> function · a0a9cd33
      Mark Olesen authored
      - Read a bracket-delimited list, or handle a single value as list of size 1.
        Mostly useful for handling command-line arguments.
        eg,
            if (args.options().found("patches"))
            {
                patches = readList<word>(IStringStream(args.options()["patches"])());
            }
        can handle both of these:
            -patches  patch0
            -patches \( patch1 patch2 patch3 \)
      a0a9cd33
    • Mark Olesen's avatar
      'rebrand' OSspecific Unix -> POSIX · 20c1a673
      Mark Olesen authored
      - change name of environment variable from $WM_OS -> $WM_OSTYPE
        as a better description
      20c1a673
  5. 11 May, 2009 1 commit
  6. 08 May, 2009 1 commit
    • Mark Olesen's avatar
      minor cleanup of turbulence models · 19d951ce
      Mark Olesen authored
      - added constructor dictionary(const dictionary*) that also handles NULL
        pointers and makes it convenient to construct from a possibly nonexistent
        sub-dictionary:
        eg,
            dictionary dict2(dict1.subDictPtr("someDict"));
      
      - make some of the turbulence Coeffs sub-dictionary optional.
        Their contents are all 'lookupOrAddDefault' anyhow.
      
      - in turbulentMixingLength BCs, skip namespace qualifier in template
        (eg, <RASModel> vs. <compressible::RASModel>)
      
      - change comments from 'turbulenceProperties' to RASProperties/LESProperties
      
      - consistency between compressible/incompressible - no separate file for
        'New' selector etc
      
      - consistency in accessing the model coefficients.
        Use method coeffDict() for const access.
        Use protected data member coeffDict_ for read/write access.
      
      - document model coefficients in etc/constant/RASProperties.
        Need the same for LESProperties before we can prune these from the
        tutorials.
      19d951ce
  7. 05 May, 2009 3 commits
    • henry's avatar
      Minor typo correction. · 01184dfb
      henry authored
      01184dfb
    • henry's avatar
      Made floatTransfer 0 by default. · ac37ed45
      henry authored
      ac37ed45
    • Mark Olesen's avatar
      adjusted dictionary #inputMode directive · 6e10b0de
      Mark Olesen authored
      - #inputMode error
        now issues a FatalError on duplicate entries
      
      - #inputMode warn
        issues a warning on duplicate entries, corresponds to the
        old behaviour of 'error'
      
      - #inputMode protect
        prevents overwriting existing entries
      
      The 'protect' mode provides a simple mechanism for supplying default values.
      eg,
          in file1:
              #inputMode  protect
              intensity       0.1;
              mixingLength    0.005;
              #inputMode  merge
      
              inlet
              {
                  type        turbulentIntensityKineticEnergyInlet;
                  intensity   $intensity;
              }
      
          which is included from file2:
      
              intensity   0.05;
              #include    "file1"
      6e10b0de
  8. 28 Apr, 2009 1 commit
  9. 27 Apr, 2009 1 commit
    • Mark Olesen's avatar
      consistency update · 48247a3d
      Mark Olesen authored
      - DynamicList gets append methods as per List
      - misc cosmetic changes
      48247a3d
  10. 23 Apr, 2009 1 commit
  11. 22 Apr, 2009 1 commit
  12. 21 Apr, 2009 1 commit
  13. 20 Apr, 2009 1 commit
  14. 16 Apr, 2009 1 commit
  15. 15 Apr, 2009 2 commits
  16. 14 Apr, 2009 1 commit
  17. 13 Apr, 2009 1 commit
  18. 09 Apr, 2009 2 commits
  19. 08 Apr, 2009 1 commit
  20. 07 Apr, 2009 1 commit
  21. 06 Apr, 2009 1 commit
  22. 30 Mar, 2009 1 commit
  23. 26 Mar, 2009 1 commit
  24. 24 Mar, 2009 1 commit
  25. 23 Mar, 2009 1 commit
  26. 20 Mar, 2009 2 commits
  27. 18 Mar, 2009 4 commits
  28. 16 Mar, 2009 2 commits