Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticPlasticNonLinULSolidFoam / calculateDivDSigmaNonLinExp.H
blobef1d060a56fc36938ce871daccf80be81954f5fd
1 if(divDSigmaNonLinExpMethod == "standard")
3     divDSigmaNonLinExp = fvc::div
4     (
5         ( mu * (gradDU & gradDU.T()) )
6       + ( 0.5 * lambda * tr(gradDU & gradDU.T()) * I )
7       + ( (sigma + DSigma) & gradDU ),
8         "div(sigma)"
9     );
11 else if(divDSigmaNonLinExpMethod == "surface")
13     divDSigmaNonLinExp = fvc::div
14     (
15         mesh.magSf()*
16         (
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 ))
20         )
21     );
23 else
25     FatalError << "divDSigmaExp method " << divDSigmaExpMethod << " not found!" << endl;