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

turbulence(eddy) viscosity in Ansys CFX

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2018, 21:32
Smile turbulence(eddy) viscosity in Ansys CFX
  #1
New Member
 
Min Zhang
Join Date: Nov 2017
Location: China
Posts: 22
Rep Power: 9
modest_may is on a distinguished road
In Ansys CFX, the eddy (turbulence) viscosity can be specified in the Turbulence option (Domain->Fluid Models->Turbulence->Advanced Turbulence Control->Eddy Viscosity). The Ansys Help documentation denotes that the defined eddy viscosity will be picked up by the specified turbulence model and the internal algorithm will not be used. Does anyone know that what's the internal algorithm for the CFX solver?

In fact, i am encountering a problem that a flow field needs to be calculated by solving the NS governing equations, while the eddy viscosity at each grid node of the domain is known in advance (this can be specified using the initialize profile function). In this case, I wonder that whether the turbulence model still needs to be solved? If the eddy viscosity is known, what's the function of the turbulence model?

Hope to receive any kind reply.

Sincerely,
Min
modest_may is offline   Reply With Quote

Old   October 11, 2018, 22:04
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,862
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If the eddy viscosity is known then there is no need for a turbulence model. But an easier way of fixing the turbulence model and running the mass and momentum equations is to do a normal restart from the initial run, but to turn the turbulence equation solvers off with expert parameters. This will be easier to implement than overwriting the eddy viscosity.

But I am puzzled why you would want to do this. The turbulence field is coupled to the flow field, so changing one will change the other. Why would you want to run just the flow equations but keep the turbulence fixed? When the flow variables change then so will the turbulence variables.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 11, 2018, 22:20
Default
  #3
New Member
 
Min Zhang
Join Date: Nov 2017
Location: China
Posts: 22
Rep Power: 9
modest_may is on a distinguished road
Thank you, sir, for your kind advice.

In fact, this problem is simulated for modeling an adjoint system in the adjoint optimization. This adjoint equation is similar to the primary governing equation, and the eddy viscosity should be the same in both two equations when using a "frozen turbulence" assumption. Details can be referred to Zymaris et al. [1]. I reckon that there may be no physical meaning but just have mathematical foundation for the adjoint problem.

According to your reply, i have an another question: if we use k-omega (ω) turbulence mode and do not turn the turbulence modeling off with the expert parameters, can the k and ω be solved under the known eddy viscosity?


[1]A.S. Zymaris, D.I. Papadimitriou, K.C. Giannakoglou, C. Othmer, Continuous adjoint approach to the Spalart-Allmaras turbulence model for incompressible flows, Comput. & Fluids 38 (8) (2009) 1528–1538.[/SIZE][/SIZE]
modest_may is offline   Reply With Quote

Old   October 11, 2018, 23:58
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,862
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I do not understand your k-w question.

Are you asking whether you can run the k-w turbulence model but overwrite the eddy viscosity and just use a pre-determined eddy viscosity? (Answer: Then why run the k-w turbulence model?)

Or are you asking whether we can determine the k and omega field values are for a specified eddy viscosity field? (Answer: no, this is an inverse question and they are complex to solve. There is no simple way of doing this.).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 12, 2018, 00:51
Default
  #5
New Member
 
Min Zhang
Join Date: Nov 2017
Location: China
Posts: 22
Rep Power: 9
modest_may is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I do not understand your k-w question.

Are you asking whether you can run the k-w turbulence model but overwrite the eddy viscosity and just use a pre-determined eddy viscosity? (Answer: Then why run the k-w turbulence model?)

Or are you asking whether we can determine the k and omega field values are for a specified eddy viscosity field? (Answer: no, this is an inverse question and they are complex to solve. There is no simple way of doing this.).
What I want to know is whether we can get the k and omega field under a specified eddy viscosity field, and this is the reason why run the k-ω turbulence model, even if this running may have no physical meaning.

