CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Process xxxx: received signal SIGSEGV; The fl process could not be started

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2018, 04:26
Default Process xxxx: received signal SIGSEGV; The fl process could not be started
  #1
New Member
 
Someeee
Join Date: Dec 2017
Posts: 4
Rep Power: 8
Someeee is on a distinguished road
Hello. I am trying to simulate the dynamic movement of a valve in response to flow velocity. My UDF is as attached. However, after compiling the udf, when I run the simulation, I immediately received an error saying 'Process xxxx: received signal SIGSEGV; The fl process could not be started'. I have attached my code here. Any suggestions would be highly appreciated. Thanks in anticipation
Someeee is offline   Reply With Quote

Old   October 31, 2018, 04:32
Default
  #2
New Member
 
Someeee
Join Date: Dec 2017
Posts: 4
Rep Power: 8
Someeee is on a distinguished road
My code is as follow:

#include "udf.h"
DEFINE_PROFILE(iv, thread, position)
{
face_t f;
float t = CURRENT_TIME;
begin_f_loop(f,thread)
{
F_PROFILE(f, thread, position)= 0.75*sin(8.491*t);
}
end_f_loop(f, thread)
}

DEFINE_CG_MOTION(valve1, dt, vel, omega, time, dtime)
{
float a = 0;
float b = 0;
float i = 0;
float M = 0;
float t = CURRENT_TIME;
Thread *t_object;
real CG[3],force[3],moment[3];
Domain *d;
d= Get_Domain(1);

while(t >=0.0 && t <= 0.8)
{
again:
Compute_Force_And_Moment (d,t_object,CG,force,moment,TRUE);
M = moment[0] + moment[1] + moment[2];
if ( (M/0.000000008)-b > 0.0005)
{
b = b + 0.01*((M/0.000000008)-b);
a = a + (b*0.0004);
omega[1] = omega[1] + a*0.0004;
goto again;
}
else
{
t = (i + 1)*0.0004;
}

}
}
Someeee is offline   Reply With Quote

Reply


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
fluentError: received a fatal signal (Segmentation fault). thomaszhangjing Fluent UDF and Scheme Programming 11 January 13, 2021 09:37
rhoSimpleFoam time step continuity errors deepbandivadekar OpenFOAM Running, Solving & CFD 2 September 13, 2018 05:50
Error: Fluent process could not be started Clem FLUENT 1 November 26, 2015 13:23
FLUENT received fatal signal (ACCESS_VIOLATION) osamaghani FLUENT 2 March 31, 2012 16:15


All times are GMT -4. The time now is 01:49.