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;
12 divDSigmaExpMethod != "standard"
13 && divDSigmaExpMethod != "surface"
14 && divDSigmaExpMethod != "decompose"
15 && divDSigmaExpMethod != "laplacian"
18 FatalErrorIn(args.executable())
19 << "divSigmaExp method " << divDSigmaExpMethod << " not found! "
20 << "valid methods are:\nstandard\nsurface\ndecompose\nlaplacian"