Skip to content
Snippets Groups Projects
  1. Jul 13, 2017
    • Will Bainbridge's avatar
      lagrangian: Corrected patch data · e274e08b
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The KinematicCloud::patchData method has been made consistent on moving
      meshes and/or when the time-step is being sub-cycled.
      
      It has also been altered to calculate the normal component of a moving
      patch's velocity directly from the point motions. This prevents an
      infinite loop occuring due to inconsistency between the velocity used to
      calculate a rebound and that used when tracking.
      
      Some minor style improvements to the particle class have also been made.
      e274e08b
  2. Jul 05, 2017
    • Will Bainbridge's avatar
      ParticleCollector: Prevented missing and duplicate collections · c9b37446
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The particle collector was collecting some particles twice due to a
      tolerance extending the tracked path. This has been removed. The new
      tracking algorithm does not generate the same sorts of spurious
      tolerance-scale motions that the old one did, so this extension of the
      tracking path is unnecessary.
      
      Some particles were also not being collected at all as they were hitting
      a diagonal of the collection polygon and registering as not having hit
      either of the adjacent triangles. The hit criteria has been rewritten. A
      hit now occurs when the normals of the triangles created by joining the
      intersection point with the polygon edges are all in the same direction
      as the overall polygon normal. This calculation is not affected by the
      polygon's diagonals.
      
      The issue was raised by, and resolved with support from, Karl Meredith
      at FM Global.
      
      This resolves bug-report https://bugs.openfoam.org/view.php?id=2595
      c9b37446
  3. Jun 06, 2017
    • Will Bainbridge's avatar
      interpolation: Optimise by using particle local coordinates · 6b316ba3
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      This change changes the point-tetIndices-face interpolation function
      method to take barycentric-tetIndices-face arguments instead. This
      function is, at present, only used for interpolating Eulerian data to
      Lagrangian particles.
      
      This change prevents an inefficiency in cellPointInterpolation whereby
      the position of the particle is calculated from it's barycentric
      coordinates, before immediately being converted back to barycentric
      coordinates to perform the interpolation.
      6b316ba3
  4. Jun 01, 2017
    • Will Bainbridge's avatar
      MPPIC: Optimised the averaging methods · 7a02a507
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The averaging methods now take the particle barycentric coordinates as
      inputs rather than global positions. This change significantly optimises
      Dual averaging, which is the most commonly used method. The run time of
      the lagrangian/MPPICFoam/Goldschmidt tutorial has been reduced by a
      factor of about two.
      7a02a507
    • Will Bainbridge's avatar
      tetIndices: Removed duplicate logic · e9fb8b85
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The logic for generating tetrahedra from a face base point and an offset
      was duplicated in a few places. It is now confined to the tetIndices
      class.
      e9fb8b85
  5. Jun 27, 2017
  6. Jun 19, 2017
  7. May 22, 2017
  8. May 04, 2017
  9. May 03, 2017
  10. Apr 28, 2017
    • Henry Weller's avatar
      particle: Avoid warning about uninitialized edge · d75eb944
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      d75eb944
    • Will Bainbridge's avatar
      Lagrangian: Rewrite of the particle tracking algorithm to function in · 743dea87
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      terms of the local barycentric coordinates of the current tetrahedron,
      rather than the global coordinate system.
      
      Barycentric tracking works on any mesh, irrespective of mesh quality.
      Particles do not get "lost", and tracking does not require ad-hoc
      "corrections" or "rescues" to function robustly, because the calculation
      of particle-face intersections is unambiguous and reproducible, even at
      small angles of incidence.
      
      Each particle position is defined by topology (i.e. the decomposed tet
      cell it is in) and geometry (i.e. where it is in the cell). No search
      operations are needed on restart or reconstruct, unlike when particle
      positions are stored in the global coordinate system.
      
      The particle positions file now contains particles' local coordinates
      and topology, rather than the global coordinates and cell. This change
      to the output format is not backwards compatible. Existing cases with
      Lagrangian data will not restart, but they will still run from time
      zero without any modification. This change was necessary in order to
      guarantee that the loaded particle is valid, and therefore
      fundamentally prevent "loss" and "search-failure" type bugs (e.g.,
      2517, 2442, 2286, 1836, 1461, 1341, 1097).
      
      The tracking functions have also been converted to function in terms
      of displacement, rather than end position. This helps remove floating
      point error issues, particularly towards the end of a tracking step.
      
      Wall bounded streamlines have been removed. The implementation proved
      incompatible with the new tracking algorithm. ParaView has a surface
      LIC plugin which provides equivalent, or better, functionality.
      
      Additionally, bug report <https://bugs.openfoam.org/view.php?id=2517>
      is resolved by this change.
      743dea87
  11. Sep 21, 2017
  12. Sep 18, 2017
  13. Sep 15, 2017
  14. Sep 12, 2017
  15. Sep 11, 2017
  16. Sep 08, 2017
  17. Sep 07, 2017
  18. Sep 06, 2017
  19. Aug 31, 2017
  20. Aug 30, 2017