This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/readDivDSigmaNonLinExpMethod.H

9 lines
528 B
C

//- how explicit component of sigma is to be calculated
word divDSigmaNonLinExpMethod(mesh.solutionDict().subDict("stressedFoam").lookup("divDSigmaNonLinExp"));
Info << "Selecting divDSigmaNonLinExp calculation method " << divDSigmaNonLinExpMethod << endl;
if(divDSigmaNonLinExpMethod != "standard" && divDSigmaNonLinExpMethod != "surface")
{
FatalError << "divDSigmaNonLinExp method " << divDSigmaNonLinExpMethod << " not found!" << nl
<< "valid methods are:\nstandard\nsurface"
<< exit(FatalError);
}