11 lines
588 B
C
11 lines
588 B
C
|
//- the method used to calculate the explicit component of sigma
|
||
|
word divDSigmaLargeStrainExpMethod(mesh.solutionDict().subDict("stressedFoam").lookup("divDSigmaLargeStrainExp"));
|
||
|
Info << "Calculation of divDSigmaLargeStrainExp method: " << divDSigmaLargeStrainExpMethod << endl;
|
||
|
if(divDSigmaLargeStrainExpMethod != "standard"
|
||
|
&& divDSigmaLargeStrainExpMethod != "surface")
|
||
|
{
|
||
|
FatalError << "divDSigmaLargeStrainExp method " << divDSigmaLargeStrainExpMethod << " not found!" << nl
|
||
|
<< "valid methods are:\nstandard\nsurface"
|
||
|
<< exit(FatalError);
|
||
|
}
|