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

post-processing utility R, calculating Reynolds stress tensor

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 3, 2010, 05:35
Default post-processing utility R, calculating Reynolds stress tensor
  #1
New Member
 
Volker Tritschler
Join Date: Jan 2010
Posts: 20
Rep Power: 5
volker is on a distinguished road
Hi,

I experienced a problem when using the post-processing utility R to evaluate the Reynolds stress tensor based on a compressible simulation using a kEpsilon turbulence model. The Reynolds stress tensor is needed as initialization for a RSM simulation.
The problem I experienced is basically related to the compressible nature of my simulation and it seems that the R-utility is written exclusively for incompressible flows (makes use of transportProperties file).
I searched already the forum without success.
Does anybody have a suggestion how to resolve that issue?


I'm happy about any idea.


Greets, Volker
volker is offline   Reply With Quote

Old   February 28, 2010, 13:02
Default
  #2
Member
 
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 65
Rep Power: 5
SD@TUB is on a distinguished road
Hello Volker,

reading in Doxygen --> base class for incompressible turbulence models, i guess that R just work for incompressible turbulent calcualtions so far.

I tried some sampling with your mentioned tool and i'm a little confused, 'cause i get six columns for the reynolds stress tensor in my output file!
Could you/someone explain me the columns? In Doxygen i can't find the source of the utility R!
For future development of post-processing tools it would be useful to include an obvious header to the produced output files.


Regards,
/Stefan
SD@TUB is offline   Reply With Quote

Old   April 13, 2011, 12:46
Default
  #3
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 358
Rep Power: 12
chegdan will become famous soon enough
Quote:
Originally Posted by SD@TUB View Post
Hello Volker,

reading in Doxygen --> base class for incompressible turbulence models, i guess that R just work for incompressible turbulent calcualtions so far.

I tried some sampling with your mentioned tool and i'm a little confused, 'cause i get six columns for the reynolds stress tensor in my output file!
Could you/someone explain me the columns? In Doxygen i can't find the source of the utility R!
For future development of post-processing tools it would be useful to include an obvious header to the produced output files.


Regards,
/Stefan
I know this is old, but I thought I would answer anyway.

You only have 6 components because you have a symmetric tensor Rxx, Ryy, Rzz, Rxy, Rxz, Ryz. that means that Rxy=Ryx, Rxz=Rzx, and Ryz=Rzy.
chegdan is offline   Reply With Quote

Old   May 1, 2013, 23:39
Default
  #4
New Member
 
Rajesh Kumar
Join Date: Apr 2009
Posts: 19
Rep Power: 6
rajeshkunwar is on a distinguished road
Hi Volker,

I am also facing the same problem while getting Reynolds stress. Did u solve this issue? If yes, please post the solution so that others can also get benefited.

Regards
Rajesh
rajeshkunwar is offline   Reply With Quote

Old   May 2, 2013, 08:40
Default
  #5
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 358
Rep Power: 12
chegdan will become famous soon enough
You can make a custom tool to calculate R for compressible cases. To create a compressible turbulence model you will need to read in:

Code:
    Info<< "Creating turbulence model\n" << endl;
    autoPtr<compressible::turbulenceModel> turbulence
    (
        compressible::turbulenceModel::New
        (
            rho,
            U,
            phi,
            thermo
        )
    );
So you will need a thermo object to pass to the constructor. Basically, you will have to look at a compressible solver (e.g. rhoPimpleFoam) and add things like a compressible phi, thermo from basiPsiThermo, etc. Most of these changes are in the createFields.H file in the R utility....but I suggest you make your own utility separately called something like "Rcompressible". Additioanlly, you will have to change some entries in the Make/Options file to let the compiler know where to search for these new "compressible" classes. Hope this helps.
__________________
Dan

on twitter @dancombest

Last edited by chegdan; May 2, 2013 at 16:25. Reason: more details
chegdan is offline   Reply With Quote

Old   May 2, 2013, 13:09
Default
  #6
New Member
 
Rajesh Kumar
Join Date: Apr 2009
Posts: 19
Rep Power: 6
rajeshkunwar is on a distinguished road
Thanks Mr. Daniel for your help.

I have created the utility for computing Reynolds stresses for compressible solver.

Regards
Rajesh
rajeshkunwar is offline   Reply With Quote

Reply

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
Reynolds Stress Boundary Conditions tstorm FLUENT 0 July 27, 2009 14:44
Post processing - Wall shear stress Carlo CD-adapco 1 March 4, 2009 07:35
Questions about the Reynolds stress model empirer2002 Main CFD Forum 1 January 5, 2006 07:37
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 11:59


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