# udf help

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 January 16, 2007, 23:25 udf help #1 brusly Guest   Posts: n/a hi all any one having boiling and condensation udf plz send me.my email id is brusly_solomon@yahoo.co.in thanx

 January 17, 2007, 04:15 Re: udf help #2 brusly Guest   Posts: n/a can any one tell me what is the meaning of this statement,specially fabs means source=-con*fabs(C_U(c,t))*C_U(c,t); thank you

 January 18, 2007, 00:40 Re: udf help #3 Sujith Guest   Posts: n/a fabs means absolute value fabs(a) = | a |

 January 18, 2007, 01:00 Re: udf help #4 brusly Guest   Posts: n/a thank u sujith i have interpretted one udf,it shows line1 parse error. the case and data files as well as the udf are in the same directory.my udf is #include "udf.h" DEFINE_EXCHANGE_PROPERTY(liq_gas_source,cell,threa d,liq_i,gas_i) { real m_lg; real T_SAT =373.15.; Thread *gas = THREAD_SUB_THREAD(thread,gas_i); Thread *liq = THREAD_SUB_THREAD(thread,lig_i); m_lg = 0.; if (C_T(cell,liq) >=T_SAT) { m_lg = -0.1*C_VOF(cell,liq)*C_R(cell,liq)*fabs(C_T(cell,li q)-T_SAT)/T_SAT; } if ((m_lg = = 0.)&&(C_T(cell,gas)<=T_SAT)) { m_lg = 0.1*C_VOF(cell,gas)*C_R(cell,gas)*fabs(T_SAT-C_T(cell,gas)/T_SAT; } return (m_lg); }

 January 18, 2007, 14:20 Re: udf help #5 Sujith Guest   Posts: n/a line1 parse error---can be due to a space in your file-path name. please avoid spaces in filenames

 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 Qureshi FLUENT 6 January 17, 2017 10:50 shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14 kim FLUENT 3 October 26, 2011 21:38 Luc SEMINEL FLUENT 0 November 25, 2002 05:03 Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

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

 Contact Us - CFD Online - Top