CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Question about C_UDMI use

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

Like Tree1Likes
  • 1 Post By NPat

LinkBack Thread Tools Display Modes
Old   February 17, 2013, 18:09
Smile Question about C_UDMI use
New Member
Join Date: Sep 2012
Posts: 11
Rep Power: 7
NPat is on a distinguished road
Hi friends,

I've had some questions about the use of C_UDMI for UDF coding. I've tried to interpret the following codes in FLUENT (two separate files):

#include "udf.h"

DEFINE_ADJUST(teste, domain)
Thread *t;
cell_t c;

thread_loop_c(t, domain)
begin_c_loop_all(c, t)
C_UDMI(c,t,0) = 1.;
end_c_loop_all(c, t)

#include "udf.h"

DEFINE_MASS_TRANSFER(mass_exchange_3, cell, thread, from_index,from_species_index, to_index, to_species_index)
real m_lg;
m_lg = C_UDMI(cell, thread, 0);
return (m_lg);

I don't have any problem interpreting this functions, but when I ran it in FLUENT I checked the mass transfer rate and I got 0.0. Moreover, in post processing the value of C_UDMI is also 0.0. There is any problem whith these codes?

Please, help me with this issue...
djn likes this.
NPat is offline   Reply With Quote

Old   February 17, 2013, 19:10
New Member
Join Date: Sep 2012
Posts: 11
Rep Power: 7
NPat is on a distinguished road

I already solved this problem. Thank you!

NPat is offline   Reply With Quote


fluent, mass transfer, udf, udmi

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
Question Re Engineering Data Source imnull ANSYS 0 March 5, 2012 14:51
internal field question - PitzDaily Case atareen64 OpenFOAM Running, Solving & CFD 2 January 26, 2011 16:26
question on bounday layer modeling Wen Long Main CFD Forum 2 November 12, 2005 18:29
Poisson Solver question Suresh Main CFD Forum 3 August 12, 2005 04:37
Philosophical CFD question Richard Howe Main CFD Forum 14 June 17, 2001 14:41

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