CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Number of equation by using eddy viscosity turbulence models

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2019, 07:29
Default Number of equation by using eddy viscosity turbulence models
  #1
New Member
 
Join Date: May 2019
Posts: 18
Rep Power: 7
bumper is on a distinguished road
Hello,

i'm trying to understand the theory behind the eddy viscosity turbulence modelling.

First i'm doing the RANS approach on the conservation equations and i get the Reynolds Stress tensor like in the picture (Reynold_Stress_Tensor) below. Each line characterize the additonal terms that i get in the three momentum equation. By choosing a eddy viscosity turbulence model, i use the approach of Boussinesq for modelling the expressions of the Reynolds Stress Tensor. There is an unknown variable, the turbulent viscosity. The definition of the turbulent viscosity depends on the choosen turbulence model. Let's choose the k-epsilon model for example.

https://www.cfd-online.com/Wiki/Stan...-epsilon_model

In the equations of k and epsilon, you can find the indices i and j which go from 1 to 3 each (direction x,y,z). If i=1, j could be 1,2,3, so i have 3 equations in total for k in x-direction ? All in all i have 9 equations for k and 9 equations for epsilon? Than i have lots of opportunities to calculate the turbulent viscosity and the entries of the Reynolds Stress Tensor.

Or do i have just 9 additonal equations (one for each entrie of the Reynolds Stress Tensor). For example i want to calculate the first entry. Than, i and j are 1 and it "goes down" to the equation of the turbulence model?

So the main question is, how many equations do i get in total. I hope that i describe my problem in a good way. It would be great if someone could explain it to me.

Thanks a lot,

bumper
Attached Images
File Type: png Reynold_Stress_Tensor.PNG (5.2 KB, 17 views)
bumper is offline   Reply With Quote

Old   July 30, 2019, 09:50
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,681
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You get 3 scalar momentum equations because it's a 3-dim vector. Really you could equivalently say you have 1 momentum equation.

You get 1 equation for k and 1 equation for epsilon because they're both scalars. The fact that you see an i,j, or k in the k and epsilon equations doesn't really mean you get 3 new equations each. If you write out the entire equations, you'll find there is just 1 equation each. You have to follow the summation rules for the notation being used.

Even though the Stress Tensor has 9 entries in the matrix, you still get 3 momentum equations. You have to pay attention to the products of vectors and tensors.


What you need to get the turbulent viscosity is k and epsilon. Once the turbulent viscosity is known, you get all the components of the reynolds stress tensor from the boussinesq hypothesis. You get k and epsilon by solving their transport equations, respectively.
LuckyTran is offline   Reply With Quote

Old   July 30, 2019, 11:13
Default
  #3
New Member
 
Join Date: May 2019
Posts: 18
Rep Power: 7
bumper is on a distinguished road
Okay, i have three momentum equations, that's clear. 3 entries (one line) of the Reynolds Stress Tensor belong to one momentum equation.

So the i,j or k in the equation for the energy or dissipation doesn"t mean, that i get a 3dimensional equation. There is only one equation for the energy k and one for the dissipation rate.
Which summation rules do you mean? I see just a partial derivation. That's the reason why i was expacting 3 equation each.

Can you show me how the entire equation looks like?

Thanks a lot for your help.
bumper is offline   Reply With Quote

Old   July 30, 2019, 11:16
Default
  #4
Member
 
E
Join Date: Mar 2018
Posts: 77
Rep Power: 8
IbizaFR is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
You get 3 scalar momentum equations because it's a 3-dim vector. Really you could equivalently say you have 1 momentum equation.

You get 1 equation for k and 1 equation for epsilon because they're both scalars. The fact that you see an i,j, or k in the k and epsilon equations doesn't really mean you get 3 new equations each. If you write out the entire equations, you'll find there is just 1 equation each. You have to follow the summation rules for the notation being used.

Even though the Stress Tensor has 9 entries in the matrix, you still get 3 momentum equations. You have to pay attention to the products of vectors and tensors.


What you need to get the turbulent viscosity is k and epsilon. Once the turbulent viscosity is known, you get all the components of the reynolds stress tensor from the boussinesq hypothesis. You get k and epsilon by solving their transport equations, respectively.
Thank you.

