{ scalar t = runTime.value(); scalar tNext = t + runTime.deltaT().value(); instantList Times = runTime.times(); sigma = dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero); DSigmaCorr = dimensionedSymmTensor ( "zero", dimForce/dimArea, symmTensor::zero ); for (label i=1; i=2) { runTime++; } scalar tau = runTime.value() - m*runTime.deltaT().value(); sigma += 2.0*rheology.mu(t - tau)*DEpsilon + rheology.lambda(t - tau)*(I*tr(DEpsilon)); DSigmaCorr += 2.0*rheology.mu(tNext - tau)*DEpsilon + rheology.lambda(tNext - tau)*(I*tr(DEpsilon)); DSigmaCorr -= sigma; }