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
|
IOobject
|
||||||
(
|
(
|
||||||
"abc", // dummy name
|
"abc", // dummy name
|
||||||
//mesh.time().constant(), // instance
|
mesh.time().constant(), // instance
|
||||||
mesh.time().findInstance("triSurface", word::null),// instance
|
//mesh.time().findInstance("triSurface", word::null),// instance
|
||||||
"triSurface", // local
|
"triSurface", // local
|
||||||
mesh.time(), // registry
|
mesh.time(), // registry
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ,
|
||||||
|
|||||||
@ -225,7 +225,9 @@ Foam::autoHexMeshDriver::autoHexMeshDriver
|
|||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
"abc", // dummy name
|
"abc", // dummy name
|
||||||
mesh_.time().findInstance("triSurface", word::null),// inst
|
//mesh_.time().findInstance("triSurface", word::null),
|
||||||
|
// instance
|
||||||
|
mesh_.time().constant(), // instance
|
||||||
"triSurface", // local
|
"triSurface", // local
|
||||||
mesh_.time(), // registry
|
mesh_.time(), // registry
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ,
|
||||||
|
|||||||
@ -78,8 +78,9 @@ Foam::label Foam::autoRefineDriver::readFeatureEdges
|
|||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
featFileName, // name
|
featFileName, // name
|
||||||
mesh.time().findInstance("triSurface", featFileName),
|
//mesh.time().findInstance("triSurface", featFileName),
|
||||||
// instance
|
// // instance
|
||||||
|
mesh.time().constant(), // instance
|
||||||
"triSurface", // local
|
"triSurface", // local
|
||||||
mesh.time(), // registry
|
mesh.time(), // registry
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ,
|
||||||
|
|||||||
Reference in New Issue
Block a user