db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
112 lines
2.2 KiB
C
112 lines
2.2 KiB
C
IOobject UMeanHeader
|
|
(
|
|
"UMean",
|
|
runTime.times()[i].name(),
|
|
mesh,
|
|
IOobject::MUST_READ
|
|
);
|
|
|
|
if (!UMeanHeader.headerOk())
|
|
{
|
|
Info<< " No UMean field" << endl;
|
|
continue;
|
|
}
|
|
|
|
volVectorField UMean
|
|
(
|
|
UMeanHeader,
|
|
mesh
|
|
);
|
|
|
|
volSymmTensorField UPrime2Mean
|
|
(
|
|
IOobject
|
|
(
|
|
"UPrime2Mean",
|
|
runTime.times()[i].name(),
|
|
mesh,
|
|
IOobject::MUST_READ
|
|
),
|
|
mesh
|
|
);
|
|
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
|
|
(
|
|
IOobject
|
|
(
|
|
"pPrime2Mean",
|
|
runTime.times()[i].name(),
|
|
mesh,
|
|
IOobject::MUST_READ
|
|
),
|
|
mesh
|
|
);
|
|
|
|
/*
|
|
volScalarField epsilonMean
|
|
(
|
|
IOobject
|
|
(
|
|
"epsilonMean",
|
|
runTime.times()[i].name(),
|
|
mesh,
|
|
IOobject::MUST_READ
|
|
),
|
|
mesh
|
|
);
|
|
|
|
volScalarField nuMean
|
|
(
|
|
IOobject
|
|
(
|
|
"nuMean",
|
|
runTime.times()[i].name(),
|
|
mesh,
|
|
IOobject::MUST_READ
|
|
),
|
|
mesh
|
|
);
|
|
|
|
volScalarField gammaDotMean
|
|
(
|
|
IOobject
|
|
(
|
|
"gammaDotMean",
|
|
runTime.times()[i].name(),
|
|
mesh,
|
|
IOobject::MUST_READ
|
|
),
|
|
mesh
|
|
);
|
|
|
|
volScalarField nuPrime2
|
|
(
|
|
IOobject
|
|
(
|
|
"nuPrime",
|
|
runTime.times()[i].name(),
|
|
mesh,
|
|
IOobject::MUST_READ
|
|
),
|
|
mesh
|
|
);
|
|
volScalarField nuPrime = sqrt(mag(nuPrime2 - sqr(nuMean)));
|
|
|
|
|
|
volScalarField gammaDotPrime2
|
|
(
|
|
IOobject
|
|
(
|
|
"gammaDotPrime",
|
|
runTime.times()[i].name(),
|
|
mesh,
|
|
IOobject::MUST_READ
|
|
),
|
|
mesh
|
|
);
|
|
volScalarField gammaDotPrime = sqrt(mag(gammaDotPrime2 -sqr(gammaDotMean)));
|
|
*/
|