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

k-Omega SST with curvature correction

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 3 Post By ancolli
  • 1 Post By MazenDraw

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2013, 12:24
Default k-Omega SST with curvature correction
  #1
Member
 
Luca
Join Date: Mar 2013
Posts: 59
Rep Power: 13
LM4112 is on a distinguished road
Dear all,

Does anybody know how to enable the curvature correction in the k Omega SST model? I am using OpenFOAM 2.1. Thank you

best regards
Luca
LM4112 is offline   Reply With Quote

Old   October 2, 2013, 16:15
Default
  #2
Member
 
Luca
Join Date: Mar 2013
Posts: 59
Rep Power: 13
LM4112 is on a distinguished road
Bump...does anybody know?
LM4112 is offline   Reply With Quote

Old   October 3, 2013, 06:06
Default
  #3
Member
 
cosimo bianchini
Join Date: Mar 2009
Location: Florence, Tuscany, Italy
Posts: 88
Rep Power: 17
cosimobianchini is on a distinguished road
Send a message via Skype™ to cosimobianchini
I'm not aware of any rotation or curvature sensitized kOmegaSST in OpenFOAM.
Very glad to discover I'm wrong
Can you please provide more details on what you actually mean?
__________________
Cosimo Bianchini

Ergon Research s.r.l.
Via Panciatichi, 92
50127 Florence - ITALY
Tel: +39 055 0763716
Mob: +39 320 9460153
e-mail: cosimo.bianchini@ergonresearch.it
URL: www.ergonresearch.it
cosimobianchini is offline   Reply With Quote

Old   October 3, 2013, 06:18
Default
  #4
Member
 
Luca
Join Date: Mar 2013
Posts: 59
Rep Power: 13
LM4112 is on a distinguished road
Quote:
Originally Posted by cosimobianchini View Post
I'm not aware of any rotation or curvature sensitized kOmegaSST in OpenFOAM.
Very glad to discover I'm wrong
Can you please provide more details on what you actually mean?
I am investigating a flow that is characterised by highly curved streamlines. The k-Omega SST is based on the Boussinesq appox then the Re stress tensor is forced to be aligned to the mean strain rate tensor. I have tried to use a RSTM turbulence model as it solves directly the Re stress tensor (then it avoids this problem) but it much more computational expensive. For this reason I would like to use a curvature correction in a 2-eq model. This correction term is described in this paper: " Shur, M. L., Strelets, M. K., Travin, A. K., Spalart, P. R., "Turbulence Modeling in Rotating and Curved Channels: Assessing the Spalart-Shur Correction," AIAA Journal Vol. 38, No. 5, 2000, pp. 784-792."

Surfing internet I have found out that someone has already developed a modified k-Omega SST library with the curvature correction term:

https://github.com/Unsupported-Contr...x/pull/7/files (however now it seems that the website is down).
LM4112 is offline   Reply With Quote

Old   October 3, 2013, 16:49
Default
  #5
Member
 
Join Date: Jun 2011
Posts: 51
Rep Power: 14
cfdivan is on a distinguished road
Hi LM4112,

"https://github.com/Unsupported-Contr...x/pull/7/files (however now it seems that the website is down)". What u mean?

I tried the website and works fine. I guess you can find the code that you are looking for there.

Regards,
cfdivan is offline   Reply With Quote

Old   October 4, 2013, 03:27
Default
  #6
Member
 
Luca
Join Date: Mar 2013
Posts: 59
Rep Power: 13
LM4112 is on a distinguished road
Quote:
Originally Posted by cfdivan View Post
Hi LM4112,

"https://github.com/Unsupported-Contr...x/pull/7/files (however now it seems that the website is down)". What u mean?

I tried the website and works fine. I guess you can find the code that you are looking for there.

Regards,
Now it is working, yesterday when I wrote the post it wasn't .
LM4112 is offline   Reply With Quote

Old   November 9, 2013, 20:16
Default
  #7
Member
 
Join Date: Aug 2013
Posts: 50
Rep Power: 12
nash is on a distinguished road
hi Luca,

have you tried the kOmegaSST with rotation correction? How was it?
nash is offline   Reply With Quote

Old   August 8, 2018, 16:35
Default
  #8
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 128
Rep Power: 12
ancolli is on a distinguished road
Any news about the implemented version of the kOmegaSST with curvature correction?
ancolli is offline   Reply With Quote

Old   August 13, 2018, 03:57
Default
  #9
Senior Member
 
Syavash Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
It looks that the web address of the code is down! Any one here to share the code?
syavash is offline   Reply With Quote

Old   August 13, 2018, 08:07
Default
  #10
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 128
Rep Power: 12
ancolli is on a distinguished road
I have updated the previous version (https://github.com/cvillescas/TkOmegaSSTCC) valid for OF 2 to the new template based formulation.
I have tested it in OF 5

https://github.com/ancolli/kOmegaSSTCC
ancolli is offline   Reply With Quote

Old   September 9, 2020, 10:13
Default
  #11
New Member
 
Mazen Draw
Join Date: Sep 2018
Posts: 21
Rep Power: 7
MazenDraw is on a distinguished road
Quote:
Originally Posted by ancolli View Post
I have updated the previous version (https://github.com/cvillescas/TkOmegaSSTCC) valid for OF 2 to the new template based formulation.
I have tested it in OF 5

https://github.com/ancolli/kOmegaSSTCC

Dear Ancolli,


I know this is sort of an old thread, but I have some confusion reading your code that I hope you would help me clearify.


In the beginning, you define the strain rate tensor S and vorticity tensor \Omega as tSymm and tSkew, respectively:


Code:
tmp<volTensorField> tgradU = fvc::grad(U);
tmp<volSymmTensorField> tSymm = symm(tgradU());
tmp<volTensorField> tSkew = skew(tgradU());
Then you define S^2 and \Omega^2 as:
Code:

volScalarField symInnerProduct(2.0*tSymm() && tSymm());
volScalarField asymInnerProduct
(
    max(2.0*tSkew() && tSkew(),dimensionedScalar("0", dimensionSet(0, 0, -2, 0, 0), 0.0))
);
So now my first question is that: have you not included the rotation rate tensor from the rotating reference frame \Omega^{rot} that is included in the vorticity tensor in (Smirnov and Menter 2009)?


Then you continue with:
Code:
volScalarField w
(
     atan(dimensionedScalar("4",dimensionSet(0,0,2,0,0),1.0e02)*asymInnerProduct)*2.0
    /(constant::mathematical::pi)*(asymInnerProduct-symInnerProduct)
   + symInnerProduct
 );



volScalarField rStar
(
    sqrt(symInnerProduct/max(w, dimensionedScalar("minw", w.dimensions(), SMALL)))
);
And now I am confused as what exactly is w? and why is rStar definded as \sqrt(S^2/w) and not as it is defined in the paper?


The same occurs later with rTilda as you defined it based on w2, which is also an unknown variable to me, and not how it is defined in the paper based on \Omega.

I would appreciate it very much if you take the time to clearify this to me! Thanks in advance!



Regards,
Mazen
wind_ likes this.
MazenDraw is offline   Reply With Quote

Old   September 9, 2020, 10:27
Default
  #12
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 128
Rep Power: 12
ancolli is on a distinguished road
Quote:
Originally Posted by MazenDraw View Post
Dear Ancolli,


I know this is sort of an old thread, but I have some confusion reading your code that I hope you would help me clearify.


In the beginning, you define the strain rate tensor S and vorticity tensor \Omega as tSymm and tSkew, respectively:


Code:
tmp<volTensorField> tgradU = fvc::grad(U);
tmp<volSymmTensorField> tSymm = symm(tgradU());
tmp<volTensorField> tSkew = skew(tgradU());
Then you define S^2 and \Omega^2 as:
Code:

volScalarField symInnerProduct(2.0*tSymm() && tSymm());
volScalarField asymInnerProduct
(
    max(2.0*tSkew() && tSkew(),dimensionedScalar("0", dimensionSet(0, 0, -2, 0, 0), 0.0))
);
So now my first question is that: have you not included the rotation rate tensor from the rotating reference frame \Omega^{rot} that is included in the vorticity tensor in (Smirnov and Menter 2009)?


Then you continue with:
Code:
volScalarField w
(
     atan(dimensionedScalar("4",dimensionSet(0,0,2,0,0),1.0e02)*asymInnerProduct)*2.0
    /(constant::mathematical::pi)*(asymInnerProduct-symInnerProduct)
   + symInnerProduct
 );



volScalarField rStar
(
    sqrt(symInnerProduct/max(w, dimensionedScalar("minw", w.dimensions(), SMALL)))
);
And now I am confused as what exactly is w? and why is rStar definded as \sqrt(S^2/w) and not as it is defined in the paper?


The same occurs later with rTilda as you defined it based on w2, which is also an unknown variable to me, and not how it is defined in the paper based on \Omega.

I would appreciate it very much if you take the time to clearify this to me! Thanks in advance!



Regards,
Mazen
Hi Mazen,
I do not really remember the details. But, with regards to your first question. Effectively, I have used the code for a non rotating reference frame. Thus, in your case u should include it.*With regards to w and the definition of rstar. I only updated the old code (https://github.com/cvillescas/TkOmegaSSTCC) to newer versions of OpenFOAM.
U must contact the original developers.
Regards
ancolli 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
overshooting of Omega in SST komega using simpleFoam cm_jubayer OpenFOAM 2 June 7, 2020 12:52
Floating point exceptions with own modified k-omega SST with Reboud's correction A_Pete OpenFOAM Programming & Development 3 October 18, 2016 01:45
Boundary Conditions for k omega SST dancfd OpenFOAM Pre-Processing 0 June 9, 2011 23:25
How to use SST Curvature Correction mike wilson CFX 11 December 19, 2010 16:04
curvature correction term, material derivative of a tensor volker OpenFOAM Programming & Development 7 June 3, 2010 08:08


All times are GMT -4. The time now is 03:40.