Skip to content
Snippets Groups Projects
  1. Oct 04, 2018
  2. Sep 28, 2018
    • Will Bainbridge's avatar
      meshSearch: Prevent hang in calculation of line-boundary intersections · 911ea108
      Will Bainbridge authored
      This fix changes how the intersections loop ignores previously
      intersected faces. It now marks them by their index so that subsequent
      iterations ignore them.
      
      Before this change, after an intersection was found the start point was
      advanced by a small amount to move the past the intersection. The
      problem with this was if multiple boundary faces or the end point were
      in close proximity to the intersection then the move forward might span
      them. This could lead to intersections being missed or counted multiple
      times, in some cases indefinitely.
      
      Based on a patch contributed by Mattijs Janssens
      Resolves bug report https://bugs.openfoam.org/view.php?id=1147
      911ea108
  3. Oct 03, 2018
  4. Oct 04, 2018
  5. Oct 03, 2018
  6. Oct 01, 2018
  7. Sep 26, 2018
  8. Sep 28, 2018
  9. Sep 27, 2018
  10. Sep 26, 2018
  11. Sep 25, 2018
  12. Sep 21, 2018
  13. Sep 20, 2018
  14. Sep 25, 2018
    • Mark OLESEN's avatar
      ENH: allow new patch names in subsetMesh (issue #1019) · d0da21fe
      Mark OLESEN authored
      Previously had 3 possibilities for handling exposed internal faces
      
        1. use default "oldInternalFaces"
        2. specify -patch, to use the specified (existing) patch
        3. specify -patches, to use the geometrically closest patches
      
      Now relaxed the restriction on -patch to allow specification of a new
      (not yet existing) patch name. This improves flexibility, but won't
      catch typing mistakes.
      
      Harmonize behaviour of -patches and -patch. When -patches is used to
      specify a single, non-regex patch name, it now behaves identically to
      -patch. Since the getList handling for options already allows special
      treatment for single parameter lists, the following will work
      identically:
      
            subsetMesh -patch  patch0
            subsetMesh -patches patch0
            subsetMesh -patches '( patch0 )'
      
      In the future it might be reasonable to fully combine the behaviour of
      '-patch' and '-patches' and treat them as aliases for each other.
      
      ENH: support subsetMesh on a cellZone.
      
      - when the '-zone' option is specified, the command argument is treated
        as the name (or names) of cellZones to be selected instead of as the
        name of the cellSet.
      
        The command argument can be a single word, regex, or list of
        word/regex.
        Eg,
      
            subsetMesh -zone -patch mypatch  mixer
            subsetMesh -zone -patch mypatch  '(mixer "moving.*" )'
      
      STYLE: simplify set handling and other code cleanup in subsetMesh
      d0da21fe
  15. Sep 21, 2018
  16. Sep 19, 2018
  17. Sep 18, 2018
  18. Sep 19, 2018
    • Mark OLESEN's avatar
      ENH: improve distanceSurface handling (issue #1012) · 4aa94bd1
      Mark OLESEN authored
      - 'signed' input parameter only mandatory for distance > 0.
        A distance <= 0 is always signed and the input parameter is ignored.
      
      - Use normal distance when distance == 0. This has no effect when
        the surface has no open edges, but improves on rounding issues
        around the zero crossing when the surface has open edges.
      
        This may still need future revisiting.
      4aa94bd1
  19. Sep 14, 2018
    • Mark OLESEN's avatar
      ENH: refactor cutting-plane cell selection · 9973c378
      Mark OLESEN authored
      - avoid duplicate code by relocating cellZone selection and bounding box
        sub-selection into cuttingPlane and cuttingSurfaceBaseSelection.
        Allows reuse by inherited classes (sampledPlane, surfMeshSamplePlane).
      9973c378