Skip to content
Snippets Groups Projects
Commit 792d1f4b authored by andy's avatar andy
Browse files

ENH: region models - updated writing of output properties

parent 08ab6f9a
Branches
Tags
No related merge requests found
...@@ -158,7 +158,7 @@ void Foam::regionModels::regionModel::initialise() ...@@ -158,7 +158,7 @@ void Foam::regionModels::regionModel::initialise()
uniformPath/regionName_, uniformPath/regionName_,
primaryMesh_, primaryMesh_,
IOobject::READ_IF_PRESENT, IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE IOobject::NO_WRITE
) )
) )
); );
...@@ -543,6 +543,16 @@ void Foam::regionModels::regionModel::evolve() ...@@ -543,6 +543,16 @@ void Foam::regionModels::regionModel::evolve()
info(); info();
Info<< endl << decrIndent; Info<< endl << decrIndent;
} }
if (time_.outputTime())
{
outputProperties().writeObject
(
IOstream::ASCII,
IOstream::currentVersion,
time_.writeCompression()
);
}
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment