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