1 if(divSigmaExpMethod == "standard")
3 //- calculating the full gradient has good convergence and no high freq oscillations
11 else if(divSigmaExpMethod == "surface")
13 //- this form seems to have the best convergence
15 fvc::div(mesh.magSf()*
17 (n&(Cf && fvc::interpolate(symm(gradU))))
18 - (n&(Kf & fvc::interpolate(gradU)))
22 else if(divSigmaExpMethod == "laplacian")
24 //- can cause high freq oscillations and slow convergence
26 fvc::div(C && symm(epsilon), "div(sigma)")
27 - fvc::laplacian(K,U, "laplacian(K,U)");
31 FatalError << "divSigmaExp method " << divSigmaExpMethod << " not found!" << endl;