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

mass diffusivity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2008, 12:46
Default mass diffusivity
  #1
pour
Guest
 
Posts: n/a
Hi all I am using binary diffusion model , I use DEFINE_DIFFUSIVITY to enter mass diffusivity, but I recieve this error: DOMAIN_MULTICOMP_DIFF: undeclared variable my udf is :

#include "udf.h" DEFINE_DIFFUSIVITY(uds_diff,c,t,i) { real d; C_DIFF_L(c,t,0,1)= 12345; d = C_DIFF_L(c,t,0,1); return d; }

How I must use C_DIFF_L(c,t,i,j)in udf?

thanks

  Reply With Quote

Old   May 29, 2008, 08:15
Default Re: mass diffusivity
  #2
pour
Guest
 
Posts: n/a
Hi all I am using binary diffusion model , I use DEFINE_DIFFUSIVITY to enter mass diffusivity, but I recieve this error: DOMAIN_MULTICOMP_DIFF: undeclared variable. my udf is :

#include "udf.h" DEFINE_DIFFUSIVITY(uds_diff,c,t,i) { real d; C_DIFF_L(c,t,0,1)= 12345; d = C_DIFF_L(c,t,0,1); return d; }

How I must use C_DIFF_L(c,t,i,j)in udf?

thanks

  Reply With Quote

Reply


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
mass diffusivity in FLUENT fadhil majnis FLUENT 10 January 29, 2017 02:59
define mass diffusivity for each zone kim FLUENT 1 October 17, 2011 21:36
mass diffusivity C_DIFF_L(c,t,i,j) pour FLUENT 2 May 31, 2008 16:00
mass diffusivity saghir FLUENT 2 July 17, 2006 08:01
mass diffusivity Amanda FLUENT 1 September 11, 2001 21:19


All times are GMT -4. The time now is 13:10.