CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF for Herschel-Bulkely model (https://www.cfd-online.com/Forums/fluent-udf/65059-udf-herschel-bulkely-model.html)

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"
{
real mu_lam;
real K=134.0;
real A=0.17;
real gamma;
if(strain==0)
{
gamma=11.126;
}
else
{
gamma=strain;
}
mu_lam=K*pow(gamma,(A-1));
return mu_lam;
}

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.

 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;

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

 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 14:47.