1. 29 Jun, 2020 1 commit
  2. 26 Jun, 2020 1 commit
  3. 25 Jun, 2020 1 commit
  4. 24 Jun, 2020 2 commits
  5. 22 Jun, 2020 3 commits
  6. 19 Jun, 2020 1 commit
    • Mark Olesen's avatar
      ENH: add foamHasLibrary to test for availability of libraries (#1735) · 2dcbc09b
      Mark Olesen authored
      - For some cases it can be helpful to test if additional libraries can
        be properly resolved.
        This can be useful in scripts to test for additional capability:
            if foamHasLibrary geometricVoF
            then ...
        But also directly from the command-line to help resolve configuration
            foamHasLibrary -verbose petscFoam
        Could not load "petscFoam"
        libpetsc.so.3.13: cannot open shared object file: No such file or directory
  7. 17 Jun, 2020 3 commits
    • Mark Olesen's avatar
      ENH: lumped point motion using local linear basic functions (#1341) · b0136d83
      Mark Olesen authored
      - the earlier implementation of externally controlled lumped point
        motion (see merge request !120 and OpenFOAM-v1706 release notes) was
        conceived for the motion of simple structures such as buildings or
        simple beams. The motion controller was simply defined in terms of
        an orientation axis and divisions along that axis.
        To include complex structures, multiple motion controllers are
        defined in terms of support points and connectivity.
        The points can have additional node Ids associated with them, which
        makes it easier to map to/from FEA models.
        OLD system/lumpedPointMovement specification
            //- Reference axis for the locations
            axis            (0 0 1);
            //- Locations of the lumped points
            locations       (0 0.05 .. 0.5);
        NEW system/lumpedPointMovement specification
            // Locations of the lumped points
                (0  0  0.00)
                (0  0  0.05)
                (0  0  0.50)
            //- Connectivity for motion controllers
                    pointLabels (0 1 2 3 4 5 6 7 8 9 10);
        And the controller(s) must be associated with the given
        pointDisplacement patch. Eg,
               type            lumpedPointDisplacement;
               value           uniform (0 0 0);
               controllers     ( vertical );   // <-- NEW
      TUT: adjust building motion tutorial
      - use new controllor definitions
      - replace building response file with executable
      - add updateControl in dynamicMeshDict for slowly moving structure
    • OpenFOAM bot's avatar
    • Mark Olesen's avatar
      STYLE: update tutorials · 5982a1aa
      Mark Olesen authored
      - use simpler decomposeParDict in tutorials, several had old
        'boilerplate' decomposeParDict
      - use simpler libs () format
      - update surface sampling to use dictionary format
  8. 16 Jun, 2020 1 commit
  9. 15 Jun, 2020 1 commit
  10. 11 Jun, 2020 3 commits
  11. 10 Jun, 2020 5 commits
  12. 09 Jun, 2020 1 commit
    • Henning Scheufler's avatar
      CONT: Addition of compressibleIsoInterFOam and PLIC · 44a84d47
      Henning Scheufler authored
         1) Implementation of the compressibleIsoInterFOam solver
         2) Implementation of a new PLIC interpolation scheme.
         3) New tutorials associated with the solvers
      This implementation was carried out by Henning Scheufler (DLR) and Johan
      Roenby (DHI), following :
      Henning Scheufler, Johan Roenby,
      Accurate and efficient surface reconstruction from volume fraction data
      on general meshes, Journal of Computational Physics, 2019, doi
      The integration of the code was carried out by Andy Heather and Sergio
      Ferraris from OpenCFD Ltd.
  13. 08 Jun, 2020 1 commit
  14. 05 Jun, 2020 4 commits
  15. 04 Jun, 2020 3 commits
    • Mark Olesen's avatar
      ENH: add blockMesh -write-vtk option · fec5093c
      Mark Olesen authored
      - generates a vtk file in an ASCII, XML format (blockTopology.vtu).
        More information than the equivalent obj file since it includes
        connectivity, cell shapes and cell IDs (equivalent to the block
    • Mark Olesen's avatar
      ENH: boolVector for specialized bundling of boolean values · ea4c8f4b
      Mark Olesen authored
      - bundled of boolean values as a vector of 3 components with
        element access using x(), y() and z() member functions.
        It also has some methods similar to bitSet.
      - Not derived from Vector or VectorSpace since it does not share very
        many vector-like characteristics.
    • Mark Olesen's avatar
      ENH: additional polynomial constructors, improved I/O · bc9e97cf
      Mark Olesen authored
      - support construct from initializer_list, which can help simplify
        code with constant coefficients.
      - add default constructor for polynomialFunction and Istream reading
        to support resizable lists of polynomialFunction.
        A default constructed polynomialFunction is simply equivalent to
        a constant zero.
      - no special IO handling for Polynomial required,
        it is the same as VectorSpace anyhow.
  16. 03 Jun, 2020 1 commit
    • sergio's avatar
      COM: Separate htc FO from general FO and reactingEuler solvers (#1714) · 95f7ed03
      sergio authored
      The phase systems tables for multiphase solvers create conflict
      between each other as they are defined in the same namespace and using
      similar class names.
      Therefore a special htc function object for reactingEulerSolver was
      added (reactingEulerHtcModel), located under
      This commit includes the following:
      - Relocate solvers/reactingEulerFoam functionObjects to
      - Remove links for fieldFunctionObject to multiphase libs to avoid
      - New FO for htc for reactingEulerFoam called reactingEulerHtcModel
  17. 02 Jun, 2020 3 commits
    • 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).
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      ENH: support predicate checks for argList (similar to dictionary methods) · 31b17221
      Mark Olesen authored
      - Favour use of argList methods that are more similar to dictionary
        method names with the aim of reducing the cognitive load.
        * Silently deprecate two-parameter get() method in favour of the
          more familiar getOrDefault.
        * Silently deprecate opt() method in favour of get()
        These may be verbosely deprecated in future versions.
  18. 29 May, 2020 5 commits
    • Mark Olesen's avatar
      STYLE: include scalar.H instead of floatScalar.H/doubleScalar.H separately · 727ea48e
      Mark Olesen authored
      STYLE: adjust code comments
    • Mark Olesen's avatar
      ENH: add swallow assignment to nullObject · 1d2391e0
      Mark Olesen authored
      - similar to the behaviour of std::ignore and consistent with the
        no input / no output nature of nullObject. Similarly accept a
        const reference for its Istream operator.
      - make most nullObject methods constexpr
    • Mark Olesen's avatar
      ENH: inline and extend clockValue, clockTime · e3367dbd
      Mark Olesen authored
      - mostly wraps std::chrono so can inline much of it, which is potentially
        helpful when used for inner timings.
      - add elapsedTime() method for direct cast to double and for
        naming similarity with wall-clock method.
      Potential breaking change (minor):
      - clockValue construct with a bool parameter is now simply tagged
        dispatch (value is ignored) and always queries the current clock
        value. This avoids needless branching.
        Since this constructor form has primarily been used internally (eg,
        clockTime), breakages in user code are not expected.
    • Mark Olesen's avatar
      STYLE: use Time::printExecutionTime() method · 45a05012
      Mark Olesen authored
      - makes format of ExecutionTime = ... output configurable (#788)
        and reduces code clutter.
    • Mark Olesen's avatar
      ENH: reduce dependencies for foamVersion.H · 5eebe505
      Mark Olesen authored
      - have printBuildInfo output to std::ostream
      - removed extraneous include "stdFoam.H"
      ENH: revert to pre-processor defines for hard-coded paths (#1712)
      - redundant information, but more robust at run-time without relying
        on initialization order