controlDict: the optional graphFormat entry is now used as the default for all setFormat entries

Foam::graph superseded by the more general Foam::setWriter reducing code
maintenance overhead, simplifying usage and further development.
This commit is contained in:
Henry Weller
2023-06-12 17:14:37 +01:00
parent 1e9e0c141b
commit 618d9d33b2
72 changed files with 372 additions and 2034 deletions

View File

@ -32,11 +32,10 @@ Description
#include "argList.H"
#include "volFields.H"
#include "graph.H"
#include "OFstream.H"
#include "Kmesh.H"
#include "turbGen.H"
#include "calcEk.H"
#include "writeEk.H"
#include "writeFile.H"
using namespace Foam;
@ -70,15 +69,7 @@ int main(int argc, char *argv[])
U.write();
calcEk(U, K).write
(
runTime.path()
/functionObjects::writeFile::outputPrefix
/"graphs"
/runTime.name(),
"Ek",
runTime.graphFormat()
);
writeEk(U, K);
Info<< "end" << endl;