Commit 04c11064 authored by Will Bainbridge's avatar Will Bainbridge Committed by Andrew Heather
Browse files

particle: Corrected the direction of tracking when passing through an

AMI. Applied the transformation.
parent 655741b8
......@@ -444,10 +444,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 +
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment