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

 July 1, 2009, 09:56 Question about twoSymm Function #1 Senior Member   Antonio Martins Join Date: Mar 2009 Location: Porto, Porto, Portugal Posts: 112 Rep Power: 8 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 script 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. Regards, Titio wangjl likes this.

 July 6, 2009, 06:32 #2 Senior Member   Henrik Rusche Join Date: Mar 2009 Location: Braunschweig, Niedersachsen, Germany Posts: 275 Rep Power: 9 Dear Titio, have a look here: \$FOAM_SRC/OpenFOAM/lnInclude/TensorI.H Henrik tiam and juaneco2710 like this.

 July 23, 2012, 09:48 #3 Member   wided Join Date: Jul 2010 Posts: 54 Rep Power: 6 //- Return twice the symmetric part of a tensor template inline SymmTensor twoSymm(const Tensor& t) { return SymmTensor ( 2*t.xx(), (t.xy() + t.yx()), (t.xz() + t.zx()), 2*t.yy(), (t.yz() + t.zy()), 2*t.zz() ); } tiam, juaneco2710 and chengyu like this.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post nzy102 OpenFOAM Bugs 14 January 10, 2012 09:53 skabilan OpenFOAM Running, Solving & CFD 9 July 3, 2008 12:07 jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51 Kerem FLUENT 0 April 3, 2006 19:24 Jason FLUENT 0 August 4, 2004 10:23

All times are GMT -4. The time now is 17:46.