1. 04 Jul, 2017 1 commit
  2. 03 Jul, 2017 1 commit
  3. 05 Jul, 2017 1 commit
  4. 03 Jul, 2017 1 commit
  5. 26 Jun, 2017 3 commits
  6. 23 Jun, 2017 1 commit
  7. 14 Jun, 2017 1 commit
    • mattijs's avatar
      Squashed commit of the following: · 7e6faf04
      mattijs authored
      commit 510b9353f8cb932a87f1588b17a4dea230c29d3c
      Author: mattijs <mattijs>
      Date:   Wed Jun 14 16:36:35 2017 +0100
      
          ENH: timeControl: propagate time-change logic from Time.C
      
      commit 6dc57a8f1e0e7605ea819deb6f11dd4b7874ff30
      Author: mattijs <mattijs>
      Date:   Thu Jun 1 11:28:56 2017 +0100
      
          ENH: timeControl: cleanup; avoid division by zero
      
      commit 5ac4bc2dd8c1f4676eef9d7a03215caba23a2e19
      Author: mattijs <mattijs>
      Date:   Wed May 31 12:04:52 2017 +0100
      
          ENH: timeControl: allow ramping down as well as up.
      
      commit a6b2db9e791f29258f04f3a9cbd6354aa468977d
      Author: mattijs <mattijs>
      Date:   Wed May 17 15:29:22 2017 +0100
      
          ENH: timeControl: limit any timestep change if deltaTCoeff enabled.
      
      commit 004115ee03a6637ae0d23cce303a30d1b3af046f
      Author: mattijs <mattijs>
      Date:   Wed May 17 11:40:26 2017 +0100
      
          ENH: setTimeStep: have timeStart, timeEnd controls on time step adjustment.
      
          Also added smoothly varying time step change (through optional deltaTCoeff)
      7e6faf04
  8. 26 May, 2017 1 commit
  9. 19 May, 2017 1 commit
  10. 18 May, 2017 1 commit
  11. 17 May, 2017 1 commit
    • Mark Olesen's avatar
      ENH: added classes() method to objectRegistry/IOobjectList · 9761e9d8
      Mark Olesen authored
      - provides a summary hash of classes used and their associated object names.
      
        The HashTable representation allows us to leverage various HashTable
        methods. This hashed summary view can be useful when querying
        particular aspects, but is most useful when reducing the objects in
        consideration to a particular subset. For example,
      
            const wordHashSet interestingTypes
            {
                volScalarField::typeName,
                volVectorField::typeName
            };
      
            IOobjectList objects(runTime, runTime.timeName());
            HashTable<wordHashSet> classes = objects.classes();
      
            classes.retain(interestingTypes);
      
            // Or do just the opposite:
            classes.erase(unsupportedTypes);
      
        Can also use the underlying HashTable filter methods
      
      STYLE: use templated internals to avoid findString() when matching subsets
      9761e9d8
  12. 16 May, 2017 1 commit
    • Mark Olesen's avatar
      ENH: cleanup wordRe interfaces etc. · a8d2ebf2
      Mark Olesen authored
      - ensure that the string-related classes have consistently similar
        matching methods. Use operator()(const std::string) as an entry
        point for the match() method, which makes it easier to use for
        filters and predicates. In some cases this will also permit using
        a HashSet as a match predicate.
      
      regExp
      ====
      - the set method now returns a bool to signal that the requested
        pattern was compiled.
      
      wordRe
      ====
      - have separate constructors with the compilation option (was previously
        a default parameter). This leaves the single parameter constructor
        explicit, but the two parameter version is now non-explicit, which
        makes it easier to use when building lists.
      
      - renamed compile-option from REGEX (to REGEXP) for consistency with
        with the <regex.h>, <regex> header names etc.
      
      wordRes
      ====
      - renamed from wordReListMatcher -> wordRes. For reduced typing and
        since it behaves as an entity only slightly related to its underlying
        list nature.
      
      - Provide old name as typedef and include for code transition.
      
      - pass through some list methods into wordRes
      
      hashedWordList
      ====
      - hashedWordList[const word& name] now returns a -1 if the name is is
        not found in the list of indices. That has been a pending change
        ever since hashedWordList was generalized out of speciesTable
        (Oct-2010).
      
      - add operator()(const word& name) for easy use as a predicate
      
      STYLE: adjust parameter names in stringListOps
      
      - reflect if the parameter is being used as a primary matcher, or the
        matcher will be derived from the parameter.
        For example,
            (const char* re), which first creates a regExp
            versus (const regExp& matcher) which is used directly.
      a8d2ebf2
  13. 15 May, 2017 1 commit
  14. 10 May, 2017 1 commit
  15. 25 Apr, 2017 2 commits
  16. 20 Apr, 2017 1 commit
    • Henry Weller's avatar
      The "<type>Coeffs" sub-dictionary is now optional for most model parameters · 5c518365
      Henry Weller authored
      except turbulence and lagrangian which will also be updated shortly.
      
      For example in the nonNewtonianIcoFoam offsetCylinder tutorial the viscosity
      model coefficients may be specified in the corresponding "<type>Coeffs"
      sub-dictionary:
      
      transportModel  CrossPowerLaw;
      
      CrossPowerLawCoeffs
      {
          nu0         [0 2 -1 0 0 0 0]  0.01;
          nuInf       [0 2 -1 0 0 0 0]  10;
          m           [0 0 1 0 0 0 0]   0.4;
          n           [0 0 0 0 0 0 0]   3;
      }
      
      BirdCarreauCoeffs
      {
          nu0         [0 2 -1 0 0 0 0]  1e-06;
          nuInf       [0 2 -1 0 0 0 0]  1e-06;
          k           [0 0 1 0 0 0 0]   0;
          n           [0 0 0 0 0 0 0]   1;
      }
      
      which allows a quick change between models, or using the simpler
      
      transportModel  CrossPowerLaw;
      
      nu0         [0 2 -1 0 0 0 0]  0.01;
      nuInf       [0 2 -1 0 0 0 0]  10;
      m           [0 0 1 0 0 0 0]   0.4;
      n           [0 0 0 0 0 0 0]   3;
      
      if quick switching between models is not required.
      
      To support this more convenient parameter specification the inconsistent
      specification of seedSampleSet in the streamLine and wallBoundedStreamLine
      functionObjects had to be corrected from
      
          // Seeding method.
          seedSampleSet   uniform;  //cloud; //triSurfaceMeshPointSet;
      
          uniformCoeffs
          {
              type        uniform;
              axis        x;  //distance;
      
              // Note: tracks slightly offset so as not to be on a face
              start       (-1.001 -0.05 0.0011);
              end         (-1.001 -0.05 1.0011);
              nPoints     20;
          }
      
      to the simpler
      
          // Seeding method.
          seedSampleSet
          {
              type        uniform;
              axis        x;  //distance;
      
              // Note: tracks slightly offset so as not to be on a face
              start       (-1.001 -0.05 0.0011);
              end         (-1.001 -0.05 1.0011);
              nPoints     20;
          }
      
      which also support the "<type>Coeffs" form
      
          // Seeding method.
          seedSampleSet
          {
              type        uniform;
      
              uniformCoeffs
              {
                  axis        x;  //distance;
      
                  // Note: tracks slightly offset so as not to be on a face
                  start       (-1.001 -0.05 0.0011);
                  end         (-1.001 -0.05 1.0011);
                  nPoints     20;
              }
          }
      5c518365
  17. 19 Apr, 2017 1 commit
  18. 18 Apr, 2017 1 commit
  19. 19 Apr, 2017 1 commit
  20. 10 Apr, 2017 1 commit
  21. 06 Apr, 2017 2 commits
  22. 30 Mar, 2017 1 commit
    • Mark Olesen's avatar
      ENH: various general improvments to the POSIX functions · 836d04ff
      Mark Olesen authored
      - ensure proper and sensible handling of empty names.
        Eg, isDir(""), isFile("") are no-ops, and avoid file-stat
      
      - rmDir:
        * optional 'silent' option to suppress messages.
        * removes all possible sub-entries, instead of just giving up on
          the first problem encountered.
      
      - reduced code duplication in etcFiles
      
      ENH: provide WM_USER_RESOURCE_DIRNAME define (in foamVersion.H)
      
      - this is still a hard-coded value, but at least centrally available
      836d04ff
  23. 21 Mar, 2017 2 commits
  24. 16 Mar, 2017 2 commits
  25. 10 Mar, 2017 1 commit
  26. 08 Mar, 2017 2 commits
    • Henry Weller's avatar
      Updated header · 14da5d4e
      Henry Weller authored
      14da5d4e
    • Henry Weller's avatar
      decomposePar: Added 'copyZero' option · 1be5f699
      Henry Weller authored
      Using
      
      decomposePar -copyZero
      
      The mesh is decomposed as usual but the '0' directory is recursively copied to
      the 'processor.*' directories rather than decomposing the fields.  This is a
      convenient option to handle cases where the initial field files are generic and
      can be used for serial or parallel running.  See for example the
      incompressible/simpleFoam/motorBike tutorial case.
      1be5f699
  27. 06 Mar, 2017 1 commit
  28. 03 Mar, 2017 1 commit
  29. 02 Mar, 2017 1 commit
    • Mark Olesen's avatar
      ENH: support operations on surfFields in surfaceFieldValue · 2853678a
      Mark Olesen authored
      - this makes it possible to perform additional operations
        on surface values that have been previously sampled.
      
      - support vectorField for weighting operations.
      
      - reduce overhead by avoiding creation of weight fields, Sf fields
        and combined surface geometries unless they are actually required.
      
      - extend some similar concepts and operations to volFieldValue
      2853678a
  30. 21 Mar, 2017 1 commit
  31. 10 Mar, 2017 2 commits
  32. 01 Mar, 2017 1 commit