CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

gamma-ReTheta turbulence model for predicting transitional flows

Register Blogs Community New Posts Updated Threads Search

Like Tree23Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2018, 22:45
Default
  #121
New Member
 
kevin
Join Date: Nov 2018
Posts: 6
Rep Power: 8
kevin.pku is on a distinguished road
Quote:
Originally Posted by klausb View Post
Hello,

please describe the simulation you are planning (airfoil, Reynolds number, Tu...) and your setup problems.

In general, it's a good idea to use a working case which uses a similar turbulence model as a starting point and make adjustments rather than creating a new setup from scratch. You could use a steady state (simpleFoam) case which uses e.g. kOmegaSST if you have one and you should look at the tutorials maybe there's a case using the model you want to use.

To get an idea about calculating the model specific initial values (specific 0 folder content for gammaInt and ReThetat) read the academic papers describing the model:

Langtry, R. B., & Menter, F. R. (2009).
Correlation-based transition modeling for unstructured parallelized
computational fluid dynamics codes.
AIAA journal, 47(12), 2894-2906.

Menter, F. R., Langtry, R., & Volker, S. (2006).
Transition modelling for general purpose CFD codes.
Flow, turbulence and combustion, 77(1-4), 277-303.

Langtry, R. B. (2006).
A correlation-based transition model using local variables for
unstructured parallelized CFD codes.
Phd. Thesis, Universität Stuttgart.

Klaus
Hello Klaus, could you please teach me how to set up the airfoil calculation with the KomegaSST transition model? Thank you very much. The following figures are my setup for U, k, ReThetat, maybe there have some errors.


u.JPG

k.JPG

ReThetat.JPG
kevin.pku is offline   Reply With Quote

Old   December 5, 2018, 11:30
Default
  #122
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22
klausb will become famous soon enough
Hi Kevin,


What airfoil do you have in mind? NACA0015....

I assume you're using an o-mesh but where's the inlet in your definitions?!

What are your mesh parameters incl. y+, #cells along the surface (about 300?), #cells in z-direction (about 140?)?
Here you can calculate your case specific turbulence properties: https://www.cfd-online.com/Tools/turbulence.php


Please post your boundary file from the constant/polyMesh directory.


Klaus
klausb is offline   Reply With Quote

Old   December 9, 2018, 22:20
Default
  #123
New Member
 
kevin
Join Date: Nov 2018
Posts: 6
Rep Power: 8
kevin.pku is on a distinguished road
Quote:
Originally Posted by klausb View Post
Hi Kevin,


What airfoil do you have in mind? NACA0015....

I assume you're using an o-mesh but where's the inlet in your definitions?!

What are your mesh parameters incl. y+, #cells along the surface (about 300?), #cells in z-direction (about 140?)?
Here you can calculate your case specific turbulence properties: https://www.cfd-online.com/Tools/turbulence.php


Please post your boundary file from the constant/polyMesh directory.


Klaus
Hi Klaus:

Thank you for your reply. My calculated airfoil is DU-93-W-210.

I use icem to generated a C-H type mesh, it was realized as follows
(1) generate a 2d airfoil unstructured mesh in the x, y directions
(2) extrude the mesh in the z direction. Since openfoam only accept the 3d unstructured mesh.

For the inlet, it is a line in the 2d mesh. So, I delete in in the 3d mesh after
extruding. Is that right?

Please find the boundary information in the attached file. Thank you.


boundary.JPG
kevin.pku is offline   Reply With Quote

Old   August 30, 2022, 12:50
Default Wmake
  #124
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
Quote:
Originally Posted by aloeven View Post
@salvatore

You have to compile a turbulence model as a library using: wmake libso

You can make a Make directory in the gammaThetatSST directory with two files: files and options.

files:
gammaReThetatSST.C
LIB = $(FOAM_USER_LIBBIN)/libGammaThetatSSTmodel

options:
EXE_INC = \
-I$(LIB_SRC)/turbulenceModels \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/turbulenceModels/incompressible/RAS/lnInclude
LIB_LIBS =


To use it, you have to add to system/controlDict :
libs ("libGammaThetatSSTmodel.so");

This is well explained here:
http://openfoamwiki.net/index.php/Si...ry_/_Tutorials
or here:
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2008/implementTurbulenceModel.pdf

I would put the model not under applications, but of course you're free to choose.

Good luck.
Alex.
Could you send the files for compilation? wmake and clean?
I did not understand what you said.
aerothermal is offline   Reply With Quote

Reply


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
Low Reynolds k-epsilon model YJZ ANSYS 1 August 20, 2010 14:57
Centrifugal Pump and Turbulence Model Michiel CFX 12 January 25, 2010 04:20
RSM & Transitional Flows!!! Erika FLUENT 0 March 31, 2006 11:56
Turbulence model Herry Phoenics 1 May 29, 2003 14:19
turbulent separated flows Yin Fidelity CFD 9 February 19, 2003 12:50


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