cyclicAMI with transformations not supported for wall distance
Summary
Wall distance uses internally the FaceCellWave class. This operates on cyclicAMI on a slice of the face-based data, i.e. it modifies in-place the face-based data. This means that when the neighbour patch gets evaluated it operates on the modified data and this gives problems.
- only with cyclicAMI, cyclic is ok
- only if transformations are applied
Steps to reproduce
Below case is a hack of the pipeCyclic tutorial. It puts additional walls inside the domain (see ./Allrun script). Run checkMesh -writeFields '(wallDistance)'
to trigger wall distance evaluation. It will give an error about same transformation applied with different signs.
Example case
What is the current bug behaviour?
Error inside globalIndexAndTransform.
What is the expected correct behavior?
Relevant logs and/or images
Environment information
- OpenFOAM version :v2212