FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

collapse.H

Go to the documentation of this file.
00001     scalarField UMeanXvalues = channelIndexing.collapse
00002     (
00003         UMean.component(vector::X)()
00004     );
00005 
00006     scalarField UMeanYvalues = channelIndexing.collapse
00007     (
00008         UMean.component(vector::Y)()
00009     );
00010 
00011     scalarField UMeanZvalues = channelIndexing.collapse
00012     (
00013         UMean.component(vector::Z)()
00014     );
00015 
00016     scalarField RxxValues = channelIndexing.collapse(Rxx);
00017     scalarField RyyValues = channelIndexing.collapse(Ryy);
00018     scalarField RzzValues = channelIndexing.collapse(Rzz);
00019     scalarField RxyValues = channelIndexing.collapse(Rxy, true);
00020 
00021     scalarField pPrime2MeanValues = channelIndexing.collapse(pPrime2Mean);
00022 
00023     /*
00024     scalarField epsilonValues = channelIndexing.collapse(epsilonMean);
00025 
00026     scalarField nuMeanValues = channelIndexing.collapse(nuMean);
00027     scalarField nuPrimeValues = channelIndexing.collapse(nuPrime);
00028 
00029     scalarField gammaDotMeanValues = channelIndexing.collapse(gammaDotMean);
00030     scalarField gammaDotPrimeValues = channelIndexing.collapse(gammaDotPrime);
00031     */
00032 
00033     scalarField urmsValues = sqrt(mag(RxxValues));
00034     scalarField vrmsValues = sqrt(mag(RyyValues));
00035     scalarField wrmsValues = sqrt(mag(RzzValues));
00036 
00037     scalarField kValues =
00038         0.5*(sqr(urmsValues) + sqr(vrmsValues) + sqr(wrmsValues));
00039 
00040 
00041     const scalarField& y = channelIndexing.y();
00042 
00043     makeGraph(y, UMeanXvalues, "Uf", UMean.path(), gFormat);
00044     makeGraph(y, urmsValues, "u", UMean.path(), gFormat);
00045     makeGraph(y, vrmsValues, "v", UMean.path(), gFormat);
00046     makeGraph(y, wrmsValues, "w", UMean.path(), gFormat);
00047     makeGraph(y, RxyValues, "uv", UMean.path(), gFormat);
00048     makeGraph(y, kValues, "k", UMean.path(), gFormat);
00049 
00050     makeGraph(y, pPrime2MeanValues, "pPrime2Mean", UMean.path(), gFormat);
00051 
00052     /*
00053     makeGraph(y, epsilonValues, "epsilon", UMean.path(), gFormat);
00054     makeGraph(y, nuMeanValues, "nu", UMean.path(), gFormat);
00055     makeGraph(y, nuPrimeValues, "nuPrime", UMean.path(), gFormat);
00056     makeGraph(y, gammaDotMeanValues, "gammaDot", UMean.path(), gFormat);
00057     makeGraph(y, gammaDotPrimeValues, "gammaDotPrime", UMean.path(), gFormat);
00058     */
00059 
00060 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines