CFD Online Logo CFD Online URL
Home > Forums > FLUENT

mass imbance calculation in fluent

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

LinkBack Thread Tools Display Modes
Old   January 9, 2007, 14:27
Default mass imbance calculation in fluent
Posts: n/a
Hi all;

How to compute mass imbalance in fluent?

Has anybody access to a udf for calculation of mass imbalance and send it for me ?

Thanks in advance;

  Reply With Quote

Old   January 10, 2007, 03:08
Default Re: mass imbalance calculation in fluent
Posts: n/a
Does following udf calculate mass imbalance in each cell?

thread_loop_c (t,domain)




int i=1;







face_flux=F_FLUX(f,tf) ;

} else{

if(F_C0(f,tf)==c) {

face_flux =F_FLUX(f,tf); /*method is first order upwind*/


else {

face_flux =-F_FLUX(f,tf);

} } }

C_UDMI(c,t,4)=C_UDMI(c,t,4)+face_flux ;



end_c_loop(c,t) }

Thank's in advance
  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
Automatically start new calculation after the one before is completed? (FLUENT 12.1) mars21t FLUENT 4 March 27, 2011 09:52
Help,I have some questions about UDF of mass diffusivity in fluent apolloking Fluent UDF and Scheme Programming 0 March 20, 2011 12:40
fluent definitions for mass fractions perdita FLUENT 0 December 6, 2010 06:00
is it possible to solve mass transfer problems in FLUENT travikiran FLUENT 2 August 11, 2010 04:46
Setting Mass and Energy sources in fluent Amr FLUENT 6 February 23, 2006 07:36

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