Commit 8fed88a2 authored by mattijs's avatar mattijs
Browse files

BUG: fvMesh: support for multi-region moving meshes. Fixes #1170.

parent 7b648948
......@@ -271,7 +271,7 @@ Foam::fvMesh::fvMesh(const IOobject& io)
// Check the existence of the cell volumes and read if present
// and set the storage of V00
if (fileHandler().isFile(time().timePath()/"V0"))
if (fileHandler().isFile(time().timePath()/dbDir()/"V0"))
{
V0Ptr_ = new DimensionedField<scalar, volMesh>
(
......@@ -292,7 +292,7 @@ Foam::fvMesh::fvMesh(const IOobject& io)
// Check the existence of the mesh fluxes, read if present and set the
// mesh to be moving
if (fileHandler().isFile(time().timePath()/"meshPhi"))
if (fileHandler().isFile(time().timePath()/dbDir()/"meshPhi"))
{
phiPtr_ = new surfaceScalarField
(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment