|
[Sponsors] |
July 1, 2009, 10:56 |
Question about twoSymm Function
|
#1 |
Senior Member
|
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 |
|
July 6, 2009, 07:32 |
|
#2 |
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18 |
Dear Titio,
have a look here: $FOAM_SRC/OpenFOAM/lnInclude/TensorI.H Henrik |
|
July 23, 2012, 10:48 |
|
#3 |
Member
wided
Join Date: Jul 2010
Posts: 54
Rep Power: 16 |
//- 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()), 2*t.zz() ); } |
|
June 11, 2018, 04:11 |
|
#4 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
I have this question too, is there any difference between Code:
grad(U) + transpose (grad (U)) Code:
twoSymm (U) |
||
December 9, 2018, 07:23 |
|
#5 |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10 |
Hello,
If I want to write Sē, how do I do it? I need to write sqrt(Sijē)... but it has not worked. |
|
April 28, 2020, 04:11 |
|
#6 |
Senior Member
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11 |
||
|
|
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 13:07 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
UDF question | Kerem | FLUENT | 0 | April 3, 2006 20:24 |
Custom Field Function Question | Jason | FLUENT | 0 | August 4, 2004 11:23 |