In fact, the reason for getting k and omega field values is also attributed to the adjoint method. Zymaris et al. (above Ref.[1]) derived the adjoint SA turbulence model and I am trying to deduce the adjoint k-ω turbulence model. Meanwhile, Papoutsis-Kiachagias and Giannakoglou [2] derived the adjoint k-ε turbulence model. I use their results here to explain. The primary and adjoint governing and k-ε turbulence model equations is shown in Figures 1-2.

First, the primary equations are sloved and the eddy viscosity (v_t) is obtained. Then, in the adjoint system, with the known eddy viscosity (v_t), k and ε values should be calculated by solving the adjoint k-ε turbulence model, see Eq.s (58b)-(58c) in Fig.2. Solved k and ε are used to add source terms to adjoint momentum equations, i.e. AMSi in Eq.(56) in Fig.1. Those source terms are functions of adjoint k and ε as implied by Eq.(57b).

So similar procedure will be conducted to the adjoint system with k-omega model.

I am sorry if it sounds a little complicated. Nevertheless, i will try to solve this problem. Thank you, sir. I really appreciate your reply.

It is too late now and i am so sorry to bother you. Thank you and have a good rest.
Attached Images
File Type: jpg Figure 1 Primary_Adjoint_Governing Equation.jpg (71.5 KB, 40 views)
File Type: jpg Figure 2 Primary_Adjoint_k-e model.jpg (94.8 KB, 35 views)
modest_may is offline   Reply With Quote

Old   October 12, 2018, 00:52
Default
  #6
New Member
 
Min Zhang
Join Date: Nov 2017
Location: China
Posts: 22
Rep Power: 9
modest_may is on a distinguished road
PS:
Ref.[2] E.M. Papoutsis-Kiachagias and K. C. Giannakoglou.Continuous Adjoint Methods for Turbulent Flows, Applied to Shape and Topology Optimization: Industrial Applications.Arch Computat Methods Eng (2016) 23:255–299.
modest_may is offline   Reply With Quote

Old   October 12, 2018, 05:46
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,862
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is a research question, so I will leave it up to you to solve it and publish the paper on it

Some comments from me:
* Basic mathematics says you can't get k and omega/epsilon from an eddy viscosity field. In short, you only have one input variable and are looking for two output variables. You need more information. The additional information could come from many places (boundary conditions, momentum or mass equation coupling etc)
* Getting the k and omega/epsilon from an eddy viscosity field is an inverse problem (https://en.wikipedia.org/wiki/Inverse_problem). I already said this - they are a particularly difficult area of mathematics so do not expect any easy answers here.
* The SA turbulence model is far simpler than the two equation k-omega or k-epsilon equations. Deriving the adjoint equations for these two equation models will be significantly more complex than SA. But I suspect you already knew this
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 12, 2018, 06:05
Default
  #8
New Member
 
Min Zhang
Join Date: Nov 2017
Location: China
Posts: 22
Rep Power: 9
modest_may is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
This is a research question, so I will leave it up to you to solve it and publish the paper on it

Some comments from me:
* Basic mathematics says you can't get k and omega/epsilon from an eddy viscosity field. In short, you only have one input variable and are looking for two output variables. You need more information. The additional information could come from many places (boundary conditions, momentum or mass equation coupling etc)
* Getting the k and omega/epsilon from an eddy viscosity field is an inverse problem (https://en.wikipedia.org/wiki/Inverse_problem). I already said this - they are a particularly difficult area of mathematics so do not expect any easy answers here.
* The SA turbulence model is far simpler than the two equation k-omega or k-epsilon equations. Deriving the adjoint equations for these two equation models will be significantly more complex than SA. But I suspect you already knew this
OK, sir, I will keep on going to solve this problem. Again, thank you very much for your suggestions.
modest_may is offline   Reply With Quote

Reply

Tags
cfx, eddy viscosity, turbulence model

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Computing for ANSYS CFX R17 Noco CFX 7 January 17, 2018 17:14
Compressible Flow in Ansys CFX bcheruk CFX 15 July 6, 2017 07:30
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Exporting results from CFX to ANSYS ?? sohail ahmed CFX 1 December 20, 2007 02:10
CFX bought by Ansys - good or bad?! Pete CFX 38 February 21, 2003 08:34


All times are GMT -4. The time now is 07:06.