|
[Sponsors] |
error: "Divergence detected in AMG solver: temperature" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 23, 2014, 09:50 |
error: "Divergence detected in AMG solver: temperature"
|
#1 |
New Member
milad
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
hi all, im working on a 3D transient project with UDF and imgetting this error,
Divergence detected in AMG solver: temperature and with some changes in afew time steps i get my continuty divergent may its bcoz of my UDF? why is that? |
|
December 1, 2014, 12:11 |
|
#2 |
Senior Member
Join Date: Nov 2010
Posts: 103
Rep Power: 16 |
Usually "Divergent dete..." error occurs due to the coarse or highly skewed mesh as well as large time step. You can check these two first and then post your UDF here to see if something is wrong with that.
cheers! |
|
December 3, 2014, 05:29 |
|
#3 |
New Member
milad
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
tnx buddy
|
|
December 22, 2014, 04:14 |
|
#4 |
New Member
Rishitosh Ranjan
Join Date: Dec 2012
Location: Trichirapalli, Tamilnadu, India
Posts: 22
Rep Power: 14 |
hello,
I m working on a 2D conduction problem with UDF and i m getting same error, "Divergence detected in AMG solver: temperature" just bcoz of my UDF!! why is that? Dis is my udf being used for boundary condition: #include "udf.h" #include "metric.h" #include "math.h" #define pie 3.14 /*pie value*/ #define Ttran 560 /*trasitional temperature*/ #define e 2.71828 /*value of e*/ #define A 0.70 /*absorptivity*/ #define P 600 /*peak power of laser*/ DEFINE_PROFILE(ht_flx_tp_srf, t, i) { real x[ND_ND]; real I, T, qc, hc; real em = 0.4; real Tamb = 300; real r = 200e-6; face_t f; begin_f_loop(f, t) { F_CENTROID(x, f, t); I = A*(P / (2 * pie*pow(r, 2)))*pow(e, -(pow(x[0], 2) / (2 * pow(r, 2)))); /*due to this line I m getting dis error*/ T = F_T(f, t); hc = (24.1e-4)*em*pow(T, 1.61); qc = hc*(T - Tamb); F_PROFILE(f, t, i) = I-qc; } end_f_loop(f, t) } plz take me out of this prblm... Thank you.. with reegards. |
|
December 22, 2014, 09:34 |
|
#5 |
Senior Member
Join Date: Nov 2010
Posts: 103
Rep Power: 16 |
I am not sure and but worth a shot...rename the "e" to something else or simply use the value itself instead of an argument.
|
|
December 22, 2014, 11:44 |
|
#6 |
Member
Join Date: Jul 2013
Posts: 80
Rep Power: 13 |
Use monitors to check the values of your profile. In that of cases, there are not any errors in the code itself, but it passes unrealistic values to the solver of Fluent, which may take into a divergence of the solution.
In your example, imagine that you are giving to your case a wall heat flux of 10^20 W/m2. That will lead into an error for sure. Check the values and use monitors or messages in the TUI. And use M_PI instead of #define pie 3.14: it is poor programming. Cheers |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[openSmoke] libOpenSMOKE | Tobi | OpenFOAM Community Contributions | 562 | January 25, 2023 10:21 |
Error: Divergence detected in AMG solver: x-momentum/ epsilon/ temperature | bubuchacha | FLUENT | 6 | February 26, 2013 04:30 |
" Divergence detected in AMG solver: temperature" | Suman | FLUENT | 4 | September 11, 2009 10:31 |
AMG solver _divergence detected | Shamoon | FLUENT | 6 | March 11, 2009 08:59 |
Error: divergence detected in AMG solver | Yash | FLUENT | 2 | December 2, 2008 11:12 |