Lagrangian: problematic tracking with dynamic meshes
When using a dynamic mesh solver, the tracking of a particle may be wrong: the particle may not cross an internal face when it is moving parallel to other one. Particle rescues are not enough.
I attach a solver "dMeshSprayFoam" (based on sprayDyMFoam but it only updates the mesh and evolved the particles) and a simple case named "EjemploMM". I also attach a video which shows the particle tracking problem.
After investigating the problem I found that it starts in line 175 of particleI.H: "tetPointRef tet00 = tetIs.oldTet(mesh_)". This tetrahedron has a problem in its first point which is an oldCellCenter calculated in line 89 of tetIndicesI.H.
I think that there is an issue with the memory reference of this point.