1 if(divDSigmaExpMethod == "standard")
3 divDSigmaExp = fvc::div
6 + (lambda*(I*tr(gradDU)))
7 - ((mu + lambda)*gradDU),
11 else if(divDSigmaExpMethod == "surface")
13 divDSigmaExp = fvc::div
17 muf*(n & fvc::interpolate(gradDU.T()))
18 + lambdaf*tr(fvc::interpolate(gradDU))*n
19 - (muf + lambdaf)*(n & fvc::interpolate(gradDU))
23 // divDSigmaExp = fvc::div
25 // muf*(mesh.Sf() & fvc::interpolate(gradDU.T()))
26 // + lambdaf*(mesh.Sf() & I*fvc::interpolate(tr(gradDU)))
27 // - (muf + lambdaf)*(mesh.Sf() & fvc::interpolate(gradDU))
30 else if(divDSigmaExpMethod == "decompose")
32 surfaceTensorField shearGradDU((I - n*n) & fvc::interpolate(gradDU));
34 divDSigmaExp = fvc::div
38 - (muf + lambdaf)*(fvc::snGrad(DU) & (I - n*n))
39 + lambdaf*tr(shearGradDU & (I - n*n))*n
40 + muf*(shearGradDU & n)
44 // divDSigmaExp = fvc::div
48 // - (muf + lambdaf)*(fvc::snGrad(DU)&(I - n*n))
49 // + lambdaf*tr(shearGradDU&(I - n*n))*n
50 // + muf*(shearGradDU&n)
54 else if(divDSigmaExpMethod == "laplacian")
57 - fvc::laplacian(mu + lambda, DU, "laplacian(DDU,DU)")
61 + lambda*(I*tr(gradDU)),
67 FatalErrorIn(args.executable())
68 << "divDSigmaExp method " << divDSigmaExpMethod << " not found!"