1 if(divDSigmaExpMethod == "standard")
3 divDSigmaExp = fvc::div
5 mu*gradDU.T() + lambda*(I*tr(gradDU)) - (mu + lambda)*gradDU,
9 else if(divDSigmaExpMethod == "surface")
11 divDSigmaExp = fvc::div
13 muf*(mesh.Sf() & fvc::interpolate(gradDU.T()))
14 + lambdaf*(mesh.Sf() & I*fvc::interpolate(tr(gradDU)))
15 - (muf + lambdaf)*(mesh.Sf() & fvc::interpolate(gradDU))
18 else if(divDSigmaExpMethod == "decompose")
20 snGradDU = fvc::snGrad(DU);
22 surfaceTensorField shearGradDU = ((I - n*n) & fvc::interpolate(gradDU));
24 divDSigmaExp = fvc::div
28 - (muf + lambdaf)*(snGradDU & (I - n*n))
29 + lambdaf*tr(shearGradDU & (I - n*n))*n
30 + muf*(shearGradDU & n)
34 else if(divDSigmaExpMethod == "expLaplacian")
37 - fvc::laplacian(mu + lambda, DU, "laplacian(DDU,DU)")
38 + fvc::div(mu*gradDU.T() + lambda*(I*tr(gradDU)), "div(sigma)");
42 FatalErrorIn(args.executable())
43 << "divDSigmaExp method " << divDSigmaExpMethod << " not found!"