1 if(divDSigmaNonLinExpMethod == "standard")
3 divDSigmaNonLinExp = fvc::div
5 ( mu * (gradDU & gradDU.T()) )
6 + ( 0.5 * lambda * tr(gradDU & gradDU.T()) * I )
7 + ( (sigma + DSigma) & gradDU ),
11 else if(divDSigmaNonLinExpMethod == "surface")
13 divDSigmaNonLinExp = fvc::div
17 ( muf * (n & fvc::interpolate( gradDU & gradDU.T() )) )
18 + ( 0.5*lambdaf * (n * tr(fvc::interpolate( gradDU & gradDU.T() ))) )
19 + (n & fvc::interpolate( (sigma + DSigma) & gradDU ))
25 FatalError << "divDSigmaExp method " << divDSigmaExpMethod << " not found!" << endl;