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
73 lines
1.7 KiB
C
73 lines
1.7 KiB
C
/*
|
|
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",
|
|
Times[i].name(),
|
|
mesh,
|
|
IOobject::NO_READ,
|
|
IOobject::NO_WRITE
|
|
),
|
|
mesh,
|
|
dimensionSet(0, 1, -1, 0, 0)
|
|
);
|
|
txx =sqrt(Txx - (Umeanx*Umeanx));
|
|
txx.write();
|
|
|
|
volScalarField tyy
|
|
(
|
|
IOobject
|
|
(
|
|
"tyy",
|
|
Times[i].name(),
|
|
mesh,
|
|
IOobject::NO_READ,
|
|
IOobject::NO_WRITE
|
|
),
|
|
mesh,
|
|
dimensionSet(0, 1, -1, 0, 0)
|
|
);
|
|
tyy = sqrt(Tyy - (Umeany*Umeany));
|
|
tyy.write();
|
|
|
|
volScalarField tzz
|
|
(
|
|
IOobject
|
|
(
|
|
"tzz",
|
|
Times[i].name(),
|
|
mesh,
|
|
IOobject::NO_READ,
|
|
IOobject::NO_WRITE
|
|
),
|
|
mesh,
|
|
dimensionSet(0, 1, -1, 0, 0)
|
|
);
|
|
tzz = sqrt(Tzz - (Umeanz*Umeanz));
|
|
tzz.write();
|
|
|
|
volScalarField txy
|
|
(
|
|
IOobject
|
|
(
|
|
"txy",
|
|
Times[i].name(),
|
|
mesh,
|
|
IOobject::NO_READ,
|
|
IOobject::NO_WRITE
|
|
),
|
|
mesh,
|
|
dimensionSet(0, 2, -2, 0, 0)
|
|
);
|
|
txy = Txy - (Umeanx*Umeany);
|
|
txy.write();
|
|
*/
|