CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   where's the singleGraph output? (https://www.cfd-online.com/Forums/openfoam/182215-wheres-singlegraph-output.html)

kama_ January 4, 2017 07:10

where's the singleGraph output?
 
Hi,
I need output for the alpha.water field along a line, to understand I did the singleGraph tutorial: http://cfd.direct/openfoam/user-guid...hs-monitoring/ chapter 6.3.2
It uses the pitzDaily case. So I copied pitzDaily into run, ran blockMesh and simpleFoam on it, made sure it worked with paraView. Then I copied the singleGraph file from FOAM_ETC to system. I edited singleGraph and controlDict as I was told. I ran simpleFoam with and without postProcess option, but I can't find any output in pitzDaily/postProcessing - there's not even a directory called singleGraph.

singleGraph

Code:


\*---------------------------------------------------------------------------*/

start  (0.01 0.025 0);
end    (0.01 0.025 0);
fields  (U p);
 
// Sampling and I/O settings
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
 
// Override settings here, e.g.
// setConfig { type midPoint; }

// Must be last entry

#includeEtc "caseDicts/postProcessing/graphs/graph.cfg"
 
// ************************************************************************* //

controlDict
Code:


// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application    simpleFoam;

startFrom      startTime;

startTime      0;

stopAt          endTime;

endTime        2000;

deltaT          1;

writeControl    timeStep;

writeInterval  100;

purgeWrite      0;

writeFormat    ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision  6;

runTimeModifiable true;

functions
{
    #includeFunc streamlines
    #includeFunc singleGraph
}

// *************************************************************************

//

Thanks in advance.

kama_ January 4, 2017 07:17

dunno just did it again
 
and it worked.
sorry. thread can be closed now, can i do that somewhere?


All times are GMT -4. The time now is 02:40.