Can you suggest a book with numerical schemes solving k and epsilon equations? Many of CFD books describe for example SIMPLE, SIMPLER, PISO etc algorithms but do not mention numerical methods for solving for example k-epsilon equations.
IbizaFR is offline   Reply With Quote

Old   July 31, 2019, 12:20
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,681
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by bumper View Post
Okay, i have three momentum equations, that's clear. 3 entries (one line) of the Reynolds Stress Tensor belong to one momentum equation.
No that's not how it works. It's not one line of the stress tensor going into each equation, you'll find terms from other lines. 3 versus 1 is not really important. The momentum equation spits out a vector equation. It's 1 equation if you consider the velocity as a 3-d vector, and 3 equations if you consider the velocity in its component form. It's purely a matter of perspective and taste. It's still the same momentum equation.

As an example, the momentum equations look like this when you expand all the summations. Yes this is the navier-stokes & not the RANS. The stress tensor and reynolds stress tensor are similar anyway and the difference is mainly in the effective viscosity. Despite there being 9 combinations of indices, you get only an x,y,z equations. There's no magic here, you just have to follow the rules for the notation being used.

Quote:
Originally Posted by IbizaFR View Post
Thank you.

Can you suggest a book with numerical schemes solving k and epsilon equations? Many of CFD books describe for example SIMPLE, SIMPLER, PISO etc algorithms but do not mention numerical methods for solving for example k-epsilon equations.
SIMPLE/SIMPLER/PISO is an approach for solving a different problem, the pressure-velocity coupling problem. In CFD the momentum equation gets a lot of attention because there's 1 momentum equation but two variables (pressure and velocity). This does not occur in standard advection-diffusion equations.

Other equations like energy, k, epsilon, etc. don't have this issue. All you need is some type of linear solver (i.e. solve Ax=b). You just need a way to solve this linear system. The dumb way is to invert A. Gauss-Seidel algorithm is another archetype.

Even when you execute the SIMPLE algorithm, you will use similar solvers to solve the individual pieces of the SIMPLE algorithm because the first step in SIMPLE is to solve the momentum equation with an assumed pressure field.
LuckyTran is offline   Reply With Quote

Old   July 31, 2019, 12:40
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I think that a brief observation is required in case of incompressible flows.

The eddy viscosity model is written for the deviatoric part of the tensor, the isotropic part (the trace) being incorporated into the "pressure".
From that you can write the three scalar equations
FMDenaro is offline   Reply With Quote

Old   August 1, 2019, 04:45
Default
  #7
New Member
 
Join Date: May 2019
Posts: 18
Rep Power: 7
bumper is on a distinguished road
Quote:
No that's not how it works. It's not one line of the stress tensor going into each equation, you'll find terms from other lines. 3 versus 1 is not really important. The momentum equation spits out a vector equation. It's 1 equation if you consider the velocity as a 3-d vector, and 3 equations if you consider the velocity in its component form. It's purely a matter of perspective and taste. It's still the same momentum equation.

As an example, the momentum equations look like this when you expand all the summations. Yes this is the navier-stokes & not the RANS. The stress tensor and reynolds stress tensor are similar anyway and the difference is mainly in the effective viscosity. Despite there being 9 combinations of indices, you get only an x,y,z equations. There's no magic here, you just have to follow the rules for the notation being used.
Okay, let's say we have an incompressible fluid and we ignore the gravitation, the last two summands of each of your equation is not needed anymore. Let"s talk about the component form that we are on the same level, for example just for the x-directon. If i do the RANS approach, i get the quation for x as you can see on the attachment. So if you look on the Reynolds Stress Tensor (first line), i find each entrie of the line in the RANS momentum eqaution for the x-direction. Why is it not one line of the Reynolds Stress Tensor going into each equation? Where do i have my thinking error?

Thanks for your help.
Attached Images
File Type: png Momentum_x.PNG (8.7 KB, 12 views)
bumper is offline   Reply With Quote

Old   August 1, 2019, 05:03
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I am not sure to understand the key of these doubts...In the eddy viscosity model, you substitute the full unknown tensor with the modelled tensor. One does not pretend to substitute each entry of the Reynolds tensor with a modelled entry.


