1. 07 Jan, 2019 1 commit
  2. 02 Aug, 2017 1 commit
  3. 17 Jul, 2017 1 commit
    • Mark Olesen's avatar
      ENH: make treatment of stream allocators more uniform (issue #532) · 41cfd4d0
      Mark Olesen authored
      - use allocator class to wrap the stream pointers instead of passing
        them into ISstream, OSstream and using a dynamic cast to delete
        then. This is especially important if we will have a bidirectional
        stream (can't delete twice!).
      
      STYLE:
      
      - file stream constructors with std::string (C++11)
      
      - for rewind, explicit about in|out direction. This is not currently
        important, but avoids surprises with any future bidirectional access.
      
      - combined string streams in StringStream.H header.
        Similar to <sstream> include that has both input and output string
        streams.
      41cfd4d0
  4. 24 May, 2017 1 commit
    • Mark Olesen's avatar
      ENH: paraview reader module with internal caching of the vtk geometries · 8d900264
      Mark Olesen authored
      - The reader module allows two levels of caching.
        The OpenFOAM fvMesh can be cached in memory, for faster loading of
        fields. Additionally, the translated VTK geometries are held in a
        local cache. The cached VTK geometries should incur no additional
        overhead since they use the VTK reference counting for their storage
        management.
      8d900264
  5. 14 May, 2017 3 commits
  6. 12 May, 2017 1 commit
  7. 24 Feb, 2017 1 commit
  8. 12 Jan, 2017 2 commits
    • Mark Olesen's avatar
      ENH: avoid deprecated paraview method SetImmediateUpdate() · 4b7d1e4e
      Mark Olesen authored
      - add support for patch names in block mesh reader.
      4b7d1e4e
    • Mark Olesen's avatar
      ENH: refactor paraview readers code to avoid duplication · ec944d4b
      Mark Olesen authored
      - as originally intended years ago, but never actually done.
      
      - use 'foamPvCore' instead of 'vtkPVReaders' to avoid potential name
        collisions with any 'vtk*' files and since we may reuse these
        functions in other foam-paraview modules (not just readers).
      
      STYLE: use same font size/colour for patch-names as for point-numbers
      
      BUG: repair issue with single time-step
      
      - paraview time-selector returns '0' as the requested time if there is
        only one time step. However, if we have skipped the 0/ directory,
        this single time step is likely a non-zero value.
      ec944d4b
  9. 04 Jan, 2017 1 commit
  10. 04 Nov, 2016 1 commit
  11. 11 Nov, 2016 1 commit
  12. 13 Oct, 2016 1 commit
    • Henry Weller's avatar
      blockMesh: New experimental support for projecting block face point to geometric surfaces · 6849670f
      Henry Weller authored
      For example, to mesh a sphere with a single block the geometry is defined in the
      blockMeshDict as a searchableSurface:
      
          geometry
          {
              sphere
              {
                  type searchableSphere;
                  centre (0 0 0);
                  radius 1;
              }
          }
      
      The vertices, block topology and curved edges are defined in the usual
      way, for example
      
          v 0.5773502;
          mv -0.5773502;
      
          a 0.7071067;
          ma -0.7071067;
      
          vertices
          (
              ($mv $mv $mv)
              ( $v $mv $mv)
              ( $v  $v $mv)
              ($mv  $v $mv)
              ($mv $mv  $v)
              ( $v $mv  $v)
              ( $v  $v  $v)
              ($mv  $v  $v)
          );
      
          blocks
          (
              hex (0 1 2 3 4 5 6 7) (10 10 10) simpleGrading (1 1 1)
          );
      
          edges
          (
              arc 0 1 (0 $ma $ma)
              arc 2 3 (0 $a $ma)
              arc 6 7 (0 $a $a)
              arc 4 5 (0 $ma $a)
      
              arc 0 3 ($ma 0 $ma)
              arc 1 2 ($a 0 $ma)
              arc 5 6 ($a 0 $a)
              arc 4 7 ($ma 0 $a)
      
              arc 0 4 ($ma $ma 0)
              arc 1 5 ($a $ma 0)
              arc 2 6 ($a $a 0)
              arc 3 7 ($ma $a 0)
          );
      
      which will produce a mesh in which the block edges conform to the sphere
      but the faces of the block lie somewhere between the original cube and
      the spherical surface which is a consequence of the edge-based
      transfinite interpolation.
      
      Now the projection of the block faces to the geometry specified above
      can also be specified:
      
          faces
          (
              project (0 4 7 3) sphere
              project (2 6 5 1) sphere
              project (1 5 4 0) sphere
              project (3 7 6 2) sphere
              project (0 3 2 1) sphere
              project (4 5 6 7) sphere
          );
      
      which produces a mesh that actually conforms to the sphere.
      
      See OpenFOAM-dev/tutorials/mesh/blockMesh/sphere
      
      This functionality is experimental and will undergo further development
      and generalization in the future to support more complex surfaces,
      feature edge specification and extraction etc.  Please get involved if
      you would like to see blockMesh become a more flexible block-structured
      mesher.
      
      Henry G. Weller, CFD Direct.
      6849670f
  13. 08 Oct, 2016 1 commit
  14. 05 Aug, 2016 1 commit
  15. 18 May, 2016 1 commit
  16. 10 Feb, 2016 1 commit
  17. 01 Aug, 2015 1 commit
  18. 17 Jun, 2013 1 commit
  19. 05 Apr, 2013 1 commit
  20. 17 Dec, 2012 1 commit
  21. 14 Aug, 2011 1 commit
  22. 25 Nov, 2010 1 commit
  23. 24 Nov, 2010 1 commit
  24. 27 Jul, 2010 1 commit
  25. 02 Jun, 2010 1 commit
  26. 30 Apr, 2010 1 commit
  27. 29 Mar, 2010 1 commit
  28. 30 Nov, 2009 1 commit
  29. 23 Nov, 2009 1 commit
    • Mark Olesen's avatar
      Commit Paraview enhancements - quit working on sets/zones frills · 4b82f942
      Mark Olesen authored
      - Include Sets/Zones now scans immediately to refresh the list of available
        mesh parts. Unfortunately, this also causes the object panel to be
        modified, even although the selection doesn't acutally need to change.
        This seems to be due to how the pqNamedWidgets are getting the information
        from the proxy properties. I can't figure if it's possible to acheive what
        I want, but we can probably live with the current implementation.
      
        After IncludeZones, simply us 'Reset' to undo the spurious GUI changes.
        Works fine - just looks a bit silly.
      
      - Added 'Refresh' button to rescan for new times/fields.  Good for
        post-processing ongoing calculations without exiting the reader.
      
      - Added 'Skip Zero Time' checkbox: many (some) calculations have
        data missing at time=0 (eg, rho, lagrangian, etc). This provides
        a convenient way to skip over this time.
      
      - Future?:
        We could probably pick up favourite default values for these switches from
        ~OpenFOAM/controlDict, from a case system/paraview, or simply by making
        the casename.OpenFOAM also be an OpenFOAM dictionary with the settings.
      4b82f942
  30. 22 Oct, 2009 1 commit
  31. 18 Oct, 2009 2 commits
    • Mark Olesen's avatar
      blockMesh reader fix, start refactoring of PV3Readers · 27bf7f96
      Mark Olesen authored
      - apply scaleFactor (eg, mm->m) in PV3 reader - this looks better when
        overlaying with other objects
      
      - stop segfault when paraview exits without deleting readers first
      27bf7f96
    • Mark Olesen's avatar
      Cleanup/fixup paraview readers · 7b6547ba
      Mark Olesen authored
      - remove patch/point text labels upon deletion
      
      - combined client/server plugin instead of separate .so files
        first experiment with adding panel decorations
      
      - directory reorganization
      7b6547ba
  32. 07 Oct, 2009 1 commit
  33. 05 Oct, 2009 1 commit