mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: blockMesh: Always put the mesh in the constant directory
This commit is contained in:
committed by
Andrew Heather
parent
f37ec93404
commit
13d893e4c0
@ -401,8 +401,10 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
Info<< nl << "Detected cyclic patches; ordering boundary faces"
|
||||
<< endl;
|
||||
const word oldInstance = mesh.instance();
|
||||
polyTopoChange meshMod(mesh);
|
||||
meshMod.changeMesh(mesh, false);
|
||||
mesh.setInstance(oldInstance);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user