Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[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         );