CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   segmentation violation: define on demand (http://www.cfd-online.com/Forums/fluent/78775-segmentation-violation-define-demand.html)

spring August 2, 2010 09:23

segmentation violation: define on demand
 
Hey guys,

I have a problem with reading data into a variable with a define_on_demand UDF. The error message that I get when I try to "execute it on demand" is the following one:
================================================== ============================
Stack backtrace generated for process id 26263 on signal 1 :
/ansys_inc/v121/fluent/fluent12.1.2/lnamd64/3ddp/fluent.12.1.2[0x12c759d]
/ansys_inc/v121/fluent/fluent12.1.2/lnamd64/3ddp/fluent.12.1.2[0x12c7aa3]
/lib64/libpthread.so.0[0x3a5400e930]
/lib64/libc.so.6(_IO_vfscanf+0x64)[0x3a53453634]
/lib64/libc.so.6(fscanf+0x88)[0x3a5345ee28]
libudf/lnamd64/3ddp/libudf.so(field_data+0x75)[0x2b4fada7b469]
Check the file fluenterror.log for details.
Please include this information with any bug report you file on this issue!
================================================== ============================
Error: fluent.12.1.2 received a fatal signal (SEGMENTATION VIOLATION).
Error Object: #f

In an another thread with nearly the same problem I read, that the problem was solved by increasing the variable where the values should be saved. So when I did the same it worked, then the next day it didn't work then it worked and after that it didn't work, didn't work, didn't work......I am really confused because I didn't change anything in my UDF. It seems that Fluent is acting very arbitrarily. Does anybody of you understand the error message and can tell me what it means.

Thanx in advance!
regards,
spring

mila_oliv July 27, 2012 14:37

hey Spring,

by this time you've already solved your problem, i imagine....
I'm receiving this message too, can you tell me where was this information that helped you once?

thanks!


All times are GMT -4. The time now is 01:12.