blockMesh: Always put the mesh in the constant directory
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user