locationInMesh specified in shmDict being ignored in favor of locationsInMesh
I am having issues with snappy in 1706 - locationsInMesh is being used despite shmDict specifying locationInMesh.
We mesh automotive geometries, where we want a MRF cellZone for brake discs. These brake ducts have dozens of independent volume channels where a centroid can be outside the volume (total=100s per car), so specifying all locationsInMesh can't be automated - we use the original functionality of defining bounds to these channels via STL geometry. In all versions before 1706 this works fine.
However, in 1706, despite specifying locationInMesh and then providing the geometry for cellZones, locationsInMesh is what shows up in shm's log. Strangely, the faceZones are created, and are not empty. The MRF cellZones are also created, but no cells are assigned to them. I checked the extended code guide, where it shows both locationInMesh and locationsInMesh can be used, so I suspect this could be a bug?
snappyHexMeshDict:
allowFreeStandingZoneFaces true; locationInMesh (-1.5 -0.5 1.5);
internal_fluid_l_mrf_fr_wheel
{
level (8 8);
faceZone internal_l_mrf_fr_wheel;
faceType internal;
cellZone fluid_l_mrf_fr_wheel;
cellZoneInside inside;
}
log from snappy (anomolies to previous versions in boxes)
I've attached a small test case, just run the run_snappy.sh to reproduce (runs in minutes.) Log from when I run it locally is also attached.