Hello The stress tensor in
The stress tensor in centralFoam, seems to be constructed rather mysteriously with the command
What does fvc::grad(U)().T()) do?
What does dev2 do?
fvc:: -- finite volume calculu
fvc:: -- 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.
|All times are GMT -4. The time now is 15:26.|