Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticPlasticNonLinTLSolidFoam / readDivDSigmaNonLinExpMethod.H
blob5f6d2e15f1f1de87ff491512c4f7c2b64b3fd237
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")
6     FatalError << "divSigmaNonLinExp method " << divDSigmaNonLinExpMethod << " not found!" << nl
7         << "valid methods are:\nstandard\nsurface"
8         << exit(FatalError);