CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Question about twoSymm Function

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree9Likes
  • 1 Post By titio
  • 3 Post By henrik
  • 5 Post By wiedangel

LinkBack Thread Tools Display Modes
Old   July 1, 2009, 09:56
Default Question about twoSymm Function
Senior Member
Antonio Martins
Join Date: Mar 2009
Location: Porto, Porto, Portugal
Posts: 112
Rep Power: 10
titio is on a distinguished road
Send a message via MSN to titio Send a message via Skype™ to titio
Hi Foamers,

In some turbulence models it is used the function twoSymm. I think that when applied to a tensor field
representing the gradient of the velocity, this function gives as a result the deformation rate. In OpenFoam

volTensorField DU = fvc :: grad (U);
volSymmTensorField DR = twoSymm (DU) ;

DR will be equal to grad(U) + transpose (grad (U)), right?

If I am wrong, can anyone explain what the function twoSymm does when applied to a tensor field. I looked in the
manuals, either in PDF and online and I did not find nothing.


wangjl likes this.
titio is offline   Reply With Quote

Old   July 6, 2009, 06:32
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 277
Rep Power: 11
henrik is on a distinguished road
Dear Titio,

have a look here:


tiam, juaneco2710 and dupeng like this.
henrik is offline   Reply With Quote

Old   July 23, 2012, 09:48
Join Date: Jul 2010
Posts: 54
Rep Power: 9
wiedangel is on a distinguished road
//- Return twice the symmetric part of a tensor
template <class Cmpt>
inline SymmTensor<Cmpt> twoSymm(const Tensor<Cmpt>& t)
return SymmTensor<Cmpt>
2*t.xx(), (t.xy() + t.yx()), (t.xz() + t.zx()),
2*t.yy(), (t.yz() + t.zy()),
wiedangel is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
LiencubiclowRemodel nzy102 OpenFOAM Bugs 14 January 10, 2012 09:53
Elements that limit the Courant number skabilan OpenFOAM Running, Solving & CFD 9 July 3, 2008 12:07
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
UDF question Kerem FLUENT 0 April 3, 2006 19:24
Custom Field Function Question Jason FLUENT 0 August 4, 2004 10:23

All times are GMT -4. The time now is 11:23.