1 if(divDSigmaExpMethod == "standard")
3 divDSigmaExp = fvc::div
6 + (lambda*(I*tr(gradDU)))
7 - ((mu + lambda)*gradDU),
11 else if(divDSigmaExpMethod == "surface")
17 muf*(n&fvc::interpolate(gradDU.T()))
18 + lambdaf*tr(fvc::interpolate(gradDU))*n
19 - (muf + lambdaf)*(n&fvc::interpolate(gradDU))
22 // divDSigmaExp = fvc::div
24 // muf*(mesh.Sf() & fvc::interpolate(gradDU.T()))
25 // + lambdaf*(mesh.Sf() & I*fvc::interpolate(tr(gradDU)))
26 // - (muf + lambdaf)*(mesh.Sf() & fvc::interpolate(gradDU))
29 else if(divDSigmaExpMethod == "decompose")
31 surfaceTensorField shearGradDU =
32 ((I - n*n)&fvc::interpolate(gradDU));
38 - (muf + lambdaf)*(fvc::snGrad(DU)&(I - n*n))
39 + lambdaf*tr(shearGradDU&(I - n*n))*n
43 // divDSigmaExp = fvc::div
47 // - (muf + lambdaf)*(fvc::snGrad(DU)&(I - n*n))
48 // + lambdaf*tr(shearGradDU&(I - n*n))*n
49 // + muf*(shearGradDU&n)
53 else if(divDSigmaExpMethod == "laplacian")
56 - fvc::laplacian(mu + lambda, DU, "laplacian(DDU,DU)")
60 + lambda*(I*tr(gradDU)),
66 FatalError << "divDSigmaExp method " << divDSigmaExpMethod << " not found!" << endl;