quick fix for multiple dynamicFvMeshes in multiple regions

This commit is contained in:
Oliver Borm (boroli) 2011-05-03 18:38:58 +02:00
parent 4a271dbf06
commit 42ab698cea

View file

@ -41,6 +41,7 @@ Foam::autoPtr<Foam::dynamicFvMesh> Foam::dynamicFvMesh::New(const IOobject& io)
(
"dynamicMeshDict",
io.time().constant(),
(io.name() == dynamicFvMesh::defaultRegion ? "" : io.name() ),
io.db(),
IOobject::MUST_READ,
IOobject::NO_WRITE,