|
[Sponsors] |
Problem in convergence regarding constant viscosity and UDF related Viscosity. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2016, 09:43 |
Problem in convergence regarding constant viscosity and UDF related Viscosity.
|
#1 |
New Member
Alex Skerhut
Join Date: Mar 2016
Posts: 10
Rep Power: 10 |
Hey!
I am defining a shear and temperature dependent viscosity as a user defined function in Fluent but the code diverges since the value of strain rate is used in denominator and at initial iterations the strain rate will be low which will lead to large fluctuations and hence divergence of the solution according to me. I wish to run the simulation at constant viscosity for few iterations and then shift to the viscosity defined by UDF taking the final iterations value of constant viscosity simulations as initial conditions( mainly strain rate) for viscosity defined by UDF. When I run the simulations at constant viscosity the solution converges with the message "Divergence detected - temporarily relaxing and trying again...". The initial message that comes is # Divergence detected in AMG solver: pressure coupled -> Decreasing coarsening group size! # Divergence detected in AMG solver: pressure coupled -> Increasing relaxation sweeps! # You may try the enhanced divergence recovery with (rpsetvar 'amg/protective-enhanced? #t) I am not able to understand the origin of the divergence. In initial simulations there was no such errors but now this error is occurring and I am unable to understand the origin of this error. I have kept the under-relaxation factor for energy as 0.9 and Explicit Relaxation factor for pressure as 0.2. Solution methods are coupled scheme, Least squared cell based gradient, standard for pressure and second order upwind for momentum and energy. Thanks for the help in advance. |
|
Tags |
convergence fluent, convergence problems, udf code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem UDF for Turbulen viscosity | fevi84 | Fluent UDF and Scheme Programming | 2 | June 25, 2017 19:25 |
problem when I interpret my UDF for granular viscosity | spanish | Fluent UDF and Scheme Programming | 7 | June 11, 2015 11:40 |
UDF diffusivity: problem with contour | Lilly | Fluent UDF and Scheme Programming | 0 | August 4, 2014 04:28 |
Problem with using UDF to modify viscosity | teethfish | Fluent UDF and Scheme Programming | 9 | May 20, 2013 05:16 |
UDF using problem, error happens-heip!! | Michael | FLUENT | 1 | December 9, 2008 08:51 |