collapse.H
Go to the documentation of this file.
1  fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance());
2  mkDir(path);
3 
5  (
6  channelIndexing.collapse(UMean.component(vector::X)())
7  );
8 
10  (
11  channelIndexing.collapse(UMean.component(vector::Y)())
12  );
13 
15  (
16  channelIndexing.collapse(UMean.component(vector::Z)())
17  );
18 
19  scalarField RxxValues(channelIndexing.collapse(Rxx));
20  scalarField RyyValues(channelIndexing.collapse(Ryy));
21  scalarField RzzValues(channelIndexing.collapse(Rzz));
22  scalarField RxyValues(channelIndexing.collapse(Rxy, true));
23 
24  scalarField pPrime2MeanValues(channelIndexing.collapse(pPrime2Mean));
25 
26  /*
27  scalarField epsilonValues(channelIndexing.collapse(epsilonMean));
28 
29  scalarField nuMeanValues(channelIndexing.collapse(nuMean));
30  scalarField nuPrimeValues(channelIndexing.collapse(nuPrime));
31 
32  scalarField gammaDotMeanValues(channelIndexing.collapse(gammaDotMean));
33  scalarField gammaDotPrimeValues(channelIndexing.collapse(gammaDotPrime));
34  */
35 
39 
41  (
43  );
44 
45 
46  const scalarField& y = channelIndexing.y();
47 
48  makeGraph(y, UMeanXvalues, "Uf", path, gFormat);
49  makeGraph(y, urmsValues, "u", path, gFormat);
50  makeGraph(y, vrmsValues, "v", path, gFormat);
51  makeGraph(y, wrmsValues, "w", path, gFormat);
52  makeGraph(y, RxyValues, "uv", path, gFormat);
53  makeGraph(y, kValues, "k", path, gFormat);
54 
55  makeGraph(y, pPrime2MeanValues, "pPrime2Mean", path, gFormat);
56 
57  /*
58  makeGraph(y, epsilonValues, "epsilon", path, gFormat);
59  makeGraph(y, nuMeanValues, "nu", path, gFormat);
60  makeGraph(y, nuPrimeValues, "nuPrime", path, gFormat);
61  makeGraph(y, gammaDotMeanValues, "gammaDot", path, gFormat);
62  makeGraph(y, gammaDotPrimeValues, "gammaDotPrime", path, gFormat);
63  */
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)()))
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
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)