CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

FLUENT received fatal signal (ACCESS_VIOLATION)

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2002, 13:23
Default FLUENT received fatal signal (ACCESS_VIOLATION)
Posts: n/a
Hi,everyone. I met a error when I want to initialize, as follows:

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: ()

Why? I think maybe the error is aroused due to my UDF,because all will ok if I canceled my UDF. Below is my UDF. Where is wrong? Please someone tell me.

#include "udf.h" #include "sg.h"

#define D 5e-8 #define K 3.98e-6

DEFINE_PROFILE(wall_C, fthread ,position) {

face_t f;

real r[ND_ND];

real A[ND_ND];

real ds;

real es[ND_ND];

real A_by_es;

real dr0[ND_ND];

real dcdr;

Thread *tc0;

cell_t c0;



c0=F_C0(f,fthread); /* returns ID for c0*/

tc0=THREAD_T0(fthread);/*returns the cell thread for c0 */

NV_V(r, =, C_T_G(c0,tc0));





end_f_loop(f,fthread) }

  Reply With Quote

Old   October 14, 2002, 22:04
Default Re: FLUENT received fatal signal (ACCESS_VIOLATION
Posts: n/a
I got the same problem and I think that is coused by my UDF.

I am modeling the water evaporation from a wet cylinder using FLUENT. To solve the problem, I constructed a UDF that calculate the heat of vaporization in the cylinder surface as a function of the water flux. The UDF compile correctly and It appears in the boundary conditions panel. It is called " heat_vaporization" and it is used to set the thermal condition on the wall " New_wall". I chose it on the wall ("New wall) panel and then, proceeded to initialize before starting the iteration. However, FLUENT reported an error and it was not possible to initialize.

the UDF is :

# include "udf.h"

DEFINE_HEAT_FLUX(heat_vaporization, f, t, co, to, cid, cir) {

int i = 0;

real yf = F_YI(f, t, i);

real yc = C_YI(co, to, i); real density_face = F_R(f, t); real density_cell = C_R(co, to); real Df = 0.0000258; real density; real mass_flux; real Cface[ND_ND]; real Ccell[ND_ND]; real Diff[ND_ND];

real ds;

density = (density_face + density_cell) / 2;

F_CENTROID(Cface, f, t);

C_CENTROID(Ccell, co, to);

NV_VV(Diff, =, Cface, -, Ccell);

ds = NV_MAG(Diff);

mass_flux = Df * (yf - yc) / ds * density;

cid[0] = 314563 * mass_flux;

cid[2] = -236 * mass_flux;


I will let you know if I can solve the problem.
  Reply With Quote

Old   July 1, 2010, 08:35
Smile slip velocity
New Member
Join Date: Jun 2010
Location: beij,chongqing,Chengdu
Posts: 22
Rep Power: 15
wangguobin14 is on a distinguished road
Send a message via ICQ to wangguobin14 Send a message via MSN to wangguobin14
#include "udf.h"
#define b 5.0e-5
cell_t c;
double du_dy;
Thread *tc;
face_t f;
c=F_C0(f,thread);/*获得边界处相邻网格C0的cell index*/
tc=THREAD_T0(thread);/*获得C0的cell thread*/
/* C_U_G(c,cell_thread)[1]*/
come out with the same question !SOS
wangguobin14 is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Surface Ship Flow timfranke OpenFOAM Running, Solving & CFD 322 March 3, 2021 09:04
FLUENT received fatal signal (ACCESS_VIOLATION) CHAKER FLUENT 4 December 11, 2015 03:20
Problems in lauching FLUENT Lourival FLUENT 3 January 16, 2008 16:48
fatal signal (ACCESS_VIOLATION) manu FLUENT 0 December 10, 2007 06:10
FLUENT received fatal signal (ACCESS_VIOLATION) samy FLUENT 0 November 10, 2007 13:09

All times are GMT -4. The time now is 23:50.