Because Fluent is a commercial code, it is not always good to use the default turbulence model inside for research purposes. To define an omega equation based turbulence model, in Fluent, we can choose the k omega model, define our own user defined scalar (UDS) transport equations, and then solve the newly defined transport equations instead of the default k omega model. The k and omega values are also necessary to be copied back to the default k and omega field, because the momentum and energy equation needs the value of k and turbulent viscosity (computing the unknown Reynolds stress) as well.

So, my first question is, is there anyone has done similar things before?

I managed to write an UDF to define all necessary UDS, boundary conditions, and initialization, but I find the k and omega jump to negative values in some region of the flow field. Linearization of the source term, limiters for k and omega may help, but I don't exactly know how to do it. So, my second question is, how to deal with the solution divergence when using UDS k and omega equations.

My ultimate goal is to define all k omega based turbulence models, such as SST, and γ-Reθ SST.

Similar questions and discussions