Skip to content
Snippets Groups Projects
  1. May 12, 2020
    • Mark OLESEN's avatar
      ENH: add 'subcommand' handling to wmake (#1693) · 9e3d0685
      Mark OLESEN authored
      - initial split of wmake-related commands into "plumbing" and
        "porcelain" akin to how git handles things.
      
      - wmakeBuildInfo (very low-level), now relocated to the wmake/scripts
        and accessible for the user as "wmake -build-info".
      
        This satisfies a long-standing desire to access build information
        in a fashion similar to the api/patch information.
      
      CONFIG: avoid git information when building with a debian/ directory
      
      - when a 'debian/' directory exists, there is a high probability that
        the '.git/' directory is from debian and not from OpenFOAM (ie,
        useless here). This corresponds to an implicit '-no-git', which has
        no effect when building from pristine sources.
      
      ENH: wmakeCheckPwd becomes scripts/wmake-check-dir
      
      - accessible for the user as "wmake -check-dir" and with 1 or 2
        directory names. A wmakeCheckPwd symlink left for compatibility.
      9e3d0685
    • Mark OLESEN's avatar
      ENH: wmakeLnInclude support for multiple dirs and -force option (#1693) · 8bd9f41e
      Mark OLESEN authored
      STYLE: minor changes to makefiles
      8bd9f41e
  2. May 11, 2020
  3. May 08, 2020
  4. May 07, 2020
  5. May 06, 2020
  6. May 05, 2020
  7. May 04, 2020
    • Mark OLESEN's avatar
      ENH: use topological merge as default for blockMesh (closes #1589) · 8756791b
      Mark OLESEN authored
      - faster and fewer issues with high aspect ratio cells.
      
      - `blockMesh -merge-geometric` for old behaviour
      8756791b
    • Mark OLESEN's avatar
      TUT: illustrate inverse expansion ratio in a few places · 8d29896f
      Mark OLESEN authored
      - see commit 7da0b5be
      8d29896f
    • Mark OLESEN's avatar
      ENH: support token conversion of scalar to label (#1696) · 77a2c1b5
      Mark OLESEN authored
      - this specifically arises in the case we have used the `#eval` syntax
        to generate a value.
        However, since the expressions produce scalar/vector/tensor etc, the
        tokenized value will *not* be introduced into the dictionary as a
        label, even if it appears to be an integer value.
      
        Eg, eval "2*5", eval "sqrt(100)" both yield `scalar(100)`, which
        will not be suitable for any consumer expecting a label value.
      
        With the `#calc` version, this problem is glossed over since it uses a
        string buffer for the output (which can suppress the decimal)
        and re-parses the string into tokens, which causes a label to be
        recognized.
      
      - Since we obviously already support implicit handling of ints as
        floats (when reading), now also allow conversion of float
        representations of integral values.
      
        Uses the ad hoc value of 1e-4 for deciding if the value deviates too
        far from being integral.
      
      - As a side-effect, can now also support scientific notation when
        specifying integers.  Eg, (10 100 1e+3) for cell counts.
      77a2c1b5
    • Mark OLESEN's avatar
      STYLE: some general spelling fixes · 8cfb4830
      Mark OLESEN authored
      8cfb4830
  8. May 01, 2020
  9. Apr 30, 2020
  10. Apr 29, 2020
    • Kutalmış Berçin's avatar
      ENH: add directionalMeshWave functionality · ea16cb4b
      Kutalmış Berçin authored
        For a given point within a given mesh, the existing `meshWave` method gives
        the orthogonal distance to a patch. In meshes with very steep terrain (e.g.
        a hill of 90 [deg], this might be problematic for the fields that require
        the distance to the patch associated with the terrain surface.
      
        `directionalMeshWave` is a variant of `meshWave` distance-to-patch method,
        which ignores the component in the specified direction. Can be used e.g. to
        calculate the distance in the z-direction only.
      
        TUT: add example of directionalMeshWave to mesh/moveDynamicMesh/SnakeCanyon
      
        Requirement by CENER
        Implementation by Mattijs Janssens
      ea16cb4b
  11. Apr 28, 2020