graphField: Moved graphs directory into postProcessing
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -35,6 +35,7 @@ Description
|
||||
#include "fft.H"
|
||||
#include "calcEk.H"
|
||||
#include "graph.H"
|
||||
#include "writeFile.H"
|
||||
#include "pisoControl.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -117,7 +118,10 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
calcEk(U, K).write
|
||||
(
|
||||
runTime.path()/"graphs"/runTime.timeName(),
|
||||
runTime.path()
|
||||
/functionObjects::writeFile::outputPrefix
|
||||
/"graphs"
|
||||
/runTime.timeName(),
|
||||
"Ek",
|
||||
runTime.graphFormat()
|
||||
);
|
||||
|
||||
@ -1,4 +1,11 @@
|
||||
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance());
|
||||
fileName path
|
||||
(
|
||||
UMean.rootPath()
|
||||
/UMean.caseName()
|
||||
/functionObjects::writeFile::outputPrefix
|
||||
/"graphs"
|
||||
/UMean.instance()
|
||||
);
|
||||
mkDir(path);
|
||||
|
||||
scalarField UMeanXvalues
|
||||
|
||||
@ -39,6 +39,7 @@ Description
|
||||
#include "volFields.H"
|
||||
#include "channelIndex.H"
|
||||
#include "makeGraph.H"
|
||||
#include "writeFile.H"
|
||||
|
||||
using namespace Foam;
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -36,6 +36,7 @@ Description
|
||||
#include "Kmesh.H"
|
||||
#include "turbGen.H"
|
||||
#include "calcEk.H"
|
||||
#include "writeFile.H"
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -69,7 +70,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
calcEk(U, K).write
|
||||
(
|
||||
runTime.path()/"graphs"/runTime.timeName(),
|
||||
runTime.path()
|
||||
/functionObjects::writeFile::outputPrefix
|
||||
/"graphs"
|
||||
/runTime.timeName(),
|
||||
"Ek",
|
||||
runTime.graphFormat()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user