CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

sequence of Reynolds stress components

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By Thangam
  • 1 Post By lukasf
  • 2 Post By Tobermory

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2014, 06:32
Default sequence of Reynolds stress components
  #1
Member
 
Thangam Natarajan
Join Date: Dec 2010
Location: Perth
Posts: 70
Rep Power: 16
Thangam is on a distinguished road
what is the sequence of the Reynolds stress components that are written after a fieldAverage i.e UPrime2Mean. UPrime2Mean writes out 6 components but what is the sequence that OpenFoam writes? Is it R11, R22, R33, R12, R13 and R23 or is it R11, R12, R13, R22, R23 and R33? I cant figure out from the src code of fieldAverage!

Thanks.
Thangam is offline   Reply With Quote

Old   March 25, 2014, 06:43
Default
  #2
Member
 
Thangam Natarajan
Join Date: Dec 2010
Location: Perth
Posts: 70
Rep Power: 16
Thangam is on a distinguished road
Any starting points to look at??

Thanks.
Thangam is offline   Reply With Quote

Old   October 22, 2014, 18:04
Default
  #3
New Member
 
Rajib Roy
Join Date: Jun 2014
Location: Laramie, Wyoming
Posts: 18
Rep Power: 11
rajibroy is on a distinguished road
its R11, R12, R13, R22, R23 and R33

look at the value of any solution; R_ii should be always positive
rajibroy is offline   Reply With Quote

Old   October 23, 2014, 01:44
Default
  #4
Member
 
Thangam Natarajan
Join Date: Dec 2010
Location: Perth
Posts: 70
Rep Power: 16
Thangam is on a distinguished road
Hi Thanks for the clarification. But to avoid confusion on the order ofR_{ij}, following did the job for me! This will write out all the components in their respective folders!

Code:
foamCalc components UPrime2Mean -latestTime
babakflame likes this.
Thangam is offline   Reply With Quote

Old   November 3, 2014, 03:39
Default
  #5
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Greetings Thangam

Thanks for the code. Actually, by using this code, the confusion on Reynolds stress components sequence is removed.

Best,
Bobi
babakflame is offline   Reply With Quote

Old   April 27, 2020, 08:27
Default
  #6
Member
 
Gang Wang
Join Date: Oct 2019
Location: China
Posts: 64
Rep Power: 7
Gang Wang is on a distinguished road
Quote:
Originally Posted by Thangam View Post
what is the sequence of the Reynolds stress components that are written after a fieldAverage i.e UPrime2Mean. UPrime2Mean writes out 6 components but what is the sequence that OpenFoam writes? Is it R11, R22, R33, R12, R13 and R23 or is it R11, R12, R13, R22, R23 and R33? I cant figure out from the src code of fieldAverage!

Thanks.
Hi!

I know it's a very old thread and post but recently I'm also engaged in this topics. I'd like to know UPrime2Mean is exactly the Reynolds Stress tensor, right?

Best,
Gang
Gang Wang is offline   Reply With Quote

Old   December 10, 2020, 11:05
Default
  #7
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Quote:
Originally Posted by Gang Wang View Post
Hi!

I know it's a very old thread and post but recently I'm also engaged in this topics. I'd like to know UPrime2Mean is exactly the Reynolds Stress tensor, right?

Best,
Gang
yes it is so
ari003 is offline   Reply With Quote

Old   May 21, 2021, 06:17
Default
  #8
Senior Member
 
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 7
lukasf is on a distinguished road
I can confirm the following sequence of UPrime2Mean.


OpenFOAM (v1912):

1. Rxx
2. Rxy
3. Rxz
4. Ryy
4. Ryz
6. Rzz


ParaView:

1. Rxx
2. Ryy
3. Rzz
4. Rxy
4. Ryz
6. Rxz


I checked it doing the following:

Write the UPrime2Mean field by using a fieldAverage function in the controlDict.I opened the solution with Paraview and choose the calculator filter. Next selected attribute type: cell data.
Result array name e.g. result
Select scalars e.g. UPrime2Mean_XX _YY and so on.

Open a spread sheet view and compare the value with your OpenFoam solution file.
Teresa Sun likes this.
lukasf is offline   Reply With Quote

Old   May 21, 2021, 12:19
Default
  #9
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 668
Rep Power: 14
Tobermory will become famous soon enough
Quote:
I can confirm the following sequence of UPrime2Mean.


OpenFOAM (v1912):

1. Rxx
2. Rxy
3. Rxz
4. Ryy
4. Ryz
6. Rzz
I like your empirical approach. You could of course just look in the code - UPrime2Mean is a symmetric tensor, and the components are enumerated on line 77 of SymmTensor.H:

Code:
      //- Component labeling enumeration
     enum components { XX, XY, XZ, YY, YZ, ZZ };
The equivalent for a non-symmetric tensor can be found on line 88 of Tensor.H:
Code:
     //- Component labeling enumeration
     enum components { XX, XY, XZ, YX, YY, YZ, ZX, ZY, ZZ };
lukasf and Teresa Sun like this.
Tobermory is offline   Reply With Quote

Reply

Tags
les, reynolds shear stress, turbulence analysis


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing the components of the resolved Reynolds stress tensor in a LES flotus1 FLUENT 8 January 21, 2013 03:34
Reynolds Stress Models Jade M Main CFD Forum 0 April 21, 2010 16:38
reynolds stress components in CEL Roberto CFX 0 December 3, 2008 03:29
get the value of six Reynolds Stress components? July CFX 2 June 24, 2008 09:19
reynolds normal and shear stress components saran Siemens 0 August 28, 2006 00:54


All times are GMT -4. The time now is 20:42.