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();
|
facei_ = tetFacei_ = receiveFacei + receiveCpp.start();
|
||||||
|
|
||||||
// Locate the particle on the recieving side
|
// Locate the particle on the recieving side
|
||||||
|
vector directionT = direction;
|
||||||
|
cpp.reverseTransformDirection(directionT, sendFacei);
|
||||||
locate
|
locate
|
||||||
(
|
(
|
||||||
pos,
|
pos,
|
||||||
&direction,
|
&directionT,
|
||||||
mesh_.faceOwner()[facei_],
|
mesh_.faceOwner()[facei_],
|
||||||
false,
|
false,
|
||||||
"Particle crossed between " + cyclicAMIPolyPatch::typeName +
|
"Particle crossed between " + cyclicAMIPolyPatch::typeName +
|
||||||
|
|||||||
Reference in New Issue
Block a user