|
[Sponsors] |
March 3, 2021, 11:06 |
epsilon as implicit term in kEqn's
|
#1 |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15 |
I have remarked that in several turbulence models where the turbulent kinetic energy is solved, the dissipation term appears as:
Code:
- fvm::Sp(alpha*rho*epsilon_/k_, k_) and I was wondering the reason behind this piece of code. ¿Does it give some stability? As far as I see, if all the left input is constant, it means that the contribution of epsilon on the equation will be affected by the factor k_calculated/k. ¡Thank you for your answers! |
|
March 3, 2021, 12:02 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 669
Rep Power: 14 |
Yes, stability is the reason I believe. Remember that for the source term linearisation, you must ensure that Su is positive and Sp negative in order to preserve stability (check out Patankar's book, for example). Here we have a term, and so we cannot put it into Su, but instead put it into Sp ... but that means that the Sp coefficient must be since the linearised source is .
|
|
March 3, 2021, 12:52 |
|
#3 |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15 |
So, do you think this is the best way to introduce the dissipation rates on turbulence models?
|
|
March 3, 2021, 13:01 |
|
#4 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 669
Rep Power: 14 |
Yes. Indeed, I think it is the only way to do it without risking instability.
Okay, well strictly speaking if you have other Su source terms with positive coefficients you could try implement a scheme where you put part of the dissipation term in Su (making sure that Su stayed positive) and put the rest in Sp ... but I don't see any benefit from doing that, and it's certainly a lot of work. |
|
March 3, 2021, 13:21 |
|
#5 |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15 |
What disturbs me in this approach is that in the k equation you should the dissipation term as , where the k on the numerator changes as solving the equation. It means that in certain regions this dissipation term might be larger than the existing epsilon value (as it is multiplied by a factor ).
This method helps to ensure stability but I find it not so physical because of this factor. Last edited by agustinvo; March 4, 2021 at 06:32. Reason: LaTeX |
|
March 3, 2021, 13:28 |
|
#6 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 669
Rep Power: 14 |
||
March 4, 2021, 06:34 |
|
#7 | |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15 |
Quote:
Indeed, specially when running steady state simulations as me... I had a look on Patankar's book and I found what you meant about the source terms... I will revise my implementations! I actually had some other divergence problems, and they might be caused by this... Thank you! |
||
March 4, 2021, 06:54 |
|
#8 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 669
Rep Power: 14 |
My pleasure! Glad to be of help.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Implicit term in the continuity equation | pod | OpenFOAM Running, Solving & CFD | 3 | March 29, 2019 13:07 |
Implicit source term and porousInterFoam | Andrea_85 | OpenFOAM Programming & Development | 0 | August 30, 2013 04:30 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 15:45 |
Extra term in Epsilon equation | Valdemir G. Ferreira | Main CFD Forum | 0 | April 30, 2000 08:57 |
bouyancy term in epsilon equation | Michael | Main CFD Forum | 1 | June 25, 1999 10:20 |