CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Inconsistent Eddy Viscosity

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Opaque
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2022, 15:09
Default Inconsistent Eddy Viscosity
  #1
New Member
 
Jonas
Join Date: Dec 2019
Posts: 15
Rep Power: 6
jonasa97 is on a distinguished road
Good evening,

I am encountering odd inconsistencies between the inbuilt eddy viscosity in CFD Post and the eddy viscosity, when manually defined according to the underlying equation.

Overview
CFX Pre version: 19.2
CFX Solve version: 20.2
Turbulence model: k-omega SST
Model corrections (production limiter, curvature correction etc.): None

Problem Description
I noticed that in some regions, the inbuilt "Eddy Viscosity" distribution differs significantly from the values I obtain when manually defining the eddy viscosity according to the definition (equation in this resource: https://turbmodels.larc.nasa.gov/sst.html), whereas in other regions the values are a perfect match. The main difference with the 'manual' definition is that high free stream eddy viscosity penetrates further towards the walls of my airfoil.

My expression for the 'manual' eddy viscosity is:

0.31*Density*Turbulence Kinetic Energy/max(0.31*Turbulence Eddy Frequency,Velocity.Curl*Second Blending Function for SST model)

Unless the equation is incorrect, why would the values differ from the inbuilt eddy viscosity?

Many thanks for any suggestions you might have!


EDIT: after some additional research into k-omega SST in ANSYS CFX, I have found that the production limiter is in fact enabled by default. As far as I understand the only way to prevent this is to specify an incredibly high custom production clip factor.

Last edited by jonasa97; May 6, 2022 at 18:07.
jonasa97 is offline   Reply With Quote

Old   May 6, 2022, 10:37
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
I think there is an error in your expression. From the link you posted, the expression says to use the "shear strain rate" which is not the "velocity.curl"

Omega*F2 term in the posted link represents the shear strain rate times the 2nd Blending Function
jonasa97 likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   May 6, 2022, 10:46
Default
  #3
New Member
 
Jonas
Join Date: Dec 2019
Posts: 15
Rep Power: 6
jonasa97 is on a distinguished road
Dear Opaque,


Thank you for your reply. It was indeed my definition which was at fault.


Apparently the original model from Menter's 1993 paper uses the vorticity (i.e. velocity curl), whereas CFX implements the 2003 revision, which uses the strain rate invariant instead of vorticity.


EDIT: for anyone wondering, my expressions are now:


strainInvariant = (2.0*((Velocity u.Gradient X)^2 + (Velocity v.Gradient Y)^2 + (Velocity w.Gradient Z)^2) + (Velocity u.Gradient Y + Velocity v.Gradient X)^2 + (Velocity u.Gradient Z + Velocity w.Gradient X)^2 + (Velocity v.Gradient Z + Velocity w.Gradient Y)^2)^0.5



EddyViscosity = 0.31*Density*Turbulence Kinetic Energy/max(0.31*Turbulence Eddy Frequency,strainInvariant*Second Blending Function for SST model)


which collapses values from the inbuilt and manually defined function.
jonasa97 is offline   Reply With Quote

Old   May 6, 2022, 11:26
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
Did you try using the built-in "Shear Strain Rate" variable?
jonasa97 likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   May 6, 2022, 12:16
Default
  #5
New Member
 
Jonas
Join Date: Dec 2019
Posts: 15
Rep Power: 6
jonasa97 is on a distinguished road
Yes, the in-built 'Shear Strain Rate' variable is identical to the 'invariantStrain' expression (in my previous post). I manually defined it from the velocity gradients because I didn't find 'Shear Strain Rate' when I first implemented the SST-2003 model definition for eddy viscosity.

I should have clarified in my previous post that my problem has been resolved. Thank you very much for your help.
jonasa97 is offline   Reply With Quote

Reply

Tags
cfx, eddy viscosity, sst k-omega, sst k-w


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
Clarification for the RANS-based turbulence model cfdnewb123 Main CFD Forum 6 April 27, 2020 14:10
LES question: Why must the eddy viscosity be rotation-invariant? ulfu Main CFD Forum 8 April 16, 2019 04:09
Problem with divergence TDK FLUENT 13 December 14, 2018 07:00
What is linear eddy viscosity toboto Main CFD Forum 2 January 12, 2018 19:30
Ratio of eddy viscosity to molecular viscosity : Laminar or turbulent flow? JuPa CFX 7 September 9, 2013 08:45


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