mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
revert to reading surfaces from constant so parallel works out of the box
This commit is contained in:
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user