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

Problem with zero viscosity

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2010, 15:34
Exclamation Problem with zero viscosity
  #1
New Member
 
Join Date: Jun 2009
Posts: 11
Rep Power: 16
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:
#include"udf.h"
DEFINE_PROPERTY(viscosity_model,c,t)
{
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.
dfytanid is offline   Reply With Quote

Reply

Tags
viscoelastic, viscosity models, viscosity udf

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Complex problem: Open Channel Flow lett FLUENT 18 November 10, 2018 19:30
Eulerian Modeling: Frictional Viscosity Help meangreen FLUENT 1 January 25, 2018 16:13
Submerged fin, Convergence problem supermouniette FLUENT 10 July 6, 2009 11:47
VOF problem, liquid film thickness Pedro24 FLUENT 0 May 13, 2009 06:57
Periodic flow boundary condition problem sudha FLUENT 3 April 28, 2004 09:40


All times are GMT -4. The time now is 20:57.