1 const dictionary& stressControl =
2 mesh.solutionDict().subDict("solidMechanics");
4 int nCorr(readInt(stressControl.lookup("nCorrectors")));
5 scalar convergenceTolerance(readScalar(stressControl.lookup("U")));
6 Switch predictor(stressControl.lookup("predictor"));
7 Switch dynamicTimeStep(stressControl.lookup("dynamicTimeStep"));
8 scalar deltaTmin(readScalar(stressControl.lookup("deltaTmin")));
9 scalar deltaTmax(readScalar(stressControl.lookup("deltaTmax")));
10 int infoFrequency(readInt(stressControl.lookup("infoFrequency")));
11 Switch aitkenRelax(stressControl.lookup("aitkenRelaxation"));
12 Switch relaxEqn(stressControl.lookup("relaxEqn"));
14 if(relaxEqn && solidInterfaceCorr)
16 FatalError << "relaxEqn and solidInterface may not be used concurrently"