Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / elasticOrthoSolidFoam / setPlaneStressGradU.H
blobecbf4a48b84d9a20ae99fc73993af8cc7e87bd5c
1 //- set gradU.zz() for plane stress
2 if(rheology.planeStress())
4     forAll(gradU.internalField(), celli)
5     {
6         gradU.internalField()[celli].zz() =
7             (
8               - C.internalField()[celli].xxzz()*epsilon.internalField()[celli].xx()
9               - C.internalField()[celli].yyzz()*epsilon.internalField()[celli].yy()
10             )
11             /
12             C.internalField()[celli].zzzz();
13     }
14     gradU.correctBoundaryConditions();