blockMesh: Always put the mesh in the constant directory

This commit is contained in:
Will Bainbridge
2017-12-19 09:58:51 +00:00
parent 21c26d7eee
commit 9293df9804

View File

@ -397,8 +397,10 @@ int main(int argc, char *argv[])
{ {
Info<< nl << "Detected cyclic patches; ordering boundary faces" Info<< nl << "Detected cyclic patches; ordering boundary faces"
<< endl; << endl;
const word oldInstance = mesh.instance();
polyTopoChange meshMod(mesh); polyTopoChange meshMod(mesh);
meshMod.changeMesh(mesh, false); meshMod.changeMesh(mesh, false);
mesh.setInstance(oldInstance);
} }
} }