CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

AMG solver divergence - pressure correction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2017, 07:21
Default AMG solver divergence - pressure correction
  #1
New Member
 
Pedro Machado
Join Date: Dec 2017
Posts: 2
Rep Power: 0
Pedron is on a distinguished road
Hello guys. I am simulating the terminal velocity of particles in power-law fluid. For this, I'm trying to implement a drag UDF, as you can see attached. I've been using the UDF in fluent help to write mine, using the same language, changing only the drag model itself, however, I try to use it, either by interpreting it, or by compiling it (opening fluent at the VS 2012 prompt) and I get this error message "divergence amg solver pressure correction" at firts iteraction. Could someone help me? I've already tried to chance my relaxation factors but with no success.

This is the message error:


My UDF:
#include <udf.h>


DEFINE_DPM_DRAG(particle_drag_force,Re,p)
{
real w, drag_force;
w = log10(Re);
if (0.01 < Re <= 20){
drag_force = ((24/Re)*(1+pow(10,-0.881+0.82*w-0.06*pow(w,2))));
return (drag_force);
}
else if (20 < Re <= 260){
drag_force = ((24/Re)*(1+pow(10,-0.7133+0.6305*w)));
return (drag_force);
}
else if (260 < Re <=1500){
drag_force = pow(10,1.6435-1.1242*w+0.1558*w*w);
return (drag_force);
}
else if (1500 < Re <= 12000){
drag_force = pow(10,-2.4571+2.5558*w-0.9295*w*w+0.1049*w*w*w);
return (drag_force);
}
else if (12000 < Re < 44000){
drag_force = pow(10,-1.9181+0.6370*w-0.0636*w*w);
return (drag_force);
}
else if (44000 < Re < 338000){
drag_force = pow(10,-4.3390+1.5809*w-0.1546*w*w);
return (drag_force);
}
}
Pedron is offline   Reply With Quote

Old   December 15, 2017, 17:54
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Check initial conditions and boundary conditions.
LuckyTran is offline   Reply With Quote

Old   December 16, 2017, 06:25
Default
  #3
New Member
 
Pedro Machado
Join Date: Dec 2017
Posts: 2
Rep Power: 0
Pedron is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Check initial conditions and boundary conditions.
Hello LuckyTran, thanks for your reply.
My simulation basically consists of injecting a particle at some point in the mesh and letting it flow to its speed terminal, so I've not configured in an initial or boundary condition. I've already did this test with a newtonian liquid and the results were very good, averaging 2% difference with data obtained experimentally. So, what boundary condition should I set?
Pedron is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Divergence detected in AMG solver Mina_Mbg FLUENT 5 May 9, 2018 04:04
Two Phase Flow In Vertical Pipe stonepreston FLUENT 2 October 31, 2017 08:35
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 16:08
Divergence detected in AMG solver: pressure correction aja1345 FLUENT 2 August 11, 2015 15:31
Divergence detected in AMG solver: pressure correction jimmer FLUENT 2 August 7, 2010 06:47


All times are GMT -4. The time now is 14:40.