Skip to content
Snippets Groups Projects
  1. Oct 28, 2020
    • Mark OLESEN's avatar
      ENH: support true/false, yes/no values for FOAM_ABORT (#1896) · 410d38b9
      Mark OLESEN authored
      - consistent with FOAM_SIGFPE etc.
      
      - centralize code as error::useAbort() static function to avoid
        scattering the logic throughout the code.
      
      ENH: also accept "0" and "1" string values for Switch
      
      - not the normal path for Switch input (eg, from a dictionary), but
        consistent with bool definitions and simplifies string parsing.
      
        This means that `FOAM_SIGFPE=1 application` will now also work.
      410d38b9
    • Mark OLESEN's avatar
      TUT: fix use of "constant/triSurface" etc (#1887) · 9eb73a92
      Mark OLESEN authored
      - use bracketed syntax (eg, "<constant>/triSurface") instead for
        implicit case resolution.
      9eb73a92
    • Mark OLESEN's avatar
      ENH: improve some efficiency in expressions · 5579e7a6
      Mark OLESEN authored
      - use refPtr to simplify some logic.
      - avoid copying field if an average will be used
      - initialize geometric fields with a uniform value instead of Zero
      - minor tweak of method names
      
      - apply bugfix #1889 (longer description elsewhere)
      5579e7a6
  2. Oct 22, 2020
    • Mark OLESEN's avatar
      ENH: additional options for transformPoints and surfaceRefineRedGreen · 51b24902
      Mark OLESEN authored
      - add -recentre option to shift points according to the bounding box
        centre before performing other operations
      
      - add -auto-origin to use the bounding box centre as the origin for
        rotations. Has lower priority than the -origin option.
      
      - surfaceTransformPoints now has distinct -read-scale, -write-scale
        options (as per surfaceMeshConvert). Silently accepts -scale as
        equivalent to -write-scale, for backwards compatibility and
        similarity with transformPoints
      
      - add -steps option for surfaceRefineRedGreen for successive
        refinement
      51b24902
    • Mark OLESEN's avatar
      STYLE: adjustments for code integration · 4f84aa53
      Mark OLESEN authored
      - adjust contributor names to include windows port
      
      BUG: bash script marked as sh (fixes #1890)
      4f84aa53
    • Ivor Clifford's avatar
      INT: polyline: new extrusion model · d8525f17
      Ivor Clifford authored
      Allows specification of extrusion path using blockMesh 'edges' syntax.
      See tutorials/mesh/extrudeMesh/polyline
      
      Contribution by Ivor Clifford/Paul Scherrer Institut
      d8525f17
  3. Oct 20, 2020
  4. Oct 19, 2020
    • Mark OLESEN's avatar
      ENH: add api/patch information to FatalError (#1880) · f425424e
      Mark OLESEN authored
      - can be useful when confronted with partial outputs
      
      - provision for redirecting error/warning
      f425424e
    • Mark OLESEN's avatar
      ENH: add ROOTGREAT constants (symmetry with ROOTSMALL) · 1071d413
      Mark OLESEN authored
      ENH: add some scalar constants for .org compatibility (#1881)
      
      Although it can very much be a moving target, it can prove partly
      useful to have some compatibility constants/methods.
      
      - The wholesale change of 'GREAT' -> 'great' etc (JAN-2018), makes
        user coding for multiple versions problematic. When
        COMPAT_OPENFOAM_ORG is defined, now define constants (aliases) named
        as per the openfoam.org version. Values, however, remain identical.
      
      - For type-safe dictionary value retrieval, we have the templated
        get<> methods added around NOV-2018 and deprecated the lookupType
        method.
      
        The .org version followed suit in NOV-2019, but opted for renaming
        the templated lookupType method as a templated 'lookup' method.
      
        Using this is discouraged, but allowed when COMPAT_OPENFOAM_ORG is
        defined.
      1071d413
  5. Oct 15, 2020
  6. Oct 13, 2020
  7. Oct 12, 2020
  8. Oct 08, 2020
  9. Oct 07, 2020
  10. Oct 06, 2020
  11. Oct 05, 2020
    • Mark OLESEN's avatar
      TUT: use new 'arc' specification in several tutorials · 121c69ef
      Mark OLESEN authored
      - in most cases this eliminates manually calculation of circumferential
        points.
      
      TUT: improve parameterization of sphere blockMeshDict
      
      - allow separate parameterization of radius, ratio of inner to outer,
        and the number of divisions in x/y/z and radial directions
      121c69ef
    • Mark OLESEN's avatar
      ENH: support arc edge specification with origin point · 1d08ed9b
      Mark OLESEN authored
      - The arc will frequently enclose an angle less than 180 degrees.
        For the case, it is possible to define the arc by its endpoints
        and its centre (origin) point. For example,
      
            arc 0 1 origin (0 0 0);
      
        When defined in the way, any discrepancy in the arc radius for the
        endpoints is resolved by adjusting the origin to ensure that the
        average radius is satisfied.
      
        It is also possible to specify a \em flatness factor as a multiplier
        of the radius. For example,
      
            arc 0 1 origin 1.1 (0 0 0);
      
      ENH: minor code cleanup for block edges
      
      ENH: expose point appending as polyList::concat
      1d08ed9b
    • Mark OLESEN's avatar
      ENH: relocate blockMesh polyMesh generation into library (for code reuse) · 8939a556
      Mark OLESEN authored
      STYLE: adjust blockMesh advanced/non-advanced options
      
      - make -merge-points "non-advanced" (for better exposure)
      - make -write-obj "advanced" (-write-vtk is preferred)
      8939a556
  12. Oct 02, 2020
  13. Oct 01, 2020
  14. Sep 30, 2020
  15. Sep 29, 2020