|
[Sponsors] |
HELP: Divergence detected in AMG solver: pressure correction |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2017, 04:02 |
HELP: Divergence detected in AMG solver: pressure correction
|
#1 |
New Member
Khiew Chee Keong
Join Date: Mar 2017
Location: Malaysia
Posts: 4
Rep Power: 9 |
Hi everyone! I am facing this problem once I click calculate in Fluent simulation.
I plan to use fully developed velocity profile at my inlet of straight pipe so I tried to use UDF and the code is: #include "udf.h" #include "math.h" DEFINE_PROFILE(inlet_x_velocity, thread, index) { real x[ND_ND]; /* this will hold the position vector */ real y; real z; real a, n, d, Umax, Umean; face_t f; begin_f_loop(f, thread) /*loops over all faces in the thread passed in the DEFINE macro argument*/ { F_CENTROID(x,f,thread); y =x[1]; z =x[2]; n = 7; d = 0.797; /* m */ Umean = 1; /* m/s */ Umax = Umean*(((n+1)*(2*n+1))/(2*pow(n,2))); F_PROFILE(f, thread, index) = Umax*pow(1-sqrt(pow(y,2)+pow(z,2))/(d/2),(1/n)); } end_f_loop(f, thread) } However, when I click calculate, it appears "Divergence detected in AMG solver: pressure correction". May I know how to solve this problem? Thank you so much. |
|
Tags |
divergence detected, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence detected in AMG solver: ads-0 | Patrino | FLUENT | 6 | May 12, 2022 04:11 |
Divergence detected in AMG solver: pressure correction | emlejeen | FLUENT | 5 | December 15, 2016 00:47 |
Error: Divergence detected in AMG solver: pressure correction | wanna88 | FLUENT | 19 | April 6, 2016 03:57 |
Divergence detected in AMG solver: pressure coupled | n.jithin.1991 | FLUENT | 6 | January 5, 2014 12:43 |
Divergence detected in AMG solver | tiankongasd | FLUENT | 2 | March 28, 2013 13:34 |