1. 22 May, 2017 1 commit
  2. 18 May, 2017 1 commit
  3. 12 May, 2017 1 commit
  4. 08 May, 2017 3 commits
  5. 05 May, 2017 1 commit
  6. 04 May, 2017 1 commit
  7. 13 Jun, 2017 1 commit
  8. 18 May, 2017 1 commit
  9. 09 May, 2017 1 commit
  10. 03 May, 2017 1 commit
  11. 30 Apr, 2017 1 commit
  12. 16 Aug, 2017 1 commit
  13. 17 Jul, 2017 1 commit
  14. 16 Jul, 2017 2 commits
  15. 13 Jun, 2017 1 commit
  16. 18 May, 2017 1 commit
  17. 17 Jul, 2017 1 commit
  18. 13 Jul, 2017 1 commit
  19. 05 Sep, 2017 1 commit
  20. 17 Jul, 2017 1 commit
  21. 05 Sep, 2017 1 commit
  22. 06 Jun, 2017 1 commit
  23. 28 Apr, 2017 1 commit
    • Will Bainbridge's avatar
      tutorials/lagrangian: Added mixedVesselAMI2D · 643ef331
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      This tutorial demonstrates moving mesh and AMI with a Lagrangian cloud.
      It is very slow, as interaction lists (required to compute collisions)
      are not optimised for moving meshes. The simulation time has therefore
      been made very short, so that it finishes in a reasonable time. The
      mixer only completes a small fraction of a rotation in this time. This
      is still sufficient to test tracking and collisions in the presence of
      AMI and mesh motion.
      
      In order to generate a convincing animation, however, the end time must
      be increased and the simulation run for a number of days.
      643ef331
  24. 22 Aug, 2017 1 commit
  25. 16 Aug, 2017 1 commit
    • Will Bainbridge's avatar
      KinematicParcel: Apply in-cell updates before hitting the face · 3f510323
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The evolution of a KinematicParcel happens in three stages; (1) tracking
      across the cell, (2) interaction with the face or patch that has been
      hit, and (3) clculation and and update of parcel and cell properties.
      The KinematicParcel used to evolve in this order, as steps 1 and 2 were
      part of the same lower level method. This meant that the update stage
      was done after interacting with the face, meaning the parcel was not in
      the cell that had just been tracked through, or, by means of a patch
      interaction, had been modified such that it was no longer representative
      of the track through the cell.
      
      With the separation of stages 1 and 2 in the base class, it is now
      possible to do the update stage before interacting with the face (i.e.,
      proceeding in the order 1, 3, 2). This makes the state consistent for
      the updates, and avoids the issues described.
      
      Patch contributed by Timo Niemi, VTT.
      This resolves bug report https://bugs.openfoam.org/view.php?id=2282
      3f510323
  26. 11 Aug, 2017 2 commits
  27. 09 Aug, 2017 1 commit
    • Will Bainbridge's avatar
      Lagrangian: Enabled tracking through ACMI patches and minor code improvements · 9b57ef06
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      Particle collisions with ACMI patches are now handled. The hit detects
      whether the location is within the overlap or the coupled region and
      recurses, calling the hit routine appropriate for the region.
      
      The low level tracking methods are now more consistently named. There is
      now a distinction between tracking to a face and hitting it. Function
      object side effects have been moved out of the base layer and into the
      parcels on which they are meaningful.
      9b57ef06
  28. 07 Aug, 2017 1 commit
  29. 02 Aug, 2017 1 commit
    • Will Bainbridge's avatar
      lagrangian: Always set switchProcessor flag · 0a97c3fc
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The TrackData::switchProcessor flag was not being set for some of the
      tracking steps made by the more complicated parcels. In the case that a
      parcel starts the step already on a processor boundary, this sometimes
      lead to the particle being transferred back and forth indefinitely. The
      flag is now explicitly set in all cases.
      0a97c3fc
  30. 31 Jul, 2017 1 commit
  31. 18 Jul, 2017 1 commit
    • Will Bainbridge's avatar
      lagrangian: Fixed infinite loops · a4762ea6
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      Tracking through an inverted region of the mesh happens in a reversed
      direction relative to a non-inverted region. Usually, this allows the
      tracking to propagate normally, regardless of the sign of the space.
      However, in rare cases, it is possible for a straight trajectory to form
      a closed loop through both positive and negative regions. This causes
      the tracking to loop indefinitely.
      
      To fix this, the displacement through inverted regions has been
      artifically increased by a small amount (1% at the moment). This has the
      effect that the change in track fraction over the negative part of the
      loop no longer exactly cancels the change over the positive part, and
      the track therefore terminates.
      a4762ea6
  32. 13 Jul, 2017 1 commit
    • 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
  33. 05 Jul, 2017 1 commit
    • 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
  34. 06 Jun, 2017 1 commit
    • 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
  35. 01 Jun, 2017 2 commits
    • 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