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

readFields.H

Go to the documentation of this file.
00001     IOobject UMeanHeader
00002     (
00003         "UMean",
00004         runTime.timeName(),
00005         mesh,
00006         IOobject::MUST_READ
00007     );
00008 
00009     if (!UMeanHeader.headerOk())
00010     {
00011         Info<< "    No UMean field" << endl;
00012         continue;
00013     }
00014 
00015     volVectorField UMean
00016     (
00017         UMeanHeader,
00018         mesh
00019     );
00020 
00021     volSymmTensorField UPrime2Mean
00022     (
00023         IOobject
00024         (
00025             "UPrime2Mean",
00026             runTime.timeName(),
00027             mesh,
00028             IOobject::MUST_READ
00029         ),
00030         mesh
00031     );
00032     volScalarField Rxx(UPrime2Mean.component(symmTensor::XX));
00033     volScalarField Ryy(UPrime2Mean.component(symmTensor::YY));
00034     volScalarField Rzz(UPrime2Mean.component(symmTensor::ZZ));
00035     volScalarField Rxy(UPrime2Mean.component(symmTensor::XY));
00036 
00037     volScalarField pPrime2Mean
00038     (
00039         IOobject
00040         (
00041             "pPrime2Mean",
00042             runTime.timeName(),
00043             mesh,
00044             IOobject::MUST_READ
00045         ),
00046         mesh
00047     );
00048 
00049     /*
00050     volScalarField epsilonMean
00051     (
00052         IOobject
00053         (
00054             "epsilonMean",
00055             runTime.timeName(),
00056             mesh,
00057             IOobject::MUST_READ
00058         ),
00059         mesh
00060     );
00061 
00062     volScalarField nuMean
00063     (
00064         IOobject
00065         (
00066             "nuMean",
00067             runTime.timeName(),
00068             mesh,
00069             IOobject::MUST_READ
00070         ),
00071         mesh
00072     );
00073 
00074     volScalarField gammaDotMean
00075     (
00076         IOobject
00077         (
00078             "gammaDotMean",
00079             runTime.timeName(),
00080             mesh,
00081             IOobject::MUST_READ
00082         ),
00083         mesh
00084     );
00085 
00086     volScalarField nuPrime2
00087     (
00088         IOobject
00089         (
00090             "nuPrime",
00091             runTime.timeName(),
00092             mesh,
00093             IOobject::MUST_READ
00094         ),
00095         mesh
00096     );
00097     volScalarField nuPrime = sqrt(mag(nuPrime2 - sqr(nuMean)));
00098 
00099 
00100     volScalarField gammaDotPrime2
00101     (
00102         IOobject
00103         (
00104             "gammaDotPrime",
00105             runTime.timeName(),
00106             mesh,
00107             IOobject::MUST_READ
00108         ),
00109         mesh
00110     );
00111     volScalarField gammaDotPrime = sqrt(mag(gammaDotPrime2 -sqr(gammaDotMean)));
00112     */
00113 
00114 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines