BUG: foamyHexMesh: write to own processor file in parallel

This commit is contained in:
laurence
2013-09-02 14:16:46 +01:00
parent c60419e850
commit bf68378389

View File

@ -1487,8 +1487,13 @@ void Foam::conformalVoronoiMesh::move()
// Save displacements to file.
if (foamyHexMeshControls().objOutput() && time().outputTime())
{
Pout<< "Writing point displacement vectors to file." << endl;
OFstream str("displacements_" + runTime_.timeName() + ".obj");
Info<< "Writing point displacement vectors to file." << endl;
OFstream str
(
time().path()
+ "displacements_" + runTime_.timeName()
+ ".obj"
);
for
(