mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: region models - updated writing of output properties
This commit is contained in:
@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user