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

Fluent15: received a fatal signal (Segmentation fault)

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2014, 16:21
Default Fluent15: received a fatal signal (Segmentation fault)
New Member
Chenguang Li
Join Date: Sep 2011
Posts: 15
Rep Power: 14
lcg44 is on a distinguished road
Hi all,
I just don't know why I meet this error once I begin to run a multiphase case with UDF.
The case could run well in Fluent 13.
So strange....
Please help me.

lcg44 is offline   Reply With Quote

Old   June 13, 2014, 03:32
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
I also don't know why you got this error.
I tried to look at your UDF to see what can be causing the problem, but since you did not include the UDF in your question, I can only guess.

So: Maybe there is a typo in line 8 of you udf?

Did this help you?
pakk is offline   Reply With Quote

Old   October 19, 2014, 19:32
Join Date: Sep 2013
Posts: 40
Rep Power: 12
Tleja is on a distinguished road
My case is Fluidized bed in 2D. I have to patch Zone of solid before simulation.

I also meet the same error "Error: received a fatal signal (Segmentation fault)"
while i begin to run a multiphase(2 mixture phase:solid,gas) with reaction.Not including UDF file

But i have already set my case in 3D. It's ok.

I don't know why i can only set the same setting in 3D Fluidized bed.

Please help me know
Tleja is offline   Reply With Quote

Old   August 29, 2016, 08:06
Default Segmentation fault
New Member
Join Date: May 2012
Posts: 6
Rep Power: 14
s.m.saad jamil is on a distinguished road
I am trying to add the source term in the momentum equation and epsilon equation. but when i am trying to run the simulation it is showing fatal error/ segmentation fault. My UDF is
# include "udf.h"
# include "mem.h"
# define domain_ID 1

DEFINE_ADJUST(adjust_gradient, domain)
Thread *t;
cell_t c;
face_t f;
real temp_gradient_y, vel_gradient, di,k;
domain = Get_Domain(1);
temp_gradient_y = C_T_RG(c,t)[1];
/* first iteration OR option to store gradients not turned on */
temp_gradient_y = 0.0;
/* Fill UDS with the variable. */
thread_loop_c (t,domain)
begin_c_loop (c,t)
C_UDSI(c,t,0) = C_U(c,t);
C_UDSI(c,t,1) = C_K(c,t);
C_UDSI(c,t,2) = C_D(c,t);
end_c_loop (c,t)

begin_f_loop (f,t)
F_UDSI(f,t,0) = F_U(f,t);
F_UDSI(f,t,1) = F_K(f,t);
F_UDSI(f,t,2) = F_D(f,t);
end_f_loop (f,t)

thread_loop_c (t,domain)
begin_c_loop (c,t)
vel_gradient = C_UDSI_G(c,t,0)[1];
C_UDMI(c,t,1) = vel_gradient;
k = C_UDSI(c,t,1);
C_UDMI(c,t,2) = k;
di = C_UDSI(c,t,2);
C_UDMI(c,t,3) = di;
end_c_loop (c,t)
real x[ND_ND];
real source;
source= 1418000*(C_T(c,t)-1.5);
dS[eqn]= 0.0;
return source;
real x[ND_ND];
real souurce;
souurce= -(C_UDMI(c,t,0)*C_UDMI(c,t,1)*C_UDMI(c,t,2)*C_UDMI( c,t,2)*64448.1)/C_UDMI(c,t,3);
printf("temp_gradient:%g\n", C_UDMI(c,t,0));
printf("vel_gradient:%g\n", C_UDMI(c,t,1));
dS[eqn]= (C_UDMI(c,t,2)*C_UDMI(c,t,2)*64448.1*C_UDMI(c,t,0) *C_UDMI(c,t,1))/(C_UDMI(c,t,3)*C_UDMI(c,t,3));
return souurce;

Please help me Pakk.
s.m.saad jamil is offline   Reply With Quote

Old   August 29, 2016, 12:19
Senior Member
Join Date: May 2010
Posts: 245
Rep Power: 17
duri is on a distinguished road
I couldn't notice any bug or uninitialized variable in the code. Are you sure all user defined memory are allocated before running the code?
duri 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
How to remove the error:FLUENT received a fatal signal (SEGMENTATION VIOLATION). Conan FLUENT 9 December 20, 2019 12:31
VOF model error:Cortex received a fatal signal (SEGMENTATION VIOLATION) Sdezmond Fluent Multiphase 4 July 20, 2017 03:03
fluent 13.0.0 received a fatal signal (SEGMENTATION VIOLATION)) alinik FLUENT 1 January 9, 2014 10:21
FLUENT received fatal signal (ACCESS_VIOLATION) osamaghani FLUENT 2 March 31, 2012 16:15
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16

All times are GMT -4. The time now is 08:15.