Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticThermalSolidFoam / calculateRelResU.H
blob9c9ea75c8907780fd74b1812f78c0368985f61b1
2     // displacement
3     scalar maxDU = gMax(mag(U.internalField() - U.oldTime().internalField()));
4     relResU =
5         gMax
6         (
7             mag(U.internalField() - U.prevIter().internalField())
8            /(maxDU + SMALL)
9         );