2 # include "readSolidMechanicsControls.H"
5 lduMatrix::solverPerformance solverPerf;
6 scalar initialResidual = 0;
10 # include "backwardCoeffs.H"
20 + Coo*rho*DV.oldTime().oldTime()
22 fvm::laplacian(2*mu + lambda, DU, "laplacian(DDU,DU)")
23 - fvc::laplacian(mu + lambda, DU, "laplacian(DDU,DU)")
27 + lambda*(I*tr(gradDU))
28 + mu*(gradDU&gradDU.T())
29 + 0.5*lambda*(I*tr(gradDU & gradDU.T()))
36 solverPerf = DUEqn.solve();
42 initialResidual = solverPerf.initialResidual();
45 gradDU = fvc::grad(DU);
49 # include "calculateDSigma.H"
53 solverPerf.initialResidual() > convergenceTolerance
57 Info << "Solving for " << DU.name()
58 << ", Initial residual = " << initialResidual
59 << ", Final residual = " << solverPerf.initialResidual()
60 << ", No outer iterations " << iCorr << endl;