collapse.H
Go to the documentation of this file.
1  fileName path
2  (
3  UMean.rootPath()
4  /UMean.caseName()
5  /functionObjects::writeFile::outputPrefix
6  /"graphs"
7  /UMean.instance()
8  );
9  mkDir(path);
10 
12  (
13  channelIndexing.collapse(UMean.component(vector::X)())
14  );
15 
17  (
18  channelIndexing.collapse(UMean.component(vector::Y)())
19  );
20 
22  (
23  channelIndexing.collapse(UMean.component(vector::Z)())
24  );
25 
26  scalarField RxxValues(channelIndexing.collapse(Rxx));
27  scalarField RyyValues(channelIndexing.collapse(Ryy));
28  scalarField RzzValues(channelIndexing.collapse(Rzz));
29  scalarField RxyValues(channelIndexing.collapse(Rxy, true));
30 
31  scalarField pPrime2MeanValues(channelIndexing.collapse(pPrime2Mean));
32 
33  /*
34  scalarField epsilonValues(channelIndexing.collapse(epsilonMean));
35 
36  scalarField nuMeanValues(channelIndexing.collapse(nuMean));
37  scalarField nuPrimeValues(channelIndexing.collapse(nuPrime));
38 
39  scalarField gammaDotMeanValues(channelIndexing.collapse(gammaDotMean));
40  scalarField gammaDotPrimeValues(channelIndexing.collapse(gammaDotPrime));
41  */
42 
46 
48  (
50  );
51 
52 
53  const scalarField& y = channelIndexing.y();
54 
55  makeGraph(y, UMeanXvalues, "Uf", path, gFormat);
56  makeGraph(y, urmsValues, "u", path, gFormat);
57  makeGraph(y, vrmsValues, "v", path, gFormat);
58  makeGraph(y, wrmsValues, "w", path, gFormat);
59  makeGraph(y, RxyValues, "uv", path, gFormat);
60  makeGraph(y, kValues, "k", path, gFormat);
61 
62  makeGraph(y, pPrime2MeanValues, "pPrime2Mean", path, gFormat);
63 
64  /*
65  makeGraph(y, epsilonValues, "epsilon", path, gFormat);
66  makeGraph(y, nuMeanValues, "nu", path, gFormat);
67  makeGraph(y, nuPrimeValues, "nuPrime", path, gFormat);
68  makeGraph(y, gammaDotMeanValues, "gammaDot", path, gFormat);
69  makeGraph(y, gammaDotPrimeValues, "gammaDotPrime", path, gFormat);
70  */
scalarField RzzValues(channelIndexing.collapse(Rzz))
scalarField RxyValues(channelIndexing.collapse(Rxy, true))
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
volScalarField Ryy(UPrime2Mean.component(symmTensor::YY))
volVectorField UMean(UMeanHeader, mesh)
volScalarField Rxy(UPrime2Mean.component(symmTensor::XY))
const word & gFormat
Definition: makeGraphs.H:16
scalarField UMeanXvalues(channelIndexing.collapse(UMean.component(vector::X)()))
scalarField kValues(0.5 *(sqr(urmsValues)+sqr(vrmsValues)+sqr(wrmsValues)))
scalarField UMeanZvalues(channelIndexing.collapse(UMean.component(vector::Z)()))
scalarField vrmsValues(sqrt(mag(RyyValues)))
volScalarField Rzz(UPrime2Mean.component(symmTensor::ZZ))
volScalarField pPrime2Mean(IOobject("pPrime2Mean", runTime.timeName(), mesh, IOobject::MUST_READ), mesh)
makeGraph(y, UMeanXvalues, "Uf", path, gFormat)
volScalarField Rxx(UPrime2Mean.component(symmTensor::XX))
scalarField RyyValues(channelIndexing.collapse(Ryy))
scalarField pPrime2MeanValues(channelIndexing.collapse(pPrime2Mean))
volScalarField scalarField(fieldObject, mesh)
scalarField UMeanYvalues(channelIndexing.collapse(UMean.component(vector::Y)()))
scalarField wrmsValues(sqrt(mag(RzzValues)))
scalarField RxxValues(channelIndexing.collapse(Rxx))
scalarField urmsValues(sqrt(mag(RxxValues)))
PtrList< volScalarField > & Y
dimensioned< scalar > mag(const dimensioned< Type > &)
mkDir(path)
fileName path(UMean.rootPath()/UMean.caseName()/functionObjects::writeFile::outputPrefix/"graphs"/UMean.instance())