At the end you have a term like this: Div(2*mu_total*S) being S the symmetric part of the velocity gradient with zero trace. Now, to get the contribution to one of the scalar momentum equations, just project the term along a direction ei

Last edited by FMDenaro; August 1, 2019 at 06:46.
FMDenaro is offline   Reply With Quote

Old   August 1, 2019, 06:16
Default
  #9
New Member
 
Join Date: May 2019
Posts: 18
Rep Power: 7
bumper is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
I am not sure to understand the key of these doubts...In the eddy viscosity model, you substitute the full unknown tensor with the modelled tensor. One does not pretend to substitute each entry of the Reynolds tensor with a modelled entry.

At the end you have a term like this: Div(2*mu_total*S) being S the dymmetric part of the velocity gradient with zero trace. Now, to get the contribution to one of the scalar momentum equations, just project the term along a direction ei
I want to know if the additonal expressions in the momentum equations that i get with the RANS-Approach are summarized in the Reynolds Stress Tensor.

Expressions in equation for x mometum: First line
Expressions in equation for y mometum: Second line
And so on...
bumper is offline   Reply With Quote

Old   August 1, 2019, 08:07
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by bumper View Post
I want to know if the additonal expressions in the momentum equations that i get with the RANS-Approach are summarized in the Reynolds Stress Tensor.

Expressions in equation for x mometum: First line
Expressions in equation for y mometum: Second line
And so on...



So, you are not interested to the eddy viscosity modelling but only on the unresolved Reynolds stress? In such case just consider that this tensor is nothing but as same as you have in the classical convective term Div (vv).

Along the x-direction you write i.Div (v'v'), along y j.Div (v'v') and so on (I did not write the averaging).


for example, the x component:


d/dx(u'u')+d/dy(v'u')+d/dz(w'u')
FMDenaro is offline   Reply With Quote

Old   August 1, 2019, 08:25
Default
  #11
New Member
 
Join Date: May 2019
Posts: 18
Rep Power: 7
bumper is on a distinguished road
Sure, i"m interested to the eddy viscosity modelling but i want to understand the Reynolds Stress tensor and the equations behind.

If the tensor is nothing but as same as you have in the classical convective term Div, i'm right with the lines of the Reynolds stress tensor and the equations of momentum, right?
bumper is offline   Reply With Quote

Old   August 1, 2019, 08:28
Default
  #12
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by bumper View Post
Sure, i"m interested to the eddy viscosity modelling but i want to understand the Reynolds Stress tensor and the equations behind.

If the tensor is nothing but as same as you have in the classical convective term Div, i'm right with the lines of the Reynolds stress tensor and the equations of momentum, right?



yes, the expression I wrote above is the same in the figure you posted
FMDenaro is offline   Reply With Quote

Old   August 1, 2019, 08:35
Default
  #13
New Member
 
Join Date: May 2019
Posts: 18
Rep Power: 7
bumper is on a distinguished road
To sum it up and to check if i unstand it in the right way, the Reynolds Stress Tensor is the summary of additonal entries which i get through the Reynolds-approach in the equations of momentum right?
bumper is offline   Reply With Quote

Old   August 1, 2019, 08:55
Default
  #14
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by bumper View Post
To sum it up and to check if i unstand it in the right way, the Reynolds Stress Tensor is the summary of additonal entries which i get through the Reynolds-approach in the equations of momentum right?

yes, is exactly as same expression as when you write the convective terms, that is d/dxi(u'i u'j).
FMDenaro is offline   Reply With Quote

Old   August 1, 2019, 08:57
Default
  #15
New Member
 
Join Date: May 2019
Posts: 18
Rep Power: 7
bumper is on a distinguished road
Perfect, than thanks a lot for your help
bumper is offline   Reply With Quote

Old   August 1, 2019, 09:22
Default
  #16
Member
 
E
Join Date: Mar 2018
Posts: 77
Rep Power: 8
IbizaFR is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
No that's not how it works. It's not one line of the stress tensor going into each equation, you'll find terms from other lines. 3 versus 1 is not really important. The momentum equation spits out a vector equation. It's 1 equation if you consider the velocity as a 3-d vector, and 3 equations if you consider the velocity in its component form. It's purely a matter of perspective and taste. It's still the same momentum equation.

