Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticIncrSolidFoam / readDivDSigmaExpMethod.H
blobb801de9a484522381bb149866a9fa44699e89105
1     const dictionary& stressControl =
2         mesh.solutionDict().subDict("solidMechanics");
4     // Read how explicit component of sigma is to be calculated
5     word divDSigmaExpMethod(stressControl.lookup("divSigmaExp"));
7     Info<< "Selecting divSigmaExp calculation method: "
8         << divDSigmaExpMethod <<  endl;
10     if
11     (
12         divDSigmaExpMethod != "standard"
13      && divDSigmaExpMethod != "surface"
14      && divDSigmaExpMethod != "decompose"
15      && divDSigmaExpMethod != "laplacian"
16     )
17     {
18         FatalErrorIn(args.executable())
19             << "divSigmaExp method " << divDSigmaExpMethod << " not found!  "
20             << "valid methods are:\nstandard\nsurface\ndecompose\nlaplacian"
21             << exit(FatalError);
22     }