variable definition and it's gradient
Posted: Mon Dec 23, 2013 5:20 pm
Dear CS team,
I am simulating a turbulent flow using k-epsilon model. I wanted to define an extra variable (ev) which I derive from k and epsilon. Later, I must compute gradient of this (ev) variable in order to add it as a source term in k and epsilon equation.
I was wondering how shall I define this variable so that I can use grdcel subroutine? As this subroutine need coefficients (coefa, coefb etc.).
Any suggestions please, if that sounds out of scope
Thanks in advance for your time.
Vilas
I am simulating a turbulent flow using k-epsilon model. I wanted to define an extra variable (ev) which I derive from k and epsilon. Later, I must compute gradient of this (ev) variable in order to add it as a source term in k and epsilon equation.
I was wondering how shall I define this variable so that I can use grdcel subroutine? As this subroutine need coefficients (coefa, coefb etc.).
Any suggestions please, if that sounds out of scope

Thanks in advance for your time.
Vilas