Skip to content
Snippets Groups Projects
  1. Nov 25, 2021
    • Mark OLESEN's avatar
    • Mark OLESEN's avatar
      f459b11e
    • Mark OLESEN's avatar
      CONFIG: add build information into shell session · bcf8a48c
      Mark OLESEN authored
      - more closely reflect what the binaries report
      - report the installation path
      - change PS1 case/separator to roughly correspond to package names
      
      STYLE: adjust README to mention upcoming v2112
      bcf8a48c
    • Mark OLESEN's avatar
      ENH: additional #word and #message dictionary directives (#2276) · 1804d3fe
      Mark OLESEN authored
      - use `#word` to concatenate, expand content with the resulting string
        being treated as a word token. Can be used in dictionary or
        primitive context.
      
        In dictionary context, it fills the gap for constructing dictionary
        names on-the-fly. For example,
      
        ```
        #word "some_prefix_solverInfo_${application}"
        {
            type    solverInfo;
            libs    (utilityFunctionObjects);
            ...
        }
        ```
      
        The '#word' directive will automatically squeeze out non-word
        characters. In the block content form, it will also strip out
        comments. This means that this type of content should also work:
      
        ```
        #word {
           some_prefix_solverInfo
           /* Appended with application name (if defined) */
           ${application:+_}  // Use '_' separator
           ${application}     // The application
        }
        {
            type    solverInfo;
            libs    (utilityFunctionObjects);
            ...
        }
        ```
        This is admittedly quite ugly, but illustrates its capabilities.
      
      - use `#message` to report expanded string content to stderr.
        For example,
      
        ```
        T
        {
           solver          PBiCG;
           preconditioner  DILU;
           tolerance       1e-10;
           relTol          0;
           #message "using solver: $solver"
        }
        ```
        Only reports on the master node.
      1804d3fe
    • Mark OLESEN's avatar
      BUG: missing unit-normal weighting for surfaceFieldValue (fixes #2273) · 55af2fc2
      Mark OLESEN authored
      - when using a vector field for weighting, it either used mag()
        or mag * area, but did not have a unit-normal projection version
      55af2fc2
  2. Nov 24, 2021
  3. Nov 23, 2021
  4. Nov 22, 2021
  5. Nov 17, 2021
  6. Nov 15, 2021
  7. Nov 11, 2021
  8. Nov 10, 2021
  9. Nov 09, 2021
    • Mark OLESEN's avatar
      ENH: distinguish between compressible/incompressible coded source · fd82f3e4
      Mark OLESEN authored
      - previously had codeAddSup used for both incompressible and
        compressible source terms. However, it was not actually possible to
        use it for compressible sources since any references to the 'rho'
        parameter would cause a compilation error for the incompressible case.
      
        Added 'codeAddSupRho' to distinguish the compressible case.
        User must supply one or both of them on input.
      fd82f3e4
    • Mark OLESEN's avatar
      ENH: additional dictionary controls, methods · 8638d823
      Mark OLESEN authored
      STYLE: declaration order of topoSet, resize_nocopy for sortedOrder
      
      STYLE: remove cstring dependency from SHA1
      
      STYLE: use Ostream endEntry()
      8638d823
    • Mark OLESEN's avatar
      ENH: update lemon version, wmake wrappers · 79e110ae
      Mark OLESEN authored
      79e110ae
    • Mark OLESEN's avatar
      ENH: additional decompose options · a78e7990
      Mark OLESEN authored
      - decomposePar: -no-fields to suppress decomposition of fields
      
      - makeFaMesh: -no-decompose to suppress creation of *ProcAddressing
        and fields, -no-fields to suppress decomposition of fields only
      a78e7990
    • Mark OLESEN's avatar
      ENH: simple detection for collapsed block descriptions · e8aa3aad
      Mark OLESEN authored
      - switch from default topology merge to point merge if degenerate
        blocks are detected. This should alleviate the problems noted in
        #1862.
      
        NB: this detection only works for blocks with duplicate vertex
            indices, not ones with geometrically duplicate points.
      
      ENH: add patch block/face summary in blockMesh generation
      
      - add blockMesh -verbose option to override the static or dictionary
        settings.  The -verbose option can be used multiple times to increase
        the verbosity.
      
      ENH: extend hexCell handling with more cellShape-type methods
      
      - allows better reuse in blockMesh.
        Remove blockMesh-local hex edge definitions that shadowed the
        hexCell values.
      
      ENH: simplify some of the block-edge internals
      e8aa3aad
    • Mark OLESEN's avatar
      ENH: add -verbose support into argList · 5a121119
      Mark OLESEN authored
      - similar to -dry-run handling, can be interrogated from argList,
        which makes it simpler to add into utilities.
      
      - support multiple uses of -dry-run and -verbose to increase the
        level. For example, could have
      
          someApplication -verbose -verbose
      
       and inside of the application:
      
          if (args.verbose() > 2) ...
      
      BUG: error with empty distributed roots specification (fixes #2196)
      
      - previously used the size of distributed roots to transmit if the
        case was running in distributed mode, but this behaves rather poorly
        with bad input. Specifically, the following questionable setup:
      
            distributed true;
            roots ( /*none*/ );
      
        Now transmit the ParRunControl distributed() value instead,
        and also emit a gentle warning for the user:
      
            WARNING: running distributed but did not specify roots!
      5a121119
    • Mark OLESEN's avatar
      ENH: portable scoping char for solver info names (#2224, #1675) · c45c649d
      Mark OLESEN authored
      COMP: implicit cast scope name to C++-string in IOobject::scopedName
      
      - handles 'const char*' and allows a check for an empty scope name
      
      COMP: avoid potential name conflict in local function (Istream)
      
      - reportedly some resolution issues (unconfirmed) with Fujitsu clang
      c45c649d
    • Andrew Heather's avatar
      COMP: adjust include guards · 9371c517
      Andrew Heather authored and Mark OLESEN's avatar Mark OLESEN committed
      9371c517