Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticThermalSolidFoam / writeFields.H
blobf666ec12bc4039e9781ab07e6bfe7fad6cc5b2d4
1 if (runTime.outputTime())
3     volScalarField epsilonEq
4     (
5         IOobject
6         (
7             "epsilonEq",
8             runTime.timeName(),
9             mesh,
10             IOobject::NO_READ,
11             IOobject::AUTO_WRITE
12         ),
13         sqrt((2.0/3.0)*magSqr(dev(epsilon)))
14     );
16     Info<< "Max epsilonEq = " << max(epsilonEq).value() << endl;
18     volScalarField sigmaEq
19     (
20         IOobject
21         (
22             "sigmaEq",
23             runTime.timeName(),
24             mesh,
25             IOobject::NO_READ,
26             IOobject::AUTO_WRITE
27         ),
28         sqrt((3.0/2.0)*magSqr(dev(sigma)))
29     );
31     Info<< "Max sigmaEq = " << max(sigmaEq).value() << endl;
33     runTime.write();