mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
particle: Corrected the direction of tracking when passing through an
AMI. Applied the transformation.
This commit is contained in:
committed by
Andrew Heather
parent
655741b804
commit
04c11064b3
@ -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 +
|
||||
|
||||
Reference in New Issue
Block a user