|
[Sponsors] |
Received a fatal signal (Segmentation fault) with UDF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 25, 2017, 03:17 |
Received a fatal signal (Segmentation fault) with UDF
|
#1 | ||
Member
Join Date: Oct 2014
Posts: 43
Rep Power: 12 |
Dear all,
Here is a error when iterates with UDF to solve extra transport equations of UDS. The error is Quote:
Quote:
Thanks in advance. Shan Last edited by lisa_china; April 25, 2017 at 08:41. |
|||
April 25, 2017, 08:49 |
|
#2 | |
Member
Join Date: Oct 2014
Posts: 43
Rep Power: 12 |
Quote:
Code:
DEFINE_UDS_FLUX(mfFlux,f,t,i) { real NV_VEC(psi),NV_VEC(A); NV_D(psi,=,F_U(f,t),F_V(f,t),F_W(f,t)); NV_S(psi,*=,F_R(f,t)); F_AREA(A,f,t); return NV_DOT(psi,A); //printf("no error!\n"); } I still wanna know why with the DEFINE_UDS_FLUX it doesn't work. Could anybody help me? Thanks for any reply. Shan |
||
June 30, 2017, 04:07 |
Received a fatal Signal ( Segmentation fault )
|
#3 |
Member
|
Hi everyone !
I hope you are fine. I am using UDF in VOF model in ANSYS FLUENT, although, my VOF model without UDF is running fine. The UDF is written by my friend used it successfully. He has graduated last year after getting the results from same UDF. The UDF was working well on his server. He was using Fluent 6.3 on Linux system. When I am using same case, date and UDF on my laptop the case is not running, although UDF compilation is very fine. I also check it on Linux system too. During or after initialization, Error occurred segmentation fault error. It is very strange that same case and UDF is not working on his office now. Main error occurred when I am hooking ADJUST and EXECUTE-AT-END UDFs. May be there is some problem of writing/calling style is different in Windows and Linux system with 32bit and 64bit. ( this is just my opinion). I hope you can understand the situation and have a try to fix the problem. I would be highly thankful if you guide me that where is the problem. I can send UDF by email if needed.. Thanks in Advance, Regards, M. F. ALi |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault when execute on demand udf | lion1990 | Fluent UDF and Scheme Programming | 5 | June 30, 2017 04:03 |
Error: udf received a fatal signal(segmentation fault) | BIANBOSHEN | Fluent UDF and Scheme Programming | 2 | February 8, 2017 04:54 |
fatal signal segmentation fault in a UDF | hares | FLUENT | 6 | January 21, 2017 04:26 |
error: FLUENT received fatal signal (ACCESS_VIOLATION) | ehsan105 | Fluent UDF and Scheme Programming | 9 | April 15, 2016 07:03 |
FLUENT received fatal signal (ACCESS_VIOLATION) | osamaghani | FLUENT | 2 | March 31, 2012 17:15 |