CylicAMI incompatible with scaling of mesh
Summary
Hello, there is a bug regarding the cyclicAMI patches to be more precise regarding the separationVector (at least I think it commes from that). if we create a mesh that we assign a pair of cyclicAMI patches source and target, and we check the mesh, where we obtain correct AMI weights, if the we scale the mesh with transformPoints(I would guess that this behavior is the same one for the other transformations) the cyclicAMI breakes completly, even in the checkMesh output we can see that the weights are 0.
Steps to reproduce
create a mesh with snappyHexMesh use createPatch to create two cyclicAMI patches that are linked by "transform translational;" checkMesh to be sure that the AMI weights are correct scale the mesh using transformPoints -scale 1000 checkMesh again, the AMI weights will explode completly
Example case
What is the current bug behaviour?
the source cyclicAMI patch unlinks from its cyclicAMI target patch after scaling the mesh
What is the expected correct behavior?
the source and target cyclicAMI patches should stay linked even after doing a transformation of points
Relevant logs and/or images
Environment information
- OpenFOAM version :2206
- Operating system :ubuntu
- Hardware info :
- Compiler :