CFD Online Logo CFD Online URL
Home > Forums > FLUENT

help, a problem about C_UDSI_M1

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

LinkBack Thread Tools Display Modes
Old   June 8, 2012, 03:12
Default help, a problem about C_UDSI_M1
New Member
Join Date: Jun 2012
Posts: 1
Rep Power: 0
huntergold is on a distinguished road
Hello, guys, I am modeling adsorption bed, and have to calculate the adsorption mass as:q(n)=q(n-1)+k*(C-q(n-1))*dt, the code is:

Thread *t;
cell_t c;
real physical_dt;
C_UDSI(c,t,q_ads)=C_UDSI_Ml(c,t,q_ads)+0.001*physi cal_dt*(0.5-C_UDSI_Ml(c,t,q_ads));

but there is an error:
C_UDSI_Ml: undeclared variable

could anyone help me? thank you very much!
huntergold is offline   Reply With Quote

Old   September 30, 2012, 17:02
New Member
Join Date: Sep 2012
Posts: 28
Rep Power: 7
er.mkumar is on a distinguished road
I think there is a typo error the macro for getting property in previous time-step is C_UDSI_M1(c,t,0) and not C_UDSI_Ml(c,t,0).
er.mkumar is offline   Reply With Quote


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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52

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