mass imbance calculation in fluent

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

 January 9, 2007, 14:27 mass imbance calculation in fluent #1 Asghari Guest   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;

 January 10, 2007, 03:08 Re: mass imbalance calculation in fluent #2 Asghari Guest   Posts: n/a Does following udf calculate mass imbalance in each cell? thread_loop_c (t,domain) { begin_c_loop(c,t) { int i=1; C_UDMI(c,t,4)=0.0; c_face_loop(c,t,i) { f=C_FACE(c,t,i); tf=C_FACE_THREAD(c,t,i); if(BOUNDARY_FACE_THREAD_P(tf)) { 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

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post mars21t FLUENT 4 March 27, 2011 09:52 apolloking Fluent UDF and Scheme Programming 0 March 20, 2011 12:40 perdita FLUENT 0 December 6, 2010 06:00 travikiran FLUENT 2 August 11, 2010 04:46 Amr FLUENT 6 February 23, 2006 07:36

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