|
[Sponsors] |
February 26, 2016, 06:57 |
Fatal signal in fluent 6.3.26
|
#1 |
New Member
scool
Join Date: Feb 2016
Posts: 5
Rep Power: 10 |
Hi,
I uses the Fluent 6.3.26 and when I want hooking (UDF DEFINE_ON_DEMAND) in " Execute on Demand " menu,This error occurs. Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: () in my UDF I want to Eliminate the values of negative pressures in Zone Fluid domain. can you guid me. |
|
February 26, 2016, 08:07 |
|
#2 | |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
Quote:
|
||
February 26, 2016, 09:10 |
Fatal signal in fluent 6.3.26
|
#3 |
New Member
scool
Join Date: Feb 2016
Posts: 5
Rep Power: 10 |
this is my UDF
/*********************************************/ #include "udf.h" /* ************************************************** ************/ DEFINE_ON_DEMAND(pressure_adjust) { /************************************************** *************/ Domain *domain; Thread *t; cell_t c; /* Define a cell variable */ face_t f; /* Define a cell face variable */ int ID=4; /* Integer “4” is the fluid domain number, */ real x[ND_ND]; domain=Get_Domain(1); /************************************************** ********/ thread_loop_c(t,domain) { begin_c_loop(c,t) { if (C_P(c,t)<0) /* If the pressure within the fluid domain is smaller than 0 Pa, switch it back to 0 Pa */ {C_P(c,t)=0;} } end_c_loop(c,t) } thread_loop_f(t,domain) { begin_f_loop(f,t) { if (F_P(f,t)<0) {F_P(f,t)=0;} } end_f_loop(c,t) } } /************************************************** *************/ |
|
February 26, 2016, 10:59 |
|
#4 | |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
Quote:
if (Zone_ID ==4) in addition to that, what is the physical meaning of a non negative pressure? any reason for that? can you explain a bit more of your problem? |
||
February 26, 2016, 12:58 |
Fatal signal in fluent 6.3.26
|
#5 | |
New Member
scool
Join Date: Feb 2016
Posts: 5
Rep Power: 10 |
Quote:
this problems exists in the hydrodynamic lubrication (Journals and Thrusts Bearings). can you execut this UDf for me in your PC , and look if you have this ERROR thanks. |
||
July 24, 2017, 03:08 |
|
#6 |
Member
Masoud Ravan
Join Date: May 2016
Location: Tehran
Posts: 59
Rep Power: 10 |
Hi
I have the same problem, then I found that the problem is [Get_Domain] by running the code line by line...but I don't know what is the problem with this function...!!! Did you solve your problem? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FLUENT received fatal signal (ACCESS_VIOLATION) | sirpolar | Fluent UDF and Scheme Programming | 2 | December 23, 2014 08:24 |
Fluent Error: fatal signal received (Segmentation fault) | gopalkrishnan | FLUENT | 0 | December 16, 2014 02:37 |
FLUENT received fatal signal (ACCESS_VIOLATION) | natantyt | Fluent UDF and Scheme Programming | 7 | February 8, 2014 15:07 |
FLUENT received fatal signal (ACCESS_VIOLATION) | vaibhavraikhare | FLUENT | 0 | August 4, 2011 02:51 |
Fluent received fatal signal (ACCESS_VIOLATION) | sravan451 | Fluent UDF and Scheme Programming | 5 | May 11, 2011 00:37 |