CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Turbulent Viscosity UDF

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2006, 07:45
Default Turbulent Viscosity UDF
Posts: n/a
hi, everyone, I work with the cavitation model in Fluent (diphasique model, mixture), I like modifier the turbulent viscosity by UDF. I compile the UDF in FLUENT with no problem, but when I start calculating, FLUENT gives me this: Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: () Here is my little UDF: #include "udf.h" DEFINE_TURBULENT_VISCOSITY(mu_t_ke, c ,t) { real mu_t; real rho = C_R(c,t); real k = C_K(c,t); real d = C_D(c,t); real cmu = M_keCmu; real vof = C_VOF(c,t); mu_t = vof*1000*cmu*k*k/d; return mu_t; } I thing that the problem is the vof , what can I do? Thank you very much
  Reply With Quote

Old   January 20, 2006, 12:51
Default Re: Turbulent Viscosity UDF
Posts: n/a
Hi; I think that your problem follows from the use of C_VOF(c,t) macro. What version of FLUENT do you use? I could not use this macro with 6.0 version successfuly, but I can with 6.1 or 6.2 version. For more informations, look at FLUENT6.1 or 6.2 UDF manual. There is a UDF describing mass transfer through boiling. Do you want to model cloud cavitation? A turbulent model modification proposed by reboud et. al. exists that utilizes each phase density instead of volume fraction. I have applied this modification with success. Best regards,

  Reply With Quote

Old   January 23, 2006, 04:04
Default Re: Turbulent Viscosity UDF
Posts: n/a
Hi, Yes, I want to model cloud cavitation with the modification proposed by reboud et. al. But I use the last version of Fluent (6.2.16) and the problem continue. What can I do?
  Reply With Quote


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
turbulent viscosity in k-e model orlik Fluent UDF and Scheme Programming 1 July 19, 2017 12:27
Turbulent viscosity and shear rate shib FLUENT 0 June 22, 2010 12:44
UDF of Turbulent viscosity justin FLUENT 0 November 24, 2006 06:36
Turbulent Viscosity - Floating Point Error Johnny B FLUENT 1 November 26, 2003 08:42
Modified turbulent viscosity Christoph Oehy CFX 4 April 27, 2000 22:06

All times are GMT -4. The time now is 23:25.