OpenFOAM-5.x/src/OpenFOAM
Will Bainbridge 371762757d Lagrangian: Rewrite of the particle tracking algorithm to function in
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.
2017-04-28 09:25:10 +01:00
..
algorithms indexedOctree: Corrected comment 2016-11-05 21:00:16 +00:00
containers Updated UPstream::commsTypes to use the C++11 enum class 2017-03-10 19:54:55 +00:00
db The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
dimensionedTypes Removed trailing blank lines 2017-01-19 20:17:47 +00:00
dimensionSet C++11: Replaced the C NULL with the safer C++11 nullptr 2016-08-05 17:19:38 +01:00
fields FieldFieldFunctionsM: Corrected macro names and order for binary functions 2017-04-12 14:33:45 +01:00
global Updated UPstream::commsTypes to use the C++11 enum class 2017-03-10 19:54:55 +00:00
graph Change field loop index from "fieldI" to "fieldi" 2016-05-02 18:20:48 +01:00
include fileModification: time checking now with nano-second precision 2016-11-25 15:36:10 +00:00
interpolations Rationalized the keyword to specify a file name in a dictionary to 'file' 2017-01-07 09:38:54 +00:00
Make Lagrangian: Rewrite of the particle tracking algorithm to function in 2017-04-28 09:25:10 +01:00
matrices SVD: Improved overflow/division protection. 2017-04-20 10:54:08 +01:00
memory autoPtr: Added assignment to pointer 2017-03-16 20:49:21 +00:00
meshes Lagrangian: Rewrite of the particle tracking algorithm to function in 2017-04-28 09:25:10 +01:00
primitives Lagrangian: Rewrite of the particle tracking algorithm to function in 2017-04-28 09:25:10 +01:00