diff --git a/src/finiteArea/faMesh/faMesh.C b/src/finiteArea/faMesh/faMesh.C index bb9d84f8e..ed16ca329 100644 --- a/src/finiteArea/faMesh/faMesh.C +++ b/src/finiteArea/faMesh/faMesh.C @@ -262,7 +262,7 @@ Foam::faMesh::faMesh(const polyMesh& pMesh) // Calculate the geometry for the patches (transformation tensors etc.) boundary_.calcGeometry(); - if (isFile(pMesh.time().timePath()/pMesh.dbDir()/"S0")) + if (isFile(pMesh.time().timePath()/"S0")) { S0Ptr_ = new DimensionedField ( @@ -811,7 +811,7 @@ Foam::faMesh::faMesh // Calculate the geometry for the patches (transformation tensors etc.) boundary_.calcGeometry(); - if (isFile(mesh().time().timePath()/mesh().dbDir()/"S0")) + if (isFile(mesh().time().timePath()/"S0")) { S0Ptr_ = new DimensionedField ( @@ -1292,7 +1292,7 @@ bool Foam::faMesh::movePoints() const if (debug) { InfoIn("bool faMesh::movePoints() const") - << "Creating old cell volumes." << endl; + << "Creating old face areas." << endl; } S0Ptr_ = new DimensionedField diff --git a/src/finiteArea/faMesh/faMeshUpdate.C b/src/finiteArea/faMesh/faMeshUpdate.C index c9be0b4dc..bed1e1b3e 100644 --- a/src/finiteArea/faMesh/faMeshUpdate.C +++ b/src/finiteArea/faMesh/faMeshUpdate.C @@ -237,7 +237,6 @@ void Foam::faMesh::mapOldAreas(const faMeshMapper& mapper) const } } } - }