1 if(divSigmaExpMethod == "standard")
5 mu*gradU.T() + lambda*(I*tr(gradU)) - (mu + lambda)*gradU,
8 - gradThreeKalphaDeltaT;
10 else if(divSigmaExpMethod == "surface")
12 divSigmaExp = fvc::div
14 muf*(mesh.Sf() & fvc::interpolate(gradU.T()))
15 + lambdaf*(mesh.Sf() & I*fvc::interpolate(tr(gradU)))
16 - (muf + lambdaf)*(mesh.Sf() & fvc::interpolate(gradU))
20 else if(divSigmaExpMethod == "decompose")
22 snGradU = fvc::snGrad(U);
24 surfaceTensorField shearGradU = ((I - n*n) & fvc::interpolate(gradU));
26 divSigmaExp = fvc::div
30 - (muf + lambdaf)*(snGradU & (I - n*n))
31 + lambdaf*tr(shearGradU & (I - n*n))*n
32 + muf*(shearGradU & n)
38 else if(divSigmaExpMethod == "expLaplacian")
41 - fvc::laplacian(mu + lambda, U, "laplacian(DU,U)")
42 + fvc::div(mu*gradU.T() + lambda*(I*tr(gradU)), "div(sigma)");
47 FatalErrorIn(args.executable())
48 << "divSigmaExp method " << divSigmaExpMethod << " not found!" << endl;