Skip to content
Snippets Groups Projects
Commit ee87ce89 authored by mattijs's avatar mattijs
Browse files

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

parent e5ce82ae
No related branches found
No related tags found
No related merge requests found
...@@ -271,7 +271,7 @@ Foam::fvMesh::fvMesh(const IOobject& io) ...@@ -271,7 +271,7 @@ Foam::fvMesh::fvMesh(const IOobject& io)
// Check the existence of the cell volumes and read if present // Check the existence of the cell volumes and read if present
// and set the storage of V00 // and set the storage of V00
if (fileHandler().isFile(time().timePath()/"V0")) if (fileHandler().isFile(time().timePath()/dbDir()/"V0"))
{ {
V0Ptr_ = new DimensionedField<scalar, volMesh> V0Ptr_ = new DimensionedField<scalar, volMesh>
( (
...@@ -292,7 +292,7 @@ Foam::fvMesh::fvMesh(const IOobject& io) ...@@ -292,7 +292,7 @@ Foam::fvMesh::fvMesh(const IOobject& io)
// Check the existence of the mesh fluxes, read if present and set the // Check the existence of the mesh fluxes, read if present and set the
// mesh to be moving // mesh to be moving
if (fileHandler().isFile(time().timePath()/"meshPhi")) if (fileHandler().isFile(time().timePath()/dbDir()/"meshPhi"))
{ {
phiPtr_ = new surfaceScalarField phiPtr_ = new surfaceScalarField
( (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment