ENH: region models - updated writing of output properties

This commit is contained in:
andy
2013-12-10 16:30:43 +00:00
parent 08ab6f9a20
commit 792d1f4bcf

View File

@ -158,7 +158,7 @@ void Foam::regionModels::regionModel::initialise()
uniformPath/regionName_,
primaryMesh_,
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
IOobject::NO_WRITE
)
)
);
@ -543,6 +543,16 @@ void Foam::regionModels::regionModel::evolve()
info();
Info<< endl << decrIndent;
}
if (time_.outputTime())
{
outputProperties().writeObject
(
IOstream::ASCII,
IOstream::currentVersion,
time_.writeCompression()
);
}
}
}