SwirlFanVelocity not working on new OF versions
Summary
I was busy testing the workflow to model a fan using cyclic boundary conditions. I used the "fan" and "swirlFanVelocity" boundary conditions. I got the "fan" boundary condition to work but not the "swirlFanVelocity" boundary condition. I was using OpenFOAM 2312 when I tested this workflow. Without changing anything in the OpenFOAM case directory, I ran it using OpenFOAM 2306 and then everything worked. Again without changing anything, I also tested it using OpenFOAM 2406 but then the "swirlFanVelocity" did not work.
Steps to reproduce and Example case
I have attached the OpenFOAM Case Files "SwirlVelocityTest_OFcom.zip" with everything you need to rerun the case. All the shell scripts are there to:
- mesh all (blockMesh and snappyHexMesh)
- preprocess (createBaffles - Cyclic patches)
- solve "buoyantSimpleFoam"
- reconstruct solution.
- clear solution
- clear processors
Just source the respective OpenFOAM version (2306, 2312, and 2406)
What is the current bug behaviour?
No swirl is created at the cyclic slave patch when using OpenFOAM 2312 and 2406. But it works when using OpenFOAM 2306.
What is the expected correct behavior?
Swirl should be created at the cyclic slave patch.
Relevant logs and/or images
None
Environment information
- OpenFOAM version : v2406|v2312|v2306
- Operating system : Ubuntu 22.04.2 LTS
- Hardware info : 64GB RAM, 12th Gen Intel i5-12500H, 2500Mhz 12 core(s) (HP Victus Gaming Laptop)
- Compiler : I think gcc
Possible fixes
None
SwirlVelocityTest_OFcom.zip