/*
volTensorField gradU = fvc::grad(U);
volSymmTensorField D = symm(fvc::grad(U));
volTensorField Dprim = symm(fvc::grad(U - UMean));
volScalarField prod = -((U - UMean)*(U - UMean)) && D;
*/
volScalarField txx
(
IOobject
"txx",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::NO_WRITE
),
dimensionSet(0, 1, -1, 0, 0)
);
txx =sqrt(Txx - (UMeanx*UMeanx));
txx.write();
volScalarField tyy
"tyy",
tyy = sqrt(Tyy - (UMeany*UMeany));
tyy.write();
volScalarField tzz
"tzz",
tzz = sqrt(Tzz - (UMeanz*UMeanz));
tzz.write();
volScalarField txy
"txy",
dimensionSet(0, 2, -2, 0, 0)
txy = Txy - (UMeanx*UMeany);
txy.write();