|
[Sponsors] |
January 16, 2007, 23:25 |
udf help
|
#1 |
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 |
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 |
Guest
Posts: n/a
|
fabs means absolute value fabs(a) = | a |
|
|
January 18, 2007, 01:00 |
Re: udf help
|
#4 |
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 |
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 | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |