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

A few questions about Spalart Allmaras model and y

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By eugene

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2009, 05:45
Default Hi everyone, I am running t
  #1
New Member
 
Sébastien Bocquet
Join Date: Mar 2009
Posts: 21
Rep Power: 17
seb62 is on a distinguished road
Hi everyone,

I am running turbulent flat plate computations
mainly with Spalart Allmaras model on version 1.5.

My first doubt is about the y+(first node) value. Trying to run yPlusRAS with the Spalart
model on, I get an error "cmu is not defined".
Thus, to check the y+ value, I use the definition :

y+ = y(first node)*(sigmaxy)^0.5 / nu

I'm wondering if this definition is consistent with the openFOAM definition of y+
(trying the k-w SST, I get very different y+ between this definition and yPlusRAS).

My second question is about nutWallFunctions.
I read a few threads where people are using this boundary condition. Does someone know where it should be specified? (in constant/polyMesh/boundary or 0/nut ; 0/nuTilda)?

If someone has successfully run Spalart-Allmaras computations on a flat plate with velocity profiles consistent with the theoretical/experimental log law, eventually for different y+ (1 to 30 say), I would be happy to learn the conditions used!

Thanks a lot

Seb
seb62 is offline   Reply With Quote

Old   January 22, 2009, 14:06
Default The nutWallFunction will be sp
  #2
New Member
 
John.B
Join Date: Mar 2009
Posts: 14
Rep Power: 17
johnb is on a distinguished road
The nutWallFunction will be specified in 0/nut as type nutWallFunction with a fixedValue of 1e-10 at the wall boundaries.

John
johnb is offline   Reply With Quote

Old   January 23, 2009, 03:13
Default Thanks for your help John S
  #3
New Member
 
Sébastien Bocquet
Join Date: Mar 2009
Posts: 21
Rep Power: 17
seb62 is on a distinguished road
Thanks for your help John

Seb
seb62 is offline   Reply With Quote

Old   January 23, 2009, 07:23
Default Hi Foamers, in your opinion,
  #4
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi Foamers,
in your opinion, what should be a good y+ value for a Spalart Almaras RANS on a flat plate, Mach 0.06 and Re 1.3e5?
And, how can I compute y+ in Spalart Almaras model?
Thanks...
ivan_cozza is offline   Reply With Quote

Old   January 23, 2009, 09:48
Default The Spalart-Allmaras model in
  #5
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
The Spalart-Allmaras model in OPENFOAM is essentially a hybrid formulation. Any y+ between 1 and 300 should in theory work fine, especially on a flat plate. In practice, it probably will be less accurate at large y+ values since the turbulence production terms in near-wall cells have not been modified in a manner consistent with the wall-function formulation.

The application yPlusRAS should provide you with the y+ field.
mm.abdollahzadeh likes this.
eugene is offline   Reply With Quote

Old   January 23, 2009, 10:06
Default Eugene, it seems that yPlusRA
  #6
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Eugene,
it seems that yPlusRAS does not work with SA, as it complains that there isn't Cmu in this model. Is possible to modify this app to make it work with Spalart Allmaras?
And, you mean with hybrid that I can use SA in all the range of 1<y+<300 with nutWallFunction as bc for nut?
Thanks,
Ivan
ivan_cozza is offline   Reply With Quote

Old   April 24, 2009, 08:23
Default
  #7
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
Ivan,

Did you add Cmu to your SpalartAllmarasCoeffs subdictionary in RASProperties?

This works for me when running yPlusRAS and the SA model,

Eric
egp is offline   Reply With Quote

Old   July 13, 2009, 10:54
Default
  #8
Member
 
Etienne Lorriaux
Join Date: Mar 2009
Location: Compiegne, France
Posts: 45
Rep Power: 17
elorriaux is on a distinguished road
Hello,

I'm getting the same problem although the Cmu coefficient is defined in the SpalartAllmaras dictionary.

Looking in the code, yPlusRAS uses RASModel->yPlus(patchID) function to get yPlus at patches. The yPlus volScalarField is computed in RASModel.C :

Yp = pow(Cmu, 0.25)*y_[patchNo] *sqrt(k(().boundaryField([patchNo].patchInternalField())
/nu().boundaryField()[patchNo];


Obviously the turbulent kinetic energy is set to 0, so i'm getting y+=0 for each wall. (I've checked that they are correctly defined as walls in the boundary file).

Am I doing wrong or am I missing something ?

Regards Etienne.
elorriaux is offline   Reply With Quote

Old   January 15, 2011, 13:09
Smile nutWallFunction
  #9
jms
Member
 
José
Join Date: Jan 2011
Posts: 73
Rep Power: 15
jms is on a distinguished road
Do any of you know the physical meaning of this "nutWallFunction value uniform=0(or 1e-10 basedon an answer above)"?
jms 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
Spalart-Allmaras model ganesh Main CFD Forum 7 July 2, 2013 04:14
Spalart-Allmaras model metisuser Main CFD Forum 0 August 6, 2008 08:59
Spalart Allmaras model Muhammad Shakaib Main CFD Forum 1 August 3, 2006 08:57
About Spalart Allmaras Model SUNIL Main CFD Forum 0 December 2, 2005 06:23
y+=1 or y+>30 in Spalart-Allmaras model Christian FLUENT 5 December 7, 2003 22:27


All times are GMT -4. The time now is 16:41.