diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C index 6f086523dd..9a0825ac91 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C +++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C @@ -203,8 +203,8 @@ int main(int argc, char *argv[]) IOobject ( "abc", // dummy name - //mesh.time().constant(), // instance - mesh.time().findInstance("triSurface", word::null),// instance + mesh.time().constant(), // instance + //mesh.time().findInstance("triSurface", word::null),// instance "triSurface", // local mesh.time(), // registry IOobject::MUST_READ, diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C index 3c2221f8d0..1612a23dea 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C @@ -225,7 +225,9 @@ Foam::autoHexMeshDriver::autoHexMeshDriver IOobject ( "abc", // dummy name - mesh_.time().findInstance("triSurface", word::null),// inst + //mesh_.time().findInstance("triSurface", word::null), + // instance + mesh_.time().constant(), // instance "triSurface", // local mesh_.time(), // registry IOobject::MUST_READ, diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoRefineDriver.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoRefineDriver.C index 0ac24a5574..a9b31b9bd1 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoRefineDriver.C +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoRefineDriver.C @@ -78,8 +78,9 @@ Foam::label Foam::autoRefineDriver::readFeatureEdges IOobject ( featFileName, // name - mesh.time().findInstance("triSurface", featFileName), - // instance + //mesh.time().findInstance("triSurface", featFileName), + // // instance + mesh.time().constant(), // instance "triSurface", // local mesh.time(), // registry IOobject::MUST_READ,