As an example, the momentum equations look like this when you expand all the summations. Yes this is the navier-stokes & not the RANS. The stress tensor and reynolds stress tensor are similar anyway and the difference is mainly in the effective viscosity. Despite there being 9 combinations of indices, you get only an x,y,z equations. There's no magic here, you just have to follow the rules for the notation being used.



SIMPLE/SIMPLER/PISO is an approach for solving a different problem, the pressure-velocity coupling problem. In CFD the momentum equation gets a lot of attention because there's 1 momentum equation but two variables (pressure and velocity). This does not occur in standard advection-diffusion equations.

Other equations like energy, k, epsilon, etc. don't have this issue. All you need is some type of linear solver (i.e. solve Ax=b). You just need a way to solve this linear system. The dumb way is to invert A. Gauss-Seidel algorithm is another archetype.

Even when you execute the SIMPLE algorithm, you will use similar solvers to solve the individual pieces of the SIMPLE algorithm because the first step in SIMPLE is to solve the momentum equation with an assumed pressure field.

Thank you.
So lets take the k equation in k-epsilon model. Can we discretize this equation with standard schemes applied for convective-diffusive terms like
ADI and solve it for example with Gauss-Seidel or Jacobi?
IbizaFR is offline   Reply With Quote

Old   August 2, 2019, 11:02
Default
  #17
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,681
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by IbizaFR View Post
Thank you.
So lets take the k equation in k-epsilon model. Can we discretize this equation with standard schemes applied for convective-diffusive terms like
ADI and solve it for example with Gauss-Seidel or Jacobi?

Yes. Usually in CFD the advection terms are the trouble maker in terms of accuracy and stability, but specifically the advection term in the momentum equation (it's non-linear) is where all the attention goes. The advection terms in k and epsilon equations are linear with respect to k and epsilon and much easier to solve and give much fewer headaches. That's why we don't really talk about them much. If you can solve the much tougher momentum equation, the rest are easier.
LuckyTran is offline   Reply With Quote

Old   August 2, 2019, 11:40
Default
  #18
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by LuckyTran View Post
Yes. Usually in CFD the advection terms are the trouble maker in terms of accuracy and stability, but specifically the advection term in the momentum equation (it's non-linear) is where all the attention goes. The advection terms in k and epsilon equations are linear with respect to k and epsilon and much easier to solve and give much fewer headaches. That's why we don't really talk about them much. If you can solve the much tougher momentum equation, the rest are easier.



Well, actually there is a problem in the transport of k as it is assumed to be a non-negative variable and a monotonicity-preserving scheme should be properly used.
Hamidzoka likes this.
FMDenaro is offline   Reply With Quote

Old   August 2, 2019, 15:54
Default
  #19
Member
 
E
Join Date: Mar 2018
Posts: 77
Rep Power: 8
IbizaFR is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Yes. Usually in CFD the advection terms are the trouble maker in terms of accuracy and stability, but specifically the advection term in the momentum equation (it's non-linear) is where all the attention goes. The advection terms in k and epsilon equations are linear with respect to k and epsilon and much easier to solve and give much fewer headaches. That's why we don't really talk about them much. If you can solve the much tougher momentum equation, the rest are easier.
Can you suggest a scheme to solve it?
Thank you.
IbizaFR is offline   Reply With Quote

Old   August 3, 2019, 03:29
Default
  #20
New Member
 
Join Date: May 2019
Posts: 18
Rep Power: 7
bumper is on a distinguished road
I have an additional question about the turbulence modelling. For the calculation of the turbulent viscosity, you're going to solve differential equations for k and epsilon.



I found additional euqations for k and epsilon.

k = \frac{1}{2} \overline{u_i' u_i'} = \frac{1}{2} \left(\overline{u_x'^{2}} + \overline{u_y'^{2}} + \overline{u_z'^{2}} \right) = \frac{3}{2} \overline{u'^{2}}


\varepsilon=\frac{k^{3/2}}{l}


During the simulation, i think the differential euqations will be used for k and epsilon. But when and for what usage are the named equations for k and epsilon?
bumper 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 07:56
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
Problem with divergence TDK FLUENT 13 December 14, 2018 06:00
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 12:55
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37


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