CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Strain-rate tensor components (https://www.cfd-online.com/Forums/openfoam/73106-strain-rate-tensor-components.html)

vkrastev February 26, 2010 12:22

Strain-rate tensor components
 
Hi, can someone help me in finding a quick method to obtain only te XY component of the strain-rate tensor in a two-dimensional LES simulation? The case is made up by a rectangular channel-flow, and the solver is the pisoFoam incompressible one, with a oneEqEddy LES model (all the settings are practically the same of the pitzDaily incompressible LES tutorial).

Thank you in advance

vkrastev March 1, 2010 14:00

any replies?

kathrin_kissling March 2, 2010 02:39

Hi vkrastev,

do you already have the tensor? If yes you can just go

if A is defined as Tensor

scalar xyComponent = A.xy()

Best

Kathrin


All times are GMT -4. The time now is 07:16.