openfoam/applications/utilities/preProcessing/mapFields
Will Bainbridge 743dea87d2 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 08:03:44 +01:00
..
Make ENH: parallel: added -decomposeParDict option to 2015-11-24 17:35:18 +00:00
createTimes.H mapFields: reset the FOAM_CASE environment variable 2016-09-17 14:53:15 +01:00
MapConsistentVolFields.H ENH: glboal file handling: initial commit 2016-01-25 13:03:15 +00:00
mapFields.C STYLE: use MUST_READ consistently for decomposeParDict 2016-11-24 11:26:03 +01:00
mapFieldsDict STYLE: Consistency in Copyright statement 2016-06-27 22:38:50 +01:00
mapLagrangian.C Lagrangian: Rewrite of the particle tracking algorithm to function in 2017-04-28 08:03:44 +01:00
mapLagrangian.H mapFields: Reinstated mapFields from OpenFOAM-2.2.x and renamed the current mapFields -> mapFieldsPar 2015-05-26 11:32:46 +01:00
MapLagrangianFields.H Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
MapMeshes.H mapFields: Reinstated mapFields from OpenFOAM-2.2.x and renamed the current mapFields -> mapFieldsPar 2015-05-26 11:32:46 +01:00
MapVolFields.H ENH: glboal file handling: initial commit 2016-01-25 13:03:15 +00:00
setTimeIndex.H mapFields: Reinstated mapFields from OpenFOAM-2.2.x and renamed the current mapFields -> mapFieldsPar 2015-05-26 11:32:46 +01:00
UnMapped.H mapFields: Reinstated mapFields from OpenFOAM-2.2.x and renamed the current mapFields -> mapFieldsPar 2015-05-26 11:32:46 +01:00