1 if (runTime.outputTime())
3 volScalarField epsilonEq
13 sqrt((2.0/3.0)*magSqr(dev(epsilon)))
15 Info<< "Max epsilonEq = " << max(epsilonEq).value()
18 volScalarField epsilonPEq
28 sqrt((2.0/3.0)*magSqr(dev(epsilonP)))
30 Info<< "Max epsilonPEq = " << max(epsilonPEq).value()
33 volScalarField sigmaEq
43 sqrt((3.0/2.0)*magSqr(dev(sigma)))
46 Info<< "Max sigmaEq = " << max(sigmaEq).value()
49 // deformation gradient
50 volTensorField F = I + gradU;
51 volScalarField J = det(F);
53 //- Calculate Cauchy stress
54 volSymmTensorField sigmaCauchy
64 (1/J) * symm(F.T() & sigma & F)
67 //- Cauchy von Mises stress
68 volScalarField sigmaCauchyEq
78 sqrt((3.0/2.0)*magSqr(dev(sigmaCauchy)))
81 Info<< "Max sigmaCauchyEq = " << max(sigmaCauchyEq).value()
84 //volTensorField Finv = inv(F);
85 // volSymmTensorField epsilonAlmansi
90 // runTime.timeName(),
93 // IOobject::AUTO_WRITE
95 // symm(Finv & epsilon & Finv.T())