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

About non-Newtonian fluid convergence

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2013, 14:51
Default About non-Newtonian fluid convergence
  #1
New Member
 
yaohuang
Join Date: Apr 2013
Posts: 2
Rep Power: 0
alanhuang is on a distinguished road
Hello everyone,

I am dealing with a type of non-Newtonian fluid that is similar with power-law fluid.
Here is the code:

#include "udf.h"
DEFINE_PROPERTY(cell_viscosity, cell, thread)
{
real visco;
real mu;
real R;
R = C_STRAIN_RATE_MAG(cell,thread);
mu = 0.14*2.8284*pow(R,-0.56)-0.0018284;
if(mu > 0.001)
visco = mu;
else
visco = 0.001;
return visco;
}


The code is very simple but it shows"Divergence detected in AMG solver:x momentum Error" when it was used.

I thought it was the problem of initial viscosity, so I set the initial viscosity to be 0.001 but it doesn't work.

I am going to calculate the thermally fully developed nusselt number with B.C. of constant heat flux by using periodic method, can anyone give suggestions?

I would appreciate any kind of help.

Thank you,

Alan
alanhuang is offline   Reply With Quote

Old   November 22, 2013, 17:00
Default find the problem
  #2
New Member
 
yaohuang
Join Date: Apr 2013
Posts: 2
Rep Power: 0
alanhuang is on a distinguished road
At last i set the limitation of max viscosity, and it works.
Thanks for everyone who has reviewed this
alanhuang is offline   Reply With Quote

Reply

Tags
udf non-newtonian


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
FSI/MFX: resutls after using fluid mass flux to achieve convergence gogohusky CFX 4 May 23, 2012 06:08
wall slip law for newtonian fluid tsi07 FLUENT 0 April 19, 2012 12:13
Non newtonian fluid Jay FLUENT 0 January 4, 2005 21:56
My Revised "Time Vs Energy" Article For Review Abhi Main CFD Forum 2 July 9, 2002 09:08
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 17:46.