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

UDF for Herschel-Bulkely model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2009, 12:49
Unhappy UDF for Herschel-Bulkely model
  #1
New Member
 
emad khazal
Join Date: Mar 2009
Posts: 23
Rep Power: 17
emad is on a distinguished road
Dear All
I would to used Herschel-Bulkely model but my model don't have Yielding Viscosity. Can be any body help me to use model in Fluent for Herschel-Bulkely model only don't have the Yielding Viscosity term. Please, If any body have UDF for Herschel-Bulkely model send me.
Many Thanks for help me
Emad
emad is offline   Reply With Quote

Old   June 17, 2009, 09:33
Default
  #2
Member
 
laurentb's Avatar
 
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 16
laurentb is on a distinguished road
#include "udf.h"
#include "mem.h"
DEFINE_PROPERTY(cell_viscosity, cell, thread)
{
real mu_lam;
real K=134.0;
real A=0.17;
real gamma;
real strain=C_STRAIN_RATE_MAG(cell, thread);
if(strain==0)
{
gamma=11.126;
}
else
{
gamma=strain;
}
mu_lam=K*pow(gamma,(A-1));
return mu_lam;
}
laurentb is offline   Reply With Quote

Old   June 20, 2009, 02:54
Default
  #3
New Member
 
emad khazal
Join Date: Mar 2009
Posts: 23
Rep Power: 17
emad is on a distinguished road
Dear Lauren
Meny Thanks for reply. But I have some quations what mean terms K and A, I thanks the Herschel-Bulkley model have fluid yield stress where this term in your eqation. I would like to send me all terms with definetion.

Emad A.
My e-mail Emad_ab74@yahoo.com
emad is offline   Reply With Quote

Old   June 22, 2009, 02:02
Default
  #4
Member
 
laurentb's Avatar
 
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 16
laurentb is on a distinguished road
A power law index, K consistency
add the yield stress in the definition of mu_lam
mu_lam=K*pow(gamma,(A-1)) + yield_stress/gamma;
laurentb is offline   Reply With Quote

Old   July 6, 2009, 15:26
Default
  #5
New Member
 
emad khazal
Join Date: Mar 2009
Posts: 23
Rep Power: 17
emad is on a distinguished road
Dear Lauren
Meny Thanks for reply. I don't understand this term
if(strain==0)
{
gamma=11.126;

the number 11.126 from where equation.

Many Thanks again fro help me
emad is offline   Reply With Quote

Old   July 20, 2009, 08:16
Default
  #6
Member
 
laurentb's Avatar
 
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 16
laurentb is on a distinguished road
i don't know exactly but it will be better to write something like
if strain < strain_min then mu_lam=mu_min
if strain > strain_max then mu_lam=mu_max
laurentb 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
DO radiation method, non-gray band model, UDF wouter Fluent UDF and Scheme Programming 5 March 23, 2017 22:03
Can Fluent Import New Turbulence Model By UDF? Andy Cong FLUENT 4 March 25, 2016 13:14
The problem of UDF in Non premixed combustion model zhangyuan Main CFD Forum 0 May 25, 2009 09:41
Using UDF to model bubble growing in a Fluid Daniel Ofori FLUENT 0 September 6, 2006 16:44
help; UDF of VOF model Jay FLUENT 1 March 5, 2005 00:00


All times are GMT -4. The time now is 16:55.