polyDualMesh does not preserve cellZones, making it incompatible with chtMultiRegionFoam
Summary
polyDualMesh running on a tetrahedral mesh does not preserve cellzones, thus when splitMeshRegions is used, the cellZones are not preserved
Steps to reproduce
In this github repo: https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube/tree/master/chtMultiregionFoam/heatExchangers/expt_onePipeHeatExchg_salome
run:
ideasUnvToFoam cht_onePipeHeatExchg.unv
polyDualMesh 75 -overwrite
splitMeshRegions -cellZones
touch case.foam
You'll see that the cellZones are not preserved and heat exchanger mesh is split into more regions than just the shell, tube and copper.
Example case
see above
What is the current bug behaviour?
see above
What is the expected correct behavior?
mesh should be split correctly into 3 regions, not 7.
Relevant logs and/or images
Environment information
Providing details of your set-up can help us identify any issues, e.g.
OpenFOAM version : v1912
Operating system : Linux Mint 20 Ulyana (ubuntu 20.04 focal)
Hardware info : -
Compiler : -