mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
particle: Corrected the direction of tracking when passing through an
AMI. Applied the transformation.
This commit is contained in:
@ -420,10 +420,12 @@ void Foam::particle::hitCyclicAMIPatch
|
||||
facei_ = tetFacei_ = receiveFacei + receiveCpp.start();
|
||||
|
||||
// Locate the particle on the recieving side
|
||||
vector directionT = direction;
|
||||
cpp.reverseTransformDirection(directionT, sendFacei);
|
||||
locate
|
||||
(
|
||||
pos,
|
||||
&direction,
|
||||
&directionT,
|
||||
mesh_.faceOwner()[facei_],
|
||||
false,
|
||||
"Particle crossed between " + cyclicAMIPolyPatch::typeName +
|
||||
|
||||
Reference in New Issue
Block a user