mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Added helper function for function objects to return output folder for current time value
This commit is contained in:
@ -51,6 +51,12 @@ Foam::fileName Foam::functionObjectFile::baseFileDir() const
|
||||
}
|
||||
|
||||
|
||||
Foam::fileName Foam::functionObjectFile::baseTimeDir() const
|
||||
{
|
||||
return baseFileDir()/prefix_/obr_.time().timeName();
|
||||
}
|
||||
|
||||
|
||||
void Foam::functionObjectFile::createFiles()
|
||||
{
|
||||
const word startTimeName =
|
||||
|
||||
Reference in New Issue
Block a user