Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticPlasticSolidFoam / calculatePlasticResidual.H
blob6ac73b35b70646a56fabf8213888386da0945750
2   scalar magDEp = gMax(mag(DEpsilonP.internalField()));
4   if (magDEp < SMALL)
5     {
6       magDEp = SMALL;
7     }
9   plasticResidual =
10     gMax
11     (
12      mag
13      (
14       DEpsilonP.internalField()
15       - DEpsilonP.prevIter().internalField()
16       )
17      /magDEp
18      );