Skip to content
Snippets Groups Projects
  1. Aug 02, 2021
  2. Jul 20, 2021
  3. Jul 17, 2021
    • Mark OLESEN's avatar
      BUG: word input is too strict (fixes #2160) · 40ff2acd
      Mark OLESEN authored
      - for v2106 restricted the input conversion of string types to disallow
        treating verbatim strings as possible word input.
        However, it was too strict in just allowing quoted strings
        and should have also permitted '$'-sigil variables as well.
      
      - ensure that errors for bad string -> word input conversion
        are raised from within the '>>' read operator. These were
        previously triggered during the stripping process, which
        made error tracing more difficult.
      40ff2acd
  4. Jul 15, 2021
  5. Jul 08, 2021
    • Mark OLESEN's avatar
      COMP: resolve abi:cxx11 linker issue (fixes #2147) · 028ca266
      Mark OLESEN authored
        Issue first shows up on gcc-11 with these types of library symbols:
      
           U Foam::tableReader<double>::dictionaryConstructorTablePtr_[abi:cxx11]
        xx B Foam::tableReader<double>::dictionaryConstructorTablePtr_
      
        Use concrete hasher functor for runtime selection tables, which
        avoids any additional template resolutions (introduced with
        95cd8ee7). The library symbols now resolve _without_ an
        additional abi:cxx11 tag.
      028ca266
  6. Jul 07, 2021
  7. Jun 28, 2021
  8. Jun 24, 2021
  9. Jun 23, 2021
  10. Jun 22, 2021
  11. Jun 21, 2021
  12. Jun 19, 2021
  13. Jun 18, 2021
    • Mark OLESEN's avatar
      Merge remote-tracking branch 'origin/master' into develop.mol · 521a9e4d
      Mark OLESEN authored
      CONFIG: set API level to 2106 in ramp-up for release
      521a9e4d
    • Mark OLESEN's avatar
      CONFIG: inline _foamEval within <etc/config.sh/setup> · e2148b58
      Mark OLESEN authored
      - previously a function (unlike the csh version) but since bashrc and
        setup have been split -> replace with inline definition
      
      STYLE: formatting/wording for openfoam starters
      
      TUT: simplify controlDict modification, add default substitution
      
      ENH: accept '/' for end-of-options terminator (etc/openfoam)
      
      - makes the application or service more apparent.
        * eg.  /usr/bin/openfoam / blockMesh
        * vs.  /usr/bin/openfoam -- blockMesh
      
        Accept lone '-' as the end-of-options terminator, as per bash
      
      - Adjust handling of openfoam '-c' option to flag that a command-string
        will appear, but continue with option parsing.
        Consistent with bash definition.
      e2148b58
    • Mark OLESEN's avatar
      ENH: add auto-detect 0/ to foamCleanTutorials · 7d2a9fad
      Mark OLESEN authored
      - in the 'auto' mode (now the default), it will use cleanCase and also
        remove the 0/ directory if a 0.orig/ directory also exists.
      
        This corresponds to a frequent idiom and can be used quite safely
        for most cases.
      
      ENH: add -serial / -parallel preference for foamRunTutorials
      7d2a9fad
    • Mark OLESEN's avatar
      TUT: add parallel version for various squareBend cases · 096b9dc5
      Mark OLESEN authored
      - adjust commented-out evaluation to avoid warnings.
      
        With code like this
        ```
        #if 0
        nxin    #eval{ round($nxin / 5) };
        #endif
        ```
      
        The handling of the "#if 0 / #endif" clause uses the plain ISstream
        parser to tokenize. This means that the "round(" is parsed as a word
        with a mismatched closing ')', whereas the "#eval" parser will slurp
        everything in until the closing brace and send it off as a string
        to the expression parser.
      096b9dc5
    • Getnet Agegnehu's avatar
      TUT: example of patch expressions (#2114) · a3d90ae9
      Getnet Agegnehu authored and Mark OLESEN's avatar Mark OLESEN committed
      a3d90ae9
    • Mark OLESEN's avatar
    • Andrew Heather's avatar
      Merge branch 'issue-2091-PDRFOAM-End' into 'develop' · f39fedb7
      Andrew Heather authored
      STYLE: PDRFOAM End of Program was inconsistent with other applications
      
      See merge request !447
      f39fedb7
    • HenningScheufler's avatar
      36dd86f8
    • Mattijs Janssens's avatar
      Merge branch 'feature-ami-face-area-intersect' into 'develop' · a9f55f06
      Mattijs Janssens authored
      AMI improvements
      
      See merge request !468
      a9f55f06
    • Andrew Heather's avatar
      ENH: AMI improvements · ba4d38da
      Andrew Heather authored and Mattijs Janssens's avatar Mattijs Janssens committed
      - Added new faceAreaWeightAMI2D AMIMethod:
        - performs intersection using a new 2D triangle class;
        - candidate face matches set using an AABBTree method (vs advancing front for
          faceAreaWeightAMI).
      
        - Use by setting the AMIMethod entry when specifying the AMI in the
          constant/polyMesh/boundary file, e.g.
      
              AMI
              {
                  type            cyclicACMI;
                  AMIMethod       faceAreaWeightAMI2D; // new method
                  Cbb             0.1; // optional coefficient
                  nFaces          1000;
                  startFace       100000;
                  matchTolerance  0.0001;
                  transform       noOrdering;
                  neighbourPatch  AMI1;
                  nonOverlapPatch AMI1_non_overlap;
              }
      
        - The optional Cbb coeffcient controls the size of the bounding box used when
          looking for candidate pairs; the value of 0.1 is the default and worked well
          for a large range of test cases. For badly matched AMI patches this may need
          to be increased.
      
      - Deprecated the partialFaceAreaWeightAMI class - primarily used by ACMI:
        - functionality now offered by the AMI variants.
      ba4d38da