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

mass diffusivity C_DIFF_L(c,t,i,j)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2008, 08:16
Default mass diffusivity C_DIFF_L(c,t,i,j)
  #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, 10:51
Default Re: mass diffusivity C_DIFF_L(c,t,i,j)
  #2
Belhadef
Guest
 
Posts: n/a
you can test

DEFINE_DIFFUSIVITY(alo,c,t,i) { return 12345; }

  Reply With Quote

Old   May 31, 2008, 16:00
Default Re: mass diffusivity C_DIFF_L(c,t,i,j)
  #3
pour
Guest
 
Posts: n/a
thanks , but I want to use binary diffusion Di,j not Di,m. I have four species in flow field as H2,O2,H2o,N2.
  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 pour FLUENT 1 May 29, 2008 08:15
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 01:48.