Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticOrthoAcpSolidFoam / calculateRelativeResidual.H
blob74d7552dad9bd2ab29f8608b0c14e1fb6f4faf02
2     scalar maxDU = gMax(mag(U.internalField() - U.oldTime().internalField()));
4     relativeResidual =
5         gMax
6         (
7             mag(U.internalField() - U.prevIter().internalField())
8            /(maxDU + SMALL)
9         );
11 //     resid = (U - U.prevIter())/(max(mag(U-U.oldTime()))+dimensionedScalar("SMALL", dimLength, SMALL));