CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF for turbulence model implementation (https://www.cfd-online.com/Forums/fluent/133224-udf-turbulence-model-implementation.html)

marluc April 12, 2014 02:30

UDF for turbulence model implementation
 
Hallo,

I have just written a UDF for the AKN model (Abe-Kondoh-Nagano).
I tested it for a channel flow, a backward facing step and a ribbed duct.
Upon reaching a convergent solution with a k-e model with enhanced wall treatment I switch off the calculation of the turbulence transport equations and, after initialization of the UDS, I solve for their transport equations, in order to compute the user-defined turbulent viscosity to use in the momentum equations.

My problem is when I first start with the UDS because I often get AMG solver divergence at the first iteration. So I first set the URF to very low values and solve for each UDS separately and without the momentum equations activated. Then I start increasing the URF and later I activate the flow calculation as well.

I am wondering if someone has the same problem when dealing with UDS for a user defined turbulence model.
Furthermore, when using the AKN model implemented in Fluent I can keep the default URF for momentum, k and e and the calculation converges. Does someone have an explanation for this? (actually Fluent and I should solve the same equations!)

Thank you in advance for your answers.
L.

vcvedant July 10, 2017 18:12

Hello Luca,

Though this is an old post but were you able to get the solution to the problem. I face similar issue with AKN model.

Thanks


All times are GMT -4. The time now is 10:57.