CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Zero viscosity udf-fluid??

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 14, 2010, 14:38
Angry Zero viscosity udf-fluid??
New Member
Join Date: Jun 2009
Posts: 11
Rep Power: 10
dfytanid is on a distinguished road
I run a simulation of 2D application using vof model and a udf for the viscosity but the fluid "acts" as a zero viscosity fluid. (flows very fast)
When i go to contours viscosity value is 0 for the second phase (which is the udf fluid).

Can anyone help me please?

The udf code is:
real mu_lam;
real strain_rate;
real to=80;
real mo=80; real m=1000;

strain_rate = C_STRAIN_RATE_MAG(c,t);
mu_lam = mo + to*(1-exp(-m*strain_rate))/strain_rate;
return mu_lam;

Thank you in advance.

(i post it here too, as udf questions it isnot the common practice sorry admin)
dfytanid is offline   Reply With Quote


viscosity models, viscosity udf

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - UDF for solid shear viscosity nbh2801 FLUENT 0 April 21, 2006 07:49
UDF (Turbulent viscosity) ROOZBEH FLUENT 1 January 25, 2004 17:17
Modification of turb. viscosity using UDF? moon FLUENT 4 October 2, 2003 11:19
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 13:09.