Skip to content
Snippets Groups Projects
  1. Dec 10, 2024
  2. Nov 22, 2024
    • Vaggelis Papoutsis's avatar
      BUG: optimisation convergence criteria misbehave w/o a line search (fixes #3268) · 8a508910
      Vaggelis Papoutsis authored
      When using the (optional) convergence criteria for the optimisation
      loop, adherence to them is checked in the postUpdate phase of the update
      of the design variables. If a line search is used, this means that the
      flow equations have been solved anew using the new design variables and
      the objective reduction check makes sense. If, however, no line search
      is used, the objective reduction check happens immediately after the
      update of the design variables and before re-solving the flow equations,
      giving a reduction in the objective function and terminating the
      optimisation loop prematurely.
      
      Solved by calling the convergence check directly after the solution of
      the flow equations, in case of a fixedStepUpdate
      8a508910
  3. Sep 03, 2024
  4. Jun 26, 2024
    • Mark OLESEN's avatar
      BUG: Nastran reading of free format truncates last field (fixes #3189) · 69b2a667
      Mark OLESEN authored
      - the old logic relied on the presence/absence of a comma to decide
        whether to parse as fixed or free format. This logic is faulty when
        handling the final (trailing) entry and will generally lead to the
        last field being truncated when read in.
        Now the caller decides on fixed vs free.
      
      FIX: inconsistent Nastran surface output format
      
      - use FREE format by default. Previously had an odd mix of SHORT
        format when created without options and LONG format (as default)
        when created with format options.
      69b2a667
  5. Jun 25, 2024
  6. Jun 24, 2024
  7. Jun 20, 2024
  8. Jun 19, 2024
  9. Jun 18, 2024
    • Andrew Heather's avatar
    • Kutalmış Berçin's avatar
      Merge branch 'feature-createViewFactors' into 'develop' · fb969272
      Kutalmış Berçin authored
      ENH: Added new createViewFactors utility
      
      See merge request !692
      fb969272
    • Andrew Heather's avatar
      ENH: Added new createViewFactors utility · ab5f6dbf
      Andrew Heather authored and Kutalmış Berçin's avatar Kutalmış Berçin committed
      Creates view factors for the view factor radiation model.
      
      User-selectable models:
      
      - raySearchEngine: model to generate rays, i.e. face-to-face connections
      - viewFactorModel: model to compute the view factors
      
      For visualisation, use:
      
      - Write the view factors as a volume field
      
          writeViewFactors    yes;
      
      - Write the rays using OBJ format:
      
          writeRays       yes; // default = no
      
      Participating patches must be in the \c vewFactorWall group, i.e. using the
      \c inGroups entry of the "\<case\>/polyMesh/boundary" file.
      
      \verbatim
      myPatch
      {
          type            wall;
          inGroups        2(wall viewFactorWall);
          ...
      }
      \endverbatim
      
      Reads:
      
      - <constant>/viewFactorsDict : main controls
      - <constant>/finalAgglom : agglomeration addressing (from faceAgglomerate)
      
      Generates:
      
      - <constant>/F : view factors (matrix)
      - <constant>/mapDist : map used for parallel running
      - <constant>/globalFaceFaces : face addressing
      ab5f6dbf
    • Mark OLESEN's avatar
      SUBMODULE: update visualization · 7c45670c
      Mark OLESEN authored
      - bugfix for parallel gather of patch values with serial rendering
      7c45670c
  10. Jun 14, 2024
    • Martin Lichtmes's avatar
      ENH: report average surface normal in surfaceInertia utility (#3184) · 58aa8c97
      Martin Lichtmes authored and Mark OLESEN's avatar Mark OLESEN committed
      - can be useful for various orientation-related geometry or mesh
        manipulations during pre-/post-processing:
        * combine with linearDirection to achieve better extrusion results.
        * orientation of transformations, blockMesh, result projections, ...
      
      STYLE: minor code modernizations
      
      Co-authored-by: Mark Olesen <>
      58aa8c97
  11. Jun 13, 2024
  12. Jun 12, 2024
  13. Jun 11, 2024
  14. Jun 10, 2024