diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/collapse.H b/applications/utilities/postProcessing/miscellaneous/postChannel/collapse.H index 686122b06d..f8af0f3201 100644 --- a/applications/utilities/postProcessing/miscellaneous/postChannel/collapse.H +++ b/applications/utilities/postProcessing/miscellaneous/postChannel/collapse.H @@ -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); */ diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/readFields.H b/applications/utilities/postProcessing/miscellaneous/postChannel/readFields.H index 7bcfc0551c..45c16675ef 100644 --- a/applications/utilities/postProcessing/miscellaneous/postChannel/readFields.H +++ b/applications/utilities/postProcessing/miscellaneous/postChannel/readFields.H @@ -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 (