mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Setting V0 to NO_WRITE, but registered in the database
This commit is contained in:
@ -198,7 +198,7 @@ void Foam::fvMesh::storeOldVol(const scalarField& V)
|
|||||||
time().timeName(),
|
time().timeName(),
|
||||||
*this,
|
*this,
|
||||||
IOobject::NO_READ,
|
IOobject::NO_READ,
|
||||||
IOobject::AUTO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
true
|
true
|
||||||
),
|
),
|
||||||
*this,
|
*this,
|
||||||
@ -865,6 +865,9 @@ bool Foam::fvMesh::writeObject
|
|||||||
if (phiPtr_)
|
if (phiPtr_)
|
||||||
{
|
{
|
||||||
ok = phiPtr_->write();
|
ok = phiPtr_->write();
|
||||||
|
// NOTE: The old old time mesh phi might be necessary for certain
|
||||||
|
// solver smooth restart using second order time schemes.
|
||||||
|
//ok = phiPtr_->oldTime().write();
|
||||||
}
|
}
|
||||||
|
|
||||||
return ok && polyMesh::writeObject(fmt, ver, cmp);
|
return ok && polyMesh::writeObject(fmt, ver, cmp);
|
||||||
|
|||||||
Reference in New Issue
Block a user