1 if (runTime.outputTime())
3 volScalarField epsilonEq
13 sqrt((2.0/3.0)*magSqr(dev(epsilon)))
16 Info<< "Max epsilonEq = " << max(epsilonEq).value()
19 volScalarField sigmaEq
29 sqrt((3.0/2.0)*magSqr(dev(sigma)))
32 Info<< "Max sigmaEq = " << max(sigmaEq).value()
35 //- Calculate Cauchy stress
36 volTensorField F = I + gradU;
37 volScalarField J = det(F);
42 volSymmTensorField sigmaCauchy
52 (1/J) * symm(F.T() & sigma & F)
55 //- Cauchy von Mises stress
56 volScalarField sigmaCauchyEq
66 sqrt((3.0/2.0)*magSqr(dev(sigmaCauchy)))
69 Info<< "Max sigmaCauchyEq = " << max(sigmaCauchyEq).value()
72 volTensorField Finv = inv(F);
73 volSymmTensorField epsilonAlmansi
83 symm(Finv & epsilon & Finv.T())
87 volVectorField traction
98 dimensionedVector("zero", dimForce/dimArea, vector::zero)
100 forAll(traction.boundaryField(), patchi)
102 tensorField Fpatch = I + gradU.boundaryField()[patchi];
104 traction.boundaryField()[patchi] =
105 n.boundaryField()[patchi] & (sigma.boundaryField()[patchi] & Fpatch);