4 aitkenDelta.storePrevIter();
5 aitkenDelta = (U - U.prevIter()) / aitkenInitialRes;
7 // update relaxation factor
11 // if(mesh.relax(U.name()))
13 // aitkenTheta = mesh.relaxationFactor(U.name());
18 vectorField b = aitkenDelta.internalField() - aitkenDelta.prevIter().internalField();
19 // scalar sumMagB = gSum(mag(b));
20 scalar sumMagB = gSum(magSqr(b));
23 // Warning << "Aitken under-relaxation: denominator less then SMALL"
28 aitkenTheta = -aitkenTheta*
29 gSum(aitkenDelta.prevIter().internalField() & b)
34 // correction to the latest U
35 U += aitkenTheta*aitkenDelta*aitkenInitialRes;