stitchMesh: Do not write the meshModifiers file with the "overwrite" option

This commit is contained in:
Henry Weller
2018-04-24 14:04:26 +01:00
parent 4e0081d231
commit 484c16a5da

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -471,6 +471,7 @@ int main(int argc, char *argv[])
{
mesh.setInstance(oldInstance);
stitcher.instance() = oldInstance;
stitcher.writeOpt() = IOobject::NO_WRITE;
}
Info<< nl << "Writing polyMesh to time " << runTime.timeName() << endl;