Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / icoFsiElasticNonLinULSolidFoam / calculateStress.H
blobe028a5572a73831bb1ea4f978d49914d8b308200
1     if (runTime.outputTime())
2     {
3         volScalarField sigmaEq
4         (
5             IOobject
6             (
7                 "sigmaEq",
8                 runTime.timeName(),
9                 stressMesh,
10                 IOobject::NO_READ,
11                 IOobject::AUTO_WRITE
12             ),
13             sqrt((3.0/2.0)*magSqr(dev(sigma)))
14         );
16         Info<< "Max sigmaEq = " << max(sigmaEq).value()
17             << endl;
19         runTime.write();
20     }