Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticOrthoAcpSolidFoam / readSolidMechanicsControls.H
blob906c44959f5258db8c1d50bfe4c1bcbefe6569df
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)
15   {
16     FatalError << "relaxEqn and solidInterface may not be used concurrently"
17                << exit(FatalError);
18   }