CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   UDF for Herschel-Bulkely model (

emad June 2, 2009 12:49

UDF for Herschel-Bulkely model
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

laurentb June 17, 2009 09:33

#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);
return mu_lam;

emad June 20, 2009 02:54

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

laurentb June 22, 2009 02:02

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;

emad July 6, 2009 15:26

Dear Lauren
Meny Thanks for reply. I don't understand this term

the number 11.126 from where equation.

Many Thanks again fro help me

laurentb July 20, 2009 08:16

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

All times are GMT -4. The time now is 11:37.