|
[Sponsors] |
January 2, 2023, 13:37 |
Divergence detected in AMG solver
|
#1 |
New Member
Rahmani Zakaria
Join Date: Dec 2022
Posts: 4
Rep Power: 3 |
Hi, I am simulating a 3D transient multiphase flow using the mixture model with 3 phases and the evaporation-condensation model (Lee model). After few iterations the calculation diverges and show this message:
temperature limited to 1.000000e+00 in 80 cells on zone 4 in domain 1 temperature limited to 1.000000e+00 in 313 cells on zone 4 in domain 1 Stabilizing temperature to enhance linear solver robustness. temperature limited to 5.000000e+03 in 377818 cells on zone 4 in domain 1 Stabilizing y-momentum to enhance linear solver robustness. Stabilizing z-momentum to enhance linear solver robustness. Stabilizing temperature to enhance linear solver robustness. temperature limited to 1.000000e+00 in 756903 cells on zone 4 in domain 1 temperature limited to 1.000000e+00 on 338 faces temperature limited to 5.000000e+03 on 6 faces Stabilizing x-momentum to enhance linear solver robustness. Stabilizing y-momentum to enhance linear solver robustness. Stabilizing z-momentum to enhance linear solver robustness. Stabilizing pressure correction to enhance linear solver robustness. Stabilizing temperature to enhance linear solver robustness. temperature limited to 1.000000e+00 in 1151916 cells on zone 4 in domain 1 temperature limited to 5.000000e+03 in 18 cells on zone 4 in domain 1 temperature limited to 1.000000e+00 on 133 faces reversed flow in 346 faces on outflow 7. Stabilizing x-momentum to enhance linear solver robustness. Stabilizing y-momentum to enhance linear solver robustness. Stabilizing z-momentum to enhance linear solver robustness. Stabilizing temperature to enhance linear solver robustness. temperature limited to 5.000000e+03 in 18 cells on zone 4 in domain 1 temperature limited to 1.000000e+00 on 39 faces reversed flow in 262 faces on outflow 7. Stabilizing x-momentum to enhance linear solver robustness. Stabilizing y-momentum to enhance linear solver robustness. Stabilizing z-momentum to enhance linear solver robustness. Stabilizing temperature to enhance linear solver robustness. Stabilizing temperature using GMRES to enhance linear solver robustness. Divergence detected in AMG solver: temperature Error at host: floating point exception |
|
January 11, 2023, 12:19 |
|
#2 |
New Member
Andrew
Join Date: Dec 2022
Posts: 29
Rep Power: 3 |
There can be a lot of different reasons for divergence, and it's very dependent on your model. If you search "temperature divergence" on this forum, you'll find a lot of threads with good replies that should help you troubleshoot. I can't summarize them all here, but some common things to to try would be:
- Evaluate the mesh quality (orthogonality, skewness). Try to keep max. skewness below 0.95, and average skewness around 0.33 or less. Best practice is also to keep minimum orthogonal quality above 0.1, and average values as close to 1 as possible. Improve the mesh if necessary. - Refine the mesh to smaller elements. If there's specific regions where divergence begins, try refining at these locations first. - Lower your timestep - Try adding more iterations per timestep to better converge each timestep, and/or lower URFs a bit. For temperature divergence, i've found that lowering the energy URF (down to maybe 0.5 or 0.1) is a good place to start. I don't recommend lowering it too much more than this though. - Check that your standard state enthalpy values for your phases are correct for each material |
|
January 11, 2023, 14:44 |
|
#3 |
New Member
Rahmani Zakaria
Join Date: Dec 2022
Posts: 4
Rep Power: 3 |
Thanks sir,
I have another question; the domain is filled with Hydrogen and Ammonia liquid enters the domain with T=26C and P=25bar. When Ammonia becomes in contact with hydrogen its partial pressure and temperature drops to P=1bar and T=-33C (according to Dalton's law) and the evaporation of ammonia begins. The question how to do that in Ansys Fluent supposed this drop in pressure and temperature results automatically. |
|
January 11, 2023, 15:28 |
|
#4 |
New Member
Andrew
Join Date: Dec 2022
Posts: 29
Rep Power: 3 |
What is the mechanism that causes the ammonia's partial pressure and temperatures to drop? Is it a reaction with the hydrogen, or a result of saturation conditions? I'm not sure about this without more information
|
|
January 11, 2023, 16:09 |
|
#5 |
New Member
Rahmani Zakaria
Join Date: Dec 2022
Posts: 4
Rep Power: 3 |
We have a mixture of Hydrogen and Ammonia; the total pressure is 25bar. The presence of hydrogen plays its role to reduce the partial pressure of ammonia in the evaporator according to Dalton’s law and to allow ammonia to evaporate.
T_saturation = -33C (P=1bar) |
|
Tags |
evaporation, lee model, mixture, multiphase flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PEMFC model with FLUENT | brahimchoice | FLUENT | 22 | April 19, 2020 16:44 |
Divergence detected in AMG solver: pressure correction | xinquanzhoucn | FLUENT | 5 | July 21, 2014 05:49 |
Floating point error and divergence detected | aannjj | FLUENT | 0 | July 2, 2013 04:44 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 07:58 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 12:34 |