- **OpenFOAM Running, Solving & CFD**
(*http://www.cfd-online.com/Forums/openfoam-solving/*)

- - **Stress tensor in rhoCentralFoam**
(*http://www.cfd-online.com/Forums/openfoam-solving/58730-stress-tensor-rhocentralfoam.html*)

Hello
The stress tensor inHello
The stress tensor in centralFoam, seems to be constructed rather mysteriously with the command volTensorField tauMC("tauMC",mu*dev2(fvc::grad(U)().T())) What does fvc::grad(U)().T()) do? What does dev2 do? Thanks Srinath |

fvc:: -- finite volume calculufvc:: -- finite volume calculus - explicit evaluation of a derivative
grad() -- gradient operator. Operating on U gives a 2nd rank tensor, so .T() will take the transpose of this. The extra brackets after grad(U) are slightly complicated; operations in OpenFOAM often return `tmp' objects which have to be converted to ordinary objects before you can proceed. dev2 -- works out the deviatoric part of the tensor. Gavin |

All times are GMT -4. The time now is 18:45. |