Skip to content
Snippets Groups Projects
Commit 0f37016a 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 12ddfd90
Branches
Tags
1 merge request!144Integration openfoam.org
......@@ -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 +
......
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