|
[Sponsors] |
April 15, 2006, 11:18 |
UDF Error at initialization
|
#1 |
Guest
Posts: n/a
|
Hi all,
I am studying UDF,I have a problem doing a example of UDF hlep,there is not erroe in compiling ,but do not run when I initialize a solution (Solve->Initialize->Initialize...). How to do with? Thank you for your advice, Atsu ---------------------------------------------------------------- ---------------------------------------------------------------- Stack backtrace generated for process id 11933 on signal 1 : Please include this information with any bug report you file on this issue! ---------------------------------------------------------------- ---------------------------------------------------------------- cfluent.6.2.16[0x85a5bff] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16[0x85a5a92] /lib/i686/libpthread.so.0[0xd49097] /lib/i868/libc.so.6[0x37c898] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(Chip_Exec_C+0x10b)[0x85c5b3b] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(Density+0x68c)[0x81aa26c] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16{Get_Thread_Derived_Variables+0x33e3)[0x83d30d3] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(eval+0xb6f)[0x85d24b6] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(eval+0xb6f)[0x85d24b6] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(eval+0xd4a)[0x85d2691] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(eval+0xf0b)[0x85d2852] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16[0x85d2aca] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(eval_errprotect+0x41)[0x85d2b7b] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(eval+0xb6f)[0x85d24b6] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(eval+0x2f3)[0x85d1c3a] /usr/local/Fluent.Inc/fluent6.2.16/lnx86/2d/fluent.6.2.16(eval+0x102a)[0x85d2971] Error: fluent.6.2.16 received a fatal signal (SEGMENTATION VIOLATION). Error Object: #f |
|
April 15, 2006, 13:32 |
Re: UDF Error at initialization
|
#2 |
Guest
Posts: n/a
|
Hi again,
It is one of my UDFs. Thank you, Atsu #include "udf.h" DEFINE_PROPERTY(test, cell, thread) { real rho; /* density [kg/m3] */ real ln_temp = C_T(cell,thread); /* temperature [K] */ if(ln_temp<115){ /* liquid */ rho = 854.5 + 3.1392 * pow(ln_temp,1) + (-0.047445) * pow(ln_temp,2); } else { /* vaper */ rho = 2910.9 + (-45.206) * pow(ln_temp,1) + 0.18021 * pow(ln_temp,2); } return rho; } |
|
April 16, 2006, 18:16 |
Re: UDF Error at initialization
|
#3 |
Guest
Posts: n/a
|
First do the initialization and than compile and hook up the UDF.
|
|
April 17, 2006, 22:40 |
Re: UDF Error at initialization
|
#4 |
Guest
Posts: n/a
|
Hi Marijo,
Thank you very much for your comment. Atsu |
|
|
|
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 |
initialization species UDF | louiza | FLUENT | 7 | November 26, 2009 04:56 |
UDF sucessfully interpreted initialization error | duaiduaihu | FLUENT | 0 | May 11, 2009 22:18 |
UDF initialization | Sam | FLUENT | 1 | May 21, 2002 09:23 |