BUG: faMesh: support for multi-region moving meshes. See #1170.

This commit is contained in:
mattijs
2019-03-04 11:00:52 +00:00
committed by Mark Olesen
parent ec93384c1d
commit aacb7b0c35

View File

@ -235,7 +235,7 @@ Foam::faMesh::faMesh(const polyMesh& pMesh)
// Calculate the geometry for the patches (transformation tensors etc.)
boundary_.calcGeometry();
if (isFile(pMesh.time().timePath()/"S0"))
if (isFile(pMesh.time().timePath()/mesh().dbDir()/"S0"))
{
S0Ptr_ = new DimensionedField<scalar, areaMesh>
(