if(sigmaExpMethod == "standard")
{
sigmaExp = fvc::div
(
mu*gradU.T() + lambda*(I*tr(gradU)) - (mu + lambda)*gradU,
"div(sigma)"
);
}
else if(sigmaExpMethod == "surface")
muf*(mesh.Sf() & fvc::interpolate(gradU.T()))
+ lambdaf*(mesh.Sf() & I*fvc::interpolate(tr(gradU)))
- (muf + lambdaf)*(mesh.Sf() & fvc::interpolate(gradU))
else if(sigmaExpMethod == "decompose")
surfaceTensorField shearGradU = ((I - n*n)&fvc::interpolate(gradU));
mesh.magSf()
*
- (muf + lambdaf)*(fvc::snGrad(U)&(I - n*n))
+ lambdaf*tr(shearGradU&(I - n*n))*n
+ muf*(shearGradU&n)
)
else if(sigmaExpMethod == "expLaplacian")
sigmaExp =
- fvc::laplacian(mu + lambda, U, "laplacian(DU,U)")
+ fvc::div
mu*gradU.T()
+ lambda*(I*tr(gradU)),
else
FatalError << "sigmaExp method " << sigmaExpMethod << " not found!" << endl;