changed R -> UPrime2Mean to comply with fieldAverage function object field output
This commit is contained in:
parent
0b7c46f0d6
commit
a02890a972
@ -34,27 +34,26 @@
|
||||
scalarField vrmsValues = sqrt(mag(RyyValues));
|
||||
scalarField wrmsValues = sqrt(mag(RzzValues));
|
||||
|
||||
scalarField kValues
|
||||
= 0.5*(sqr(urmsValues) + sqr(vrmsValues) + sqr(wrmsValues));
|
||||
|
||||
scalarField kValues =
|
||||
0.5*(sqr(urmsValues) + sqr(vrmsValues) + sqr(wrmsValues));
|
||||
|
||||
|
||||
scalarField y = channelIndexing.y(mesh.C());
|
||||
|
||||
makeGraph(y, UMeanXvalues, "Uf", R.path(), gFormat);
|
||||
makeGraph(y, urmsValues, "u", R.path(), gFormat);
|
||||
makeGraph(y, vrmsValues, "v", R.path(), gFormat);
|
||||
makeGraph(y, wrmsValues, "w", R.path(), gFormat);
|
||||
makeGraph(y, RxyValues, "uv", R.path(), gFormat);
|
||||
makeGraph(y, kValues, "k", R.path(), gFormat);
|
||||
makeGraph(y, UMeanXvalues, "Uf", UMean.path(), gFormat);
|
||||
makeGraph(y, urmsValues, "u", UMean.path(), gFormat);
|
||||
makeGraph(y, vrmsValues, "v", UMean.path(), gFormat);
|
||||
makeGraph(y, wrmsValues, "w", UMean.path(), gFormat);
|
||||
makeGraph(y, RxyValues, "uv", UMean.path(), gFormat);
|
||||
makeGraph(y, kValues, "k", UMean.path(), gFormat);
|
||||
|
||||
makeGraph(y, pPrime2MeanValues, "pPrime2Mean", R.path(), gFormat);
|
||||
makeGraph(y, pPrime2MeanValues, "pPrime2Mean", UMean.path(), gFormat);
|
||||
|
||||
makeGraph(y, epsilonValues, "epsilon", R.path(), gFormat);
|
||||
makeGraph(y, epsilonValues, "epsilon", UMean.path(), gFormat);
|
||||
|
||||
/*
|
||||
makeGraph(y, nuMeanValues, "nu", R.path(), gFormat);
|
||||
makeGraph(y, nuPrimeValues, "nuPrime", R.path(), gFormat);
|
||||
makeGraph(y, gammaDotMeanValues, "gammaDot", R.path(), gFormat);
|
||||
makeGraph(y, gammaDotPrimeValues, "gammaDotPrime", R.path(), gFormat);
|
||||
makeGraph(y, nuMeanValues, "nu", UMean.path(), gFormat);
|
||||
makeGraph(y, nuPrimeValues, "nuPrime", UMean.path(), gFormat);
|
||||
makeGraph(y, gammaDotMeanValues, "gammaDot", UMean.path(), gFormat);
|
||||
makeGraph(y, gammaDotPrimeValues, "gammaDotPrime", UMean.path(), gFormat);
|
||||
*/
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
if (!UMeanHeader.headerOk())
|
||||
{
|
||||
Info<< " No UMean field" << endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -17,21 +18,21 @@
|
||||
mesh
|
||||
);
|
||||
|
||||
volSymmTensorField R
|
||||
volSymmTensorField UPrime2Mean
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"R",
|
||||
"UPrime2Mean",
|
||||
runTime.times()[i].name(),
|
||||
mesh,
|
||||
IOobject::MUST_READ
|
||||
),
|
||||
mesh
|
||||
);
|
||||
volScalarField Rxx(R.component(symmTensor::XX));
|
||||
volScalarField Ryy(R.component(symmTensor::YY));
|
||||
volScalarField Rzz(R.component(symmTensor::ZZ));
|
||||
volScalarField Rxy(R.component(symmTensor::XY));
|
||||
volScalarField Rxx(UPrime2Mean.component(symmTensor::XX));
|
||||
volScalarField Ryy(UPrime2Mean.component(symmTensor::YY));
|
||||
volScalarField Rzz(UPrime2Mean.component(symmTensor::ZZ));
|
||||
volScalarField Rxy(UPrime2Mean.component(symmTensor::XY));
|
||||
|
||||
volScalarField pPrime2Mean
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user