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 surfaceTensorField shearGradDU =
21 ((I - n*n)&fvc::interpolate(gradDU));
23 divDSigmaExp = fvc::div
27 - (muf + lambdaf)*(fvc::snGrad(DU)&(I - n*n))
28 + lambdaf*tr(shearGradDU&(I - n*n))*n
33 else if(divDSigmaExpMethod == "laplacian")
36 - fvc::laplacian(mu + lambda, DU, "laplacian(DDU,DU)")
40 + lambda*(I*tr(gradDU)),
46 FatalError << "divDSigmaExp method " << divDSigmaExpMethod << " not found!" << endl;