mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
EMH: Adding a hook to functionObject called 'timeSet' at the
end of Time::operator++. This allows to know if the next timeIndex will be a dumping time. The function object "partialWrite" modifyes the write option of the those fields which will be written down at given intervals of the overall outout times.
This commit is contained in:
@ -66,7 +66,7 @@ Foam::wordList Foam::scalarTransport::boundaryTypes() const
|
||||
}
|
||||
}
|
||||
|
||||
return bTypes;
|
||||
return bTypes;
|
||||
}
|
||||
|
||||
|
||||
@ -228,7 +228,7 @@ void Foam::scalarTransport::execute()
|
||||
{
|
||||
schemeVar = UName_;
|
||||
}
|
||||
|
||||
|
||||
word divScheme("div(phi," + schemeVar + ")");
|
||||
word laplacianScheme("laplacian(" + DT.name() + "," + schemeVar + ")");
|
||||
|
||||
@ -303,6 +303,12 @@ void Foam::scalarTransport::end()
|
||||
}
|
||||
|
||||
|
||||
void Foam::scalarTransport::timeSet()
|
||||
{
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
|
||||
void Foam::scalarTransport::write()
|
||||
{
|
||||
// Do nothing
|
||||
|
||||
Reference in New Issue
Block a user