Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / solidMechanics / icoFsiElasticNonLinULSolidFoam / rotateSolidFields.H
blob2dc37a2c2fe1359d713e1cbc6d7b0e81fb5449a6
1 //--------------------------------------------------//
2 //- rotate fields
3 //--------------------------------------------------//
5   Info << "Rotating fields" << endl;
7   F = I + DF;
9   //U += DU;
10   Usolid += DU;
12   //epsilon += DEpsilon;
14   sigma += DSigma;
16   //volTensorField Finv = inv(F);
18   J = det(F);
20   rho = rho/J;
22   //epsilon = symm(Finv.T() & epsilon & Finv);
24   sigma  = 1/J * symm(F & sigma & F.T());