|
[Sponsors] |
FLUENT received fatal signal (ACCESS_VIOLATION) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 31, 2007, 18:58 |
FLUENT received fatal signal (ACCESS_VIOLATION)
|
#1 |
Guest
Posts: n/a
|
Hi I am new to writing UDFs'. I have written UDF to model the thermoelectric coolers. It's interpreting fine but when I am initializing, it's giving 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: ()
Can anyone tell me what is the problem. Here is the UDF I have written. #include "udf.h" #define alpha 1e-4 #define I 0.5 #define resistivity 0.001 #define conductivity 6.7 #define height 10e-6 #define length 50e-6 #define width 50e-6 #deinfe area 2.5e-9 #define R_th 597 #define Re 4 real temp_c; real temp_h; real avg_temp_c; real avg_temp_h; DEFINE_HEAT_FLUX(Cooling, f,t,c0, t0, cid, cir) { real count=0; temp_c=0; begin_f_loop(f,t) { temp_c=temp_c + F_T(f,t); count++; } end_f_loop(f,t) avg_temp_c=temp_c/count; cid[0]= - (0.5*I*I*Re + avg_temp_h/R_th); cid[2]=-(alpha*I + 1/R_th ); } DEFINE_HEAT_FLUX(heating, f,t,c0, t0, cid, cir) { real count=0; temp_h=0; begin_f_loop(f,t) { temp_h=temp_h + F_T(f,t); count++; } end_f_loop(f,t) avg_temp_h=temp_h/count; cid[0]= alpha*I*avg_temp_c + 0.5*I*I*Re + avg_temp_c/R_th; cid[2]= 1/R_th ; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free Surface Ship Flow | timfranke | OpenFOAM Running, Solving & CFD | 322 | March 3, 2021 10:04 |
FLUENT received fatal signal (ACCESS_VIOLATION) | CHAKER | FLUENT | 4 | December 11, 2015 04:20 |
Problems in lauching FLUENT | Lourival | FLUENT | 3 | January 16, 2008 17:48 |
fatal signal (ACCESS_VIOLATION) | manu | FLUENT | 0 | December 10, 2007 07:10 |
FLUENT received fatal signal (ACCESS_VIOLATION) | samy | FLUENT | 0 | November 10, 2007 14:09 |