Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticOrthoSolidFoam / readDivSigmaExpMethod.H
blob6e18e70a975cae47fc2bb4c7918a44f9d3b43399
1 //- how explicit component of sigma is to be calculated
2 word divSigmaExpMethod(mesh.solutionDict().subDict("solidMechanics").lookup("divSigmaExp"));
3 Info << "Calculation of divSigmaExp Method: " << divSigmaExpMethod << endl;
4 if(divSigmaExpMethod != "standard" && divSigmaExpMethod != "surface" && divSigmaExpMethod != "laplacian")
5   {
6     FatalError << "divSigmaExp method " << divSigmaExpMethod << " not found!" << nl
7                << "valid methods are:\nstandard\nsurface\nlaplacian"
8                << exit(FatalError);
9   }