Forward compatibility: flex
[foam-extend-3.2.git] / applications / solvers / solidMechanics / viscoElasticSolidFoam / readSolidMechanicsControls.H
blob7bf1392f8d0ea3242418171390d1cd17dc71c6e3
1     const dictionary& stressControl =
2         mesh.solutionDict().subDict("solidMechanics");
4     int nCorr(readInt(stressControl.lookup("nCorrectors")));
5     scalar convergenceTolerance(readScalar(stressControl.lookup("DU")));
7 //     componentReferenceList cr
8 //     (
9 //         stressControl.lookup("componentReference"),
10 //         componentReference::iNew(mesh)
11 //     );
14 //     dimensionedScalar K
15 //     (
16 //         mesh.solutionDict().subDict("solidMechanics").lookup("K")
17 //     );
19 int infoFrequency(readInt(stressControl.lookup("infoFrequency")));
21 dimensionedVector g("gravity", dimLength/(dimTime*dimTime), stressControl.lookup("gravity"));