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

A few questions about Spalart Allmaras model and y

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

Like Tree1Likes
  • 1 Post By eugene

Reply
 
LinkBack Thread Tools Display Modes
Old   January 22, 2009, 06:45
Default Hi everyone, I am running t
  #1
New Member
 
Sébastien Bocquet
Join Date: Mar 2009
Posts: 21
Rep Power: 8
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, 15:06
Default The nutWallFunction will be sp
  #2
New Member
 
John.B
Join Date: Mar 2009
Posts: 14
Rep Power: 8
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, 04:13
Default Thanks for your help John S
  #3
New Member
 
Sébastien Bocquet
Join Date: Mar 2009
Posts: 21
Rep Power: 8
seb62 is on a distinguished road
Thanks for your help John

Seb
seb62 is offline   Reply With Quote

Old   January 23, 2009, 08:23
Default Hi Foamers, in your opinion,
  #4
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
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, 10:48
Default The Spalart-Allmaras model in
  #5
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
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, 11:06
Default Eugene, it seems that yPlusRA
  #6
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
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: 9
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: 43
Rep Power: 8
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, 14:09
Smile nutWallFunction
  #9
jms
Member
 
Josť
Join Date: Jan 2011
Posts: 73
Rep Power: 6
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

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
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 07:23
y+=1 or y+>30 in Spalart-Allmaras model Christian FLUENT 5 December 7, 2003 23:27


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