decomposePar -fields -copyZero - unexpected behaviour
Unexpected behaviour when using
decomposePar -fields -copyZero to propagate a serial zero directory to pre-existing processor directories.
If the processors also have a pre-existing zero directory (for example containing fields from
snappyHexMesh) then the above command will copy the serial zero directory itself into those directories, rather than copying the contents.
Ending up with
processor0/0/0 for example.
I appreciate there are workarounds,
restore0Dir for example, but this seemed like incorrect behaviour in this case.
Steps to reproduce
- mesh the
motorbiketutorial in parallel
- copy 0.orig to 0
decomposePar -fields -copyZero
What is the current bug behaviour?
decomposePar -fields -copyZero copies the serial zero directory into pre-existing
What is the expected correct behavior?
decomposePar -fields -copyZero copies the contents of the serial zero directory into pre-existing
- OpenFOAM version : v2106
- Operating system : Ubuntu / Docker
- Hardware info : Mac
- Compiler : Pre-Compiled Binaries / Docker images
Related issue